agentleFS
RuggGRuggG/mcp-engineering/SKILL.md

mcp-engineering

Skill0 starsChanged 2 months agoMITView on GitHub

Design and build MCP tools, servers and client adapters, or investigate and repair an existing MCP integration. Use for tool contracts and HTML definition reviews, model-visible results, client compatibility, mutation recovery, authority, capacity and installed workflow delivery. Not for simply using an already-working MCP tool to do an unrelated task.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. bepaldes/heimdall-agent★ 2same name
    2. mehulpratapsing/ai-engineer-skill-stack★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Build: read design. Start with the user's outcome, the agent's next decisions and the boundary where authority or state changes.

    line 25
  2. Distinctive:

    Review or repair: read review and repair. Start with the symptom and competing explanations.

    line 30
  3. Distinctive:

    Start with the symptom and competing explanations.

    line 31
  4. Distinctive:

    Both: use the review route to establish the existing contract, then the build route for the part being redesigned.

    line 38
  5. Distinctive:

    Use independent acceptance references: Check contract preservation, information useful to the user task, and ordinary uncoached agent …

    line 60
  6. Distinctive:

    Stay within the requested scope: Use existing authorization.

    line 64
  7. Distinctive:

    If no shell or captures are available, use the same reasoning directly and state which observation remains unavailable.

    line 104

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
SKILL.md

MCP Engineering

Build an interface that lets an agent complete the user's task, and establish where that claim holds. A correct handler is one part of the path:

authored meaning → served catalogue → receiving client → model declaration
business effect → MCP result → client/agent consumption → next model input
workflow source → published bundle → installed files → active agent context

Each arrow is a possible change in meaning, information, authority or lifetime. Inspect the arrows relevant to the task; this is not a mandate to audit everything.

Choose the work

Build: read design. Start with the user's outcome, the agent's next decisions and the boundary where authority or state changes. Choose tool operations, resource handoffs, result information and recovery from those needs. Implement the requested usable path, including ordinary consumption.

Review or repair: read review and repair. Start with the symptom and competing explanations. Find the smallest observation that separates them and reproduce the mechanism. For a review-only request, report supported findings and recommended repairs. When implementation is part of the current request or existing authorization, repair the owning layer and exercise the affected user path. Preserve intentional differences and healthy behavior.

Both: use the review route to establish the existing contract, then the build route for the part being redesigned. Do not turn a focused repair into a rewrite.

Working rules

  1. Separate fact from inference. Pin the client version, receiving harness, execution mode, target and relevant capture. A server catalogue, SDK result, final model input and completed user task prove different things. A fallback observation does not silently inherit the stronger one's claim.
  2. Keep semantics owned. Maintain an authoritative behavioral contract; adapt presentation where a supported receiving client demonstrably needs it. Compare from the authored source through normal activation. Hash equality can preserve an already-wrong baseline. Server validation and authorization remain effective even when a client loses guidance or ignores annotations.
  3. Design information for the next decision. Discovery, detailed reads, write receipts and errors have different jobs. Keep functional handles, evidence, units, access constraints, partial-result caveats and revision guards. Neither smaller output nor structured output is automatically better.
  4. Own work through settlement. An error after dispatch can mean an uncertain committed effect; a timeout can leave work running. Distinguish transport request IDs, logical operations and revision guards. Recovery, admission and resource release must follow the actual operation lifetime.
  5. Use independent acceptance references. Check contract preservation, information useful to the user task, and ordinary uncoached agent behavior. Parity alone can preserve the same defect twice. A directed diagnostic is useful evidence, but is not ordinary-use acceptance.
  6. Stay within the requested scope. Use existing authorization; the skill grants none. Keep load tests, paid calls, real writes, publishing and credential changes within that scope. Do not invent live evidence or demand a full fleet audit for a local fix. Healthy implementations may need no changes.

Read only what the task needs

When the decision concerns…Read
Tool boundaries, new interfaces, discovery versus detail, success criteriaDesign
Empty results, failed tasks, misleading errors, regression attributionReview and repair
Missing wording, schemas, generated types, harness profiles or discoveryClient contracts
Text/structured/mixed results, compression, errors or durable write feedbackResults and errors
Retries, cancellation, queues, bridges, retained state or performanceExecution and capacity
Identity, permissions, local file transfer, packaging or skill updatesSecurity and delivery
Evidence strength, ordinary-agent checks, comparison design or reportingVerification
A human needs to inspect complete tool definitions or proposed description/schema changesHTML tool reviews, with a portable template and generator
A suspected client-specific transformDated client observations, then verify the actual installed route

The references describe decision criteria, not a second protocol specification. For normative behavior or SDK APIs, inspect the version in use and consult its official documentation. Prefer the maintained SDK unless a lower-level adapter is part of the requested work.

Optional offline helpers

These Python 3.10+ tools inspect local JSON without network access. Resolve their paths relative to this skill, wherever it is installed. See helper inputs and interpretation before using them.

python3 scripts/inspect_catalog.py tools-list.json
python3 scripts/compare_catalogs.py before.json after.json
python3 scripts/inspect_result.py tools-call.json

They report sizes, shapes, changes and exact parsed duplication. They do not validate business meaning, count model tokens, prove schema compatibility or establish what an agent actually saw. Their reports omit payload values by default but can contain tool names and field paths; they are not anonymizers. If no shell or captures are available, use the same reasoning directly and state which observation remains unavailable.

For substantial wording or schema reviews, use the HTML generator when a readable contract, exact comparisons and linked rationale will help the user decide. It includes the supplied values in full, unlike the summary helpers. Keep authored, served and client-visible captures explicitly labelled; a page never applies its proposal or establishes that a client saw it.

Finish with a usable result

Deliver the requested implementation or supported findings, the behavior that changed, the evidence that establishes it, and any material untested boundary. For a review, distinguish a reproduced defect from a plausible hypothesis; include the smallest useful repair. For a build, leave a working usage example and a recovery path appropriate to its effects. Do not claim deployment, installation or active-session adoption from files merely existing on disk.

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.