agentleFS
oaslanankaoaslananka/kicad-mcp-pro/integrations/AGENTS.md

kicad-mcp-pro / integrations

AGENTS.md117 starsChanged 5 months agoMITView on GitHub

These instructions apply to integrations/** and supplement the repository root AGENTS.md. More specific instructions may exist for an individual runtime. This subtree contains runtime-specific MCP configuration examples, installers, validation helpers, and optional client plugins. It adapts KiCad MCP Pro to external agent/IDE configuration formats; it must not invent a second MCP capability or security model. Keep these surfaces aligned when they describe the same behavior: Do not assume different runtimes share the same config schema. Preserve each client's native format…

The file

We split this AGENTS.md into the rules it gives an agent

12 rules. About 1 is common, 9 are distinctive, and 2 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep these surfaces aligned when they describe the same behavior:

    line 19
  2. Distinctive:

    Do not assume different runtimes share the same config schema.

    line 27
  3. Distinctive:

    Default examples should remain read-only/least-privileged unless the runtime-specific documentation explicitly explains a stronger mode.

    line 31
  4. Distinctive:

    Never embed real API tokens, bearer tokens, customer paths, or private project data in examples.

    line 32
  5. Common:

    Use environment-variable references for remote credentials where supported.

    line 33
  6. Very specific:

    Do not enable mutation/destructive/manufacturing capabilities merely for setup convenience.

    line 34
  7. Distinctive:

    Keep profile and operating-mode concepts distinct: profile controls discovery.

    line 35
  8. Distinctive:

    Do not hard-code expert catalog sizes in prose.

    line 37
  9. Distinctive:

    Do not overwrite unrelated client settings.

    line 44
  10. Distinctive:

    Use argv-based process execution for external CLIs.

    line 46
  11. Very specific:

    Do not make an experimental plugin a hidden requirement for the base MCP configuration.

    line 53
  12. Distinctive:

    Use the runtime's own validator/doctor when the change is specific to a client.

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent Runtime Integration Instructions

These instructions apply to integrations/** and supplement the repository root AGENTS.md. More specific instructions may exist for an individual runtime.

Boundary

This subtree contains runtime-specific MCP configuration examples, installers, validation helpers, and optional client plugins. It adapts KiCad MCP Pro to external agent/IDE configuration formats; it must not invent a second MCP capability or security model.

Read first:

  • docs/agent-runtime-config.md
  • docs/agents/index.md
  • docs/agents/compatibility.md
  • docs/agents/security.md
  • docs/agents/progressive-disclosure.md

Configuration source discipline

Keep these surfaces aligned when they describe the same behavior:

  • runtime-specific example files under integrations/<runtime>/;
  • top-level project examples such as .mcp.json, .codex/, .vscode/, and opencode.example.jsonc;
  • integrations/common/install-kicad-mcp.mjs;
  • integrations/common/validate-mcp-config.py;
  • runtime documentation under docs/agents/ and docs/agent-runtime-config.md.

Do not assume different runtimes share the same config schema. Preserve each client's native format and permission vocabulary.

Safety defaults

  • Default examples should remain read-only/least-privileged unless the runtime-specific documentation explicitly explains a stronger mode.
  • Never embed real API tokens, bearer tokens, customer paths, or private project data in examples.
  • Use environment-variable references for remote credentials where supported.
  • Do not enable mutation/destructive/manufacturing capabilities merely for setup convenience.
  • Keep profile and operating-mode concepts distinct: profile controls discovery; operating mode controls execution risk.

Do not hard-code expert catalog sizes in prose. Point to generated profile/toolset evidence when counts matter.

Installer behavior

Installer changes affect user configuration and filesystem state.

  • Preserve existing user config backup/merge semantics.
  • Do not overwrite unrelated client settings.
  • Validate scope/path handling before writing.
  • Use argv-based process execution for external CLIs; do not introduce shell interpolation around user-controlled values.
  • Installation success is not proof the MCP server or live KiCad runtime is healthy; keep doctor/diagnostic verification explicit.

Optional plugins

Client plugins are optional integration layers unless repository policy explicitly promotes them.

Do not make an experimental plugin a hidden requirement for the base MCP configuration. Plugin commands must preserve the same read/write/manufacturing safety model as the server.

Verification

For integration/config changes run the relevant targeted tests plus:

python integrations/common/validate-mcp-config.py
pnpm run profiles:check
pnpm run toolsets:check
task pre-push

Use the runtime's own validator/doctor when the change is specific to a client. Before handoff, run the repository's normal verification appropriate to the changed files.

Definition of done

An integration change is complete only when examples, installer behavior, permission defaults, docs, validation, and server profile/mode semantics remain aligned.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.