ado-mcp CLAUDE.md

Project-specific instructions for developing the ado-mcp Python tool, covering project context, code structure, tests, reliability, and completion rules.

In plain words
What is it for?
Use them when working in ado-mcp to inspect tasks, follow its file layout, run Python through the specified virtual environment, and create tools according to its workflow.
Why use it?
They tell the coding agent which project files and conventions to follow, reducing inconsistent changes and missed project requirements.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/raboley/ado-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/raboley/ado-mcp
Per session 1,716 This file is loaded in full into every session.
When invoked 1,716 The same file โ€” it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01716 $0.01716
Opus 5 $0.00858 $0.00858
Sonnet 5 $0.00343 $0.00343
Haiku 4.5 $0.00172 $0.00172

Measured 2d ago against content hash dd9563e10021, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ado-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories โ€” prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency โ€” measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md ยท 143 lines

How it starts

The opening of the file, as written. The whole thing โ€” 143 lines โ€” stays where its author put it; the contents beside it link to each section on GitHub.

๐Ÿ”„ Project Awareness & Context

  • Check the tasks/ folder at the start of a new conversation to understand current project requirements, PRDs, and active tasks.
  • Check CONTRIBUTING.md when working on tasks.
  • Use consistent naming conventions, file structure, and architecture patterns as established in the codebase.
  • Use venv_linux (the virtual environment) whenever executing Python commands, including for tests.
  • Read NEW_TOOL_WORKFLOW.md when asked to create a new tool

๐Ÿงฑ Code Structure & Modularity

  • Never create a file longer than 500 lines of code. If a file approaches this limit, refactor by splitting it into modules or helper files.
  • Organize code into clearly separated modules, grouped by feature or responsibility. For agents this looks like:
    • agent.py - Main agent definition and execution logic
    • tools.py - Tool functions used by the agent
    • prompts.py - System prompts
  • Use clear, consistent imports (prefer relative imports within packages).
  • Use clear, consistent imports (prefer relative imports within packages).
  • Use python_dotenv and load_env() for environment variables.
  • Use logging module to add observability Any errors must include all relevant execution context so an llm can fix it.

๐Ÿงช Testing & Reliability

  • Always create Pytest end to end tests for new features that a user can experience.
  • Only create end to end tests using actual data and real connections - black box test how a user would test.
  • ALWAYS use task test to run tests - never run pytest directly. This ensures proper environment variables are sourced.
  • Tests run in parallel by default using pytest-xdist for faster execution (~15s vs 80s):
    • Use task test for parallel execution (default)
    • Use task test-sequential for debugging when you need sequential execution
    • Use task test-single TEST_NAME=path::to::test for individual test execution
  • Tests require ADO credentials - AZURE_DEVOPS_EXT_PAT and ADO_ORGANIZATION_URL must be set via Taskfile.
  • FastMCP converts Pydantic models to dictionaries - tests should expect dictionary responses, not Pydantic objects.
  • Dedicated test pipelines are pre-created for pipeline run tests to avoid create/delete overhead.
  • After updating any logic, check whether existing unit tests need to be updated. If so, do it. use task test to ensure everything still works
  • Tests should live in a /tests folder mirroring the main app structure.
  • Pytest fixture imports: When using pytest fixtures like telemetry_setup, always import them even if they appear "unused" to linters. The pyproject.toml is configured to allow F401 (unused imports) and F811 (fixture redefinitions) in test files.
  • NEVER use mocking in tests.
    • Include at least:
      • 1 test for expected use
      • 1 edge case
      • 1 failure case
      • 1 test to ensure tools and resources are added to the mcp server.

Read the full file on GitHub ยท 143 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen ยท 143 lines ยท 1,716 tokens per session scan A dd9563e10021

Subscribe to this mod's changes

ado-mcp CLAUDE.md is an instructions file published in the GitHub repository raboley/ado-mcp (0 stars, last pushed 1y ago), licensed MIT. It adds 1,716 tokens to every session, about $0.0086 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ€” add a new integration in 5 steps, integration architecture and integrationmanifest โ€” file tracking.

github/spec-kit ยท 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,296 tokens