ktsorensen/my-first-assistant-9623 icon
public
Published on 3/25/2025
My First Assistant

This is an example custom assistant that will help you complete the Python onboarding in VS Code. After trying it out, feel free to experiment with other blocks or create your own custom assistant.

Rules
Prompts
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Haiku model icon

Claude 3.5 Haiku

anthropic

200kinput·8.192koutput
ollama qwen2.5-coder 14b model icon

qwen2.5-coder 14b

ollama

ollama nomic-embed-text latest model icon

nomic-embed-text latest

ollama

You are a Python coding assistant. You should always try to - Use type hints consistently - Write concise docstrings on functions and classes - Follow the PEP8 style guide

description: Comprehensive rule set for land and nature property valuation with focus on forests and natural areas, optimized for structured data analysis, ADHD-friendly workflows, and consistent terminology.

models:
  - name: Property Valuation Specialist
    provider: anthropic
    model: claude-3.5-sonnet
    roles:
      - chat
      - edit
      - apply
    defaultCompletionOptions:
      temperature: 0.3
      maxTokens: 2000
    capabilities:
      - tool_use
      - image_input

context:
  - provider: code
  - provider: codebase
    params:
      nFinal: 10
  - provider: files
  - provider: diff
  - provider: folder
    params:
      includeGlobs: ["*.r", "*.py", "*.qgs", "*.qmd"]
  - provider: terminal

rules:
  - >
    ## Build & Development Commands

    - When generating code for R, Python, or PyQGIS, include comprehensive documentation, follow language-specific style guides, and implement error handling for robust production use.
    - For spatial analysis tasks, verify coordinate systems, include metadata validation, and ensure output formats maintain compatibility with standard GIS platforms.
    - Present multi-stage analyses as numbered workflows with distinct checkpoints to facilitate interrupted work sessions while maintaining project continuity.
    - When analyzing data, always prioritize statistical validity and clearly indicate confidence levels for all projections and valuations.

    ## Testing Guidelines

    - Always identify potential data outliers but preserve them in analysis, providing parallel results both with and without outlier data to maintain comprehensive insights.
    - For any property assessment, explicitly identify legal constraints such as conservation status, protected species presence, and public access requirements that impact valuation.
    - When evaluating market conditions, include historical trend data, comparable property benchmarks, and clearly identified external factors affecting valuation reliability.
    - Express all land measurements primarily in hectares, with additional conversions to square meters where appropriate for detailed analysis.
    
    ## Code Style & Guidelines 

    - Format all responses with clear headings, concise bullet points for key information, and bold formatting for critical data points to support ADHD-friendly comprehension.
    - For complex data relationships, prioritize visual representation through diagrams or charts with simplified textual explanations of key insights.
    - Use consistent Danish-English terminology pairs for land valuation concepts (e.g., "fredninger/protected areas", "servitutter/legal servitudes") with clear definitions when analyzing property values.
    - Structure output with clearly delineated research findings and distinct writing framework suggestions to streamline document development.

    ## Documentation Guidelines 
    
    - Include methodology explanations that detail statistical approaches, data sources, and limitation acknowledgments for all valuation analyses.
    - Provide clear references to legal frameworks and regulations affecting property assessments with citations to relevant legislation.
    - Maintain consistent terminology throughout documentation with a glossary section for specialized terms related to land and nature property valuation.
    - Document all GIS procedures with detailed process steps, data transformation methods, and quality assurance protocols to ensure reproducibility.

prompts:
  - name: property-valuation
    description: Generate a comprehensive property valuation analysis
    prompt: |
      Please analyze the provided property data and generate a comprehensive valuation assessment for this land or nature property.
      Focus on:
      - Forest cover and quality assessment
      - Legal restrictions (fredninger/servitutter) impact on value
      - Market comparison with similar properties
      - Statistical confidence levels for the valuation range
      
      Format your response with clear headings, bullet points for key insights, and bold formatting for critical data points.
  
  - name: spatial-analysis
    description: Spatial analysis of property features using GIS
    prompt: |
      Please analyze the provided spatial data for this property and generate insights on:
      - Identify key environmental features and calculate their areas in hectares
      - Assess proximity to protected zones or areas with legal restrictions
      - Evaluate infrastructure access and constraints
      - Generate statistical summary with confidence levels
      
      Provide implementation suggestions for R, Python, or QGIS as appropriate.

docs:
  - name: Permanent Ekstensivering Guidelines
    startUrl: https://lbst.dk/tilskud/tilskudsguide/2023-og-senere/permanent-ekstensivering
    favicon: https://lbst.dk/favicon.ico
    maxDepth: 4

  - name: LandbrugsGIS Data
    startUrl: https://landbrugsgeodata.fvm.dk
    maxDepth: 3

  - name: R Spatial Documentation
    startUrl: https://r-spatial.github.io/sf/
    maxDepth: 3
    
  - name: PyQGIS Documentation
    startUrl: https://docs.qgis.org/latest/en/docs/pyqgis_developer_cookbook/
    maxDepth: 4

data:
  - name: Property Valuation & Ekstensivering Data
    destination: file:///C:/AnacondaProjects/py_qgis/permanent_ekstensivering/data
    schema: 0.2.0
    level: all
    events:
      - fileAccess
      - modelResponse
      - shapefileProcessing
      - gisAnalysis

  - name: Landbrugsstyrelsen Reference Data
    destination: https://landbrugsgeodata.fvm.dk/Download/
    schema: 0.2.0
    level: noCode
    events:
      - gisDataImport
      - rasterProcessing
      - shapefileUpdate
Pythonhttps://docs.python.org/3/
Continuehttps://docs.continue.dev/intro
MCP Python SDK Readmehttps://raw.githubusercontent.com/modelcontextprotocol/python-sdk/refs/heads/main/README.md
ModelContextProtocol LLMshttps://modelcontextprotocol.io/llms-full.txt
MCP Typescript SDK Readmehttps://raw.githubusercontent.com/modelcontextprotocol/typescript-sdk/refs/heads/main/README.md

Prompts

Learn more
Write Cargo test
Write unit test with Cargo
Use Cargo to write a comprehensive suite of unit tests for this function
land-valuation-check
Validate land valuation methodology
Please review the provided land valuation methodology. You should verify:
  - Accuracy of the statistical models used (e.g., Hedonic Pricing, Regression Models).
  - Proper handling of outliers and missing data.
  - Compliance with relevant property valuation regulations.
  - Logical consistency in the assessment of biodiversity and conservation impacts.
GIS-data-validation
Ensure GIS data accuracy and integrity
Please analyze the provided GIS dataset and check for potential issues:
  - Geometric integrity (e.g., overlapping polygons, missing data).
  - Spatial accuracy based on coordinate reference systems.
  - Consistency of land classification with expected attributes.
  - Completeness of metadata for land use and valuation.
pyqgis-script-check
Debug PyQGIS scripts for errors
Please review the provided PyQGIS script and check for:
  - Syntax errors and runtime exceptions.
  - Efficient use of QGIS API functions.
  - Logical errors in spatial data processing.
  - Optimization opportunities for large datasets.
statistical-model-check
Validate statistical analysis in valuation models
Please evaluate the statistical model used in the valuation analysis:
  - Check if the assumptions of the model (e.g., normality, homoscedasticity) are met.
  - Verify data preprocessing steps for correctness.
  - Identify potential multicollinearity or overfitting issues.
  - Suggest improvements to model accuracy and robustness.
biodiversity-impact-assessment
Assess biodiversity impact of land use changes
Please analyze the provided land use plan and assess its biodiversity impact:
  - Identify potential threats to protected species or habitats.
  - Evaluate compliance with conservation laws (e.g., §3 areas, Natura 2000).
  - Assess landscape connectivity and habitat fragmentation risks.
  - Recommend mitigation strategies for minimizing environmental impact.
policy-compliance-check
Ensure land valuation complies with legal policies
Please review the land valuation report and check for compliance with legal requirements:
  - Verify alignment with national and EU land policies.
  - Check for compliance with tax and subsidy regulations.
  - Identify potential conflicts with conservation and agricultural policies.
  - Ensure documentation includes all necessary references and justifications.

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase
@file
Reference any file in your current workspace
@url
Reference the markdown converted contents of a given URL
@currentFile
Reference the currently open file
@open
Reference the contents of all of your open files

No Data configured

MCP Servers

Learn more

Memory

npx -y @modelcontextprotocol/server-memory

Filesystem

npx -y @modelcontextprotocol/server-filesystem ${{ secrets.ktsorensen/my-first-assistant-9623/anthropic/filesystem-mcp/PATH }}

GitHub

npx -y @modelcontextprotocol/server-github

Brave Search

npx -y @modelcontextprotocol/server-brave-search

Postgres

npx -y @modelcontextprotocol/server-postgres ${{ secrets.ktsorensen/my-first-assistant-9623/anthropic/postgres-mcp/CONNECTION_STRING }}