mcp-harness-repo-maintainer
Skill11 starsChanged 6 months agoMITView on GitHub
Maintains repo-local action contracts and harness repositories where product CLI and MCP adapters stay thin over core libraries. Use when adopting or improving steward.yaml actions, capability-level adoption evidence, cold-start proof loops, probes, benchmarks, CLI/MCP/core parity, adapter refactors, packages/core boundaries, or sibling harness layout; use repo-quality-system-lifecycle first for general app/library/tool stewardship baselines.
- Pipes a download into a shell
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Arenukvern/mcp_flutteredited, first seen Jun 30, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- Arenukvern/mcp_flutter★ 38594% same
Wrote their own version · 0
None found.
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.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/faq_usage.mdcCursor rule
- .cursor/rules/steward.mdcCursor rule
- harness-engineering-lifecycleSkill
- mixture-of-expertsSkill
- multi-agent-handoffSkill
- plugin-marketplace-setupSkill
- release-changelog-harnessSkill
- repo-quality-system-lifecycleSkill
- repository-governance-lifecycleSkill
- skill-authoring-lifecycleSkill
- skill-eval-improveSkill
- skill-source-citationsSkill
- steward-continuity-boundary-lifecycleSkill
- storytelling-ethics-lifecycleSkill
- vision-alignment-foresightSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 7 are distinctive, and 6 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 44
Install-world rule: never rely on ../../docs/core/...
- Distinctive: line 66
Product experiment ownership: When the goal is visual quality, shader behavior, loader correctness, renderer throughput, or performance, …
- Distinctive: line 148
Use this loop before claiming a repo is harness-ready or diagnosing repo-specific symptoms.
- Very specific: line 152
Use steward <command> only after installing the released CLI or activating a local clone as a global command.
- Very specific: line 178
If fresh console JSON is blocked, pipe it to steward blocked explain --stdin --json to choose config repair, unknown-case capture, or …
- Very specific: line 179
Treat persisted benchmark summaries as machine evidence for the commit and inputs they name.
- Very specific: line 184
When evidence is promoted into docs, use the status, evidence_type, claim_tested, proof_level, limitations, non_claims, next_disposition, …
- Distinctive: line 188
Prefer useful native gates over Steward-only scorekeeping.
- Distinctive: line 207
Use the adoption-run/v2 evidence shape before making S/H claims.
- Distinctive: line 217
Do not use "fully adopted repo" language for one polished proof.
- Distinctive: line 221
Do not call a repository harness-ready until the proof stage matches the claim.
- Distinctive: line 236
Archetype C (CLI Harness): No MCP. Depends on product MCP core modules.
- Very specific: line 237
Archetype D (Visual sidecar): No MCP. SSOT: profiles/*.yaml.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Action Contract & Harness Repo Maintainer
Concept bridge (read before procedural steps)
Skill Steward procedures assume three portable lenses. If you only have this skill installed, load the digests in references/ (they ship with the skill). Full essays live on docs.page.
| Lens | One-line | When to apply | Digest | Full |
| Engineering Stewardship | Keep the repo ecology understandable and improvable via observe → decide → update → prove → preserve | Friction repeats or survives one session | stewardship-loop.md | docs.page · North Star |
| Evolutionary simplicity | Evolve toward lower future confusion (split / compress / promote / demote / delete / stay native) — not always fewer parts | Before adding, splitting, merging, or deleting a surface | evolutionary-simplicity.md | docs.page |
| Generational architecture | Choose the smallest useful layer (G0–G5); higher is not automatically better; mature stewardship can move down | Before promoting codegen, harness actions, or new abstractions | generational-architecture-ladder.md | docs.page |
Install-world rule: never rely on ../../docs/core/... alone — those paths only work inside a skill_steward checkout. Prefer the digests above and absolute docs.page URLs.
These lenses are not a new doctrine skill (see DESIGN_FAQ). This skill applies them; the digests teach them when the docs tree is not present.
Build and maintain repo-local action contracts and harnesses where agents execute and humans steer. The historical mcp- name remains because many adopters arrive through MCP work, but this skill is not MCP-only. For general app, library, tool, plugin, or meta-repo stewardship baselines, use repo-quality-system-lifecycle first; use this skill only when typed actions, probes, benchmarks, or CLI/MCP parity are in scope.
Core principle (action-contract and harness repos)
MCP and CLI are thin interfaces—APIs for agents and CI. Core contains the real logic, schemas, and registries. Adapters parse wire format (argv, MCP JSON-RPC); they delegate immediately.
Agents / CI → CLI ──┐
├──► Core (logic, contracts, tests)
Agents / chat → MCP ──┘Full layering: core-and-interfaces.md. Parity: every MCP tool must call the same core entrypoint as its CLI twin.
Progressive Automation (Agent-Driven Workflows): Harnesses should let agents turn repeated friction into reviewed, durable capability. If an agent discovers a complex fix or command sequence, it should capture an unknown case or typed action candidate with owner, risk class, inputs, outputs, effects, provenance, and verification. Permanent steward.yaml changes must go through reviewable diffs and validation; do not teach agents to save raw bash permanently from MCP.
Goal-first adoption: The original user goal remains the acceptance check. Tool repair, install work, wrappers, action candidates, evals, and refactors are detours unless they directly solve that goal or preserve a reusable lesson. After two failed repair/setup attempts, stop tool restoration, use a type-native command or portable fallback when possible, record the friction, return to the task, and do not promote from that same detour.
Product experiment ownership: When the goal is visual quality, shader
behavior, loader correctness, renderer throughput, or performance, the product
repo owns the high-throughput experiment runner and oracle. Steward can validate
or summarize an experiment-campaign-summary/v1 artifact after the product loop
has produced captures/metrics. Do not promote a Steward action, benchmark, or
MCP tool as product acceleration unless the product campaign names what surface
changed or was directly proven.
Skeptic before promotion: A missing capability is a harness gap only after smaller layers fail. First ask whether the fix belongs in a native command, error message, FAQ, docs map, public API, schema/codegen, or deletion/collapse. Promote a Steward action, MCP tool, or benchmark only when it improves a real proof path and carries a falsifier.
Evolutionary simplicity for interfaces (digest): Split core entrypoints when ownership, proof, effects, cadence, or audience diverge. Compress CLI/MCP/help surfaces when one user or CI intent remains, but preserve structured child outcomes so wrappers do not flatten proof, effects, or non-claims.
Core Beliefs & Culture
- Missing capability → possible harness gap — When an agent fails, ask what is not legible or enforceable, then choose the smallest useful layer: native command, error message, docs/FAQ, schema, linter, skill, action, or deletion. For interface shape, apply evolutionary simplicity: split internals when proof, effects, or owners diverge; compress CLI/MCP/help wrappers when user intent remains one thing and child outcomes stay structured.
- Ambiguous design → decision checkpoint — Before coding a fork, use
repository-governance-lifecycle; record an accepted ADR after agreement. - Mechanical enforcement — Linters, validate commands, schema validation at boundaries—error messages teach the agent how to fix. Use structured parsing (YAML, JSON, or AST).
- Progressive disclosure — Router → ADR / DESIGN_FAQ (why) → DX_FAQ (how) → skills (procedures) → code (behavior SSOT).
Harness Layers to Build
Human intent (prompt, plan, review)
│
▼
┌────────────────────┐
│ Skills + AGENTS │ Map & procedures (when to do what)
└────────┬───────────┘
▼
┌────────────────────┐
│ CLI │ doctor, exec, validate, contracts (deterministic)
└────────┬───────────┘
▼
┌────────────────────┐
│ MCP server │ fmt_* / tools for chat agents (same schemas)
└────────┬───────────┘
▼
┌────────────────────┐
│ App / runtime │ Legible UI, logs, metrics per worktree (optional)
└────────────────────┘Mixture of experts (pick one lead)
Route by primary artifact when the repo is harness or action-contract shaped. For the broader app/library/tool taxonomy, use repo-quality-system-lifecycle.
| Expert lens | Repo examples | Owns | Does not own |
| Plugin/MCP | <plugin_repo> | plugin/mcp.json, tool prefixing, init utility | Harness scripts, visual comparisons |
| Library | <library_repo> | Platform packages/modules, adapters | Shippable plugin tree, dogfood apps |
| Harness/CLI | <harness_repo> | Harness engine, app registry, fixture lint | MCP server binary, marketplace manifests |
| D — Visual sidecar | <visual_sidecar> | Profile configs, compare/deconstruct CLI | VM/MCP, dynamic registry |
| Meta/governance | skill_steward | skills/, plugins/, validator CLI, docs | Product MCP, domain tools |
| F — Security/Ops | all remotes | OAuth gateway, token brokering | Feature code |
Universal maintainer spine (every archetype)
- Charter & Archetype —
docs/NORTH_STAR.mdx(or root pointer);AGENTS.md= map only. - Behavior SSOT — code + schemas; docs hold why and how.
- Thin adapters, thick core — implement once in core; CLI + MCP are wrappers.
- Mechanical gates — contract checks / validate commands / unit tests before merge.
- Plan hygiene — extract to ADR/FAQ/code/skill then delete plan files.
- Version honesty — single
VERSIONor release-please manifest. - Distribution & Universal Translation — Document per channel (
npx skills, git marketplace). Avoid proprietary ecosystem lock-in. Ensure CLI tools natively compile governance to upstream IDE formats (e.g.,steward bundlegenerating.cursor/rulesand.clinerules).
Workflow: Add Agent-First Capability
- Specify intent — One sentence outcome + acceptance check.
- Run the Skeptic/generational check — Is this repeated? Can a lower layer solve it? Would deleting or collapsing code reduce maintenance? What falsifier prevents tool-loop drift?
- Choose surface
- CI / script / gate → CLI first
- Conversational debug loop → MCP tool (reuse CLI core)
- One-off guidance → skill in
skills/ - Event enforcement → plugin hook
- Make legible — JSON schema,
--jsonoutput, stable error codes, action effects, limits, and redaction policy; document in DX_FAQ. - Document why — ADR or DESIGN_FAQ Q&A.
- Wire map —
AGENTS.md/docs_maprow. - Validate —
pnpm run validateor project contract tests. - Human collab — PR describes harness change.
Cold-start local harness proof loop
Use this loop before claiming a repo is harness-ready or diagnosing repo-specific symptoms. A fresh repo has no meaningful symptom catalog yet; first prove that agents can discover and safely execute declared contracts.
Portable Steward invocation
Use steward <command> only after installing the released CLI or activating a local clone as a global command. Do not teach absolute local paths, private SDK paths, or sibling checkout paths as adoption instructions.
Preferred order:
- Released adopter or CI path:
curl -fsSL https://raw.githubusercontent.com/Arenukvern/skill_steward/main/install.sh | bash, thensteward <command>. - Dart maintainer path from the Skill Steward clone:
cd packages/steward_cli && dart run :steward <command>. - Local clone global activation:
dart pub global activate --source path packages/steward_cli, thensteward <command>.
Raw dart --packages=... bin/steward.dart commands are local provenance only. If evidence needs them, pair them with a portable command block and label the machine-specific path as non-copyable.
- Declare a small contract — Add or update
steward.yamlwith one quick-safe action. The first action should inspect state, not mutate it. - Expose the action — Put the action under
probes.quick.actionsonly when it passes quick policy:default_policy: auto, no confirmation, no shell, no network/secrets/destructive effects, no repo mutation, nofs_write. - Add a scenario manifest — Put committed scenarios under
steward/scenarios/*.yaml; use a precise name such ascontract-status-smokeuntil the scenario proves navigation or diagnosis. Run the proof loop:
steward doctor --json steward schema check-outputs --json steward schema drift --json steward actions list --json steward action inspect <action-id> --json steward probe --profile quick --json steward benchmark --scenario <scenario-id> --strict --output .steward/benchmark-summaries/<scenario-id>.json --json- Interpret honestly —
doctor/actions listprove discovery,schema check-outputscatches machine-readable output drift,schema driftcatches generated contract/schema drift,action inspectproves the executable boundary,probeproves the safe first observation, andbenchmarkproves durable execution only when it returnsresult: "pass".durability_blockedis truthful blocked evidence when strict benchmark inputs are modified or untracked; it is not H2 proof.- If fresh console JSON is blocked, pipe it to
steward blocked explain --stdin --jsonto choose config repair, unknown-case capture, or same-benchmark rerun. Usesteward blocked explain --input <result.json> --jsononly for an existing persisted summary. - Treat persisted benchmark summaries as machine evidence for the commit and inputs they name. Treat console-only JSON as session evidence unless rerun with
--output. A current ledger or rerun route decides whether historical summaries are still current proof. - Treat benchmark passes as local or repo-owned proof for the named inputs first. They become public reproducibility proof only when the source is fetchable, the subject commit is a resolved SHA, the command is portable, and the retained artifact has a CI artifact name or hash.
- Address invalid
steward.yaml, dirty declared inputs, schema/output drift, or native launch failures through the owning surface before adding a new action, benchmark scenario, PDSA note, or evidence packet from the same detour.
- If fresh console JSON is blocked, pipe it to
- Protect local state — Strict benchmark inputs must be tracked and clean before execution:
steward.yaml, file-backed scenario manifests, and any declared action inputs the benchmark reads. Local run outputs such as.steward/benchmark-summaries/*.json, observations, unknown cases, and action candidates stay local unless a review intentionally promotes a redacted artifact. If the repo has temporary dirty files that must remain in place, write a do-not-touch exception and keep those files out of action inputs. Protected local state is not a benchmark blocker unless it is declared as a contract or scenario input. - Grow from evidence — If the probe exposes an unknown failure, capture an unknown case first. Promote a typed action candidate only after owner, effects, limits, redaction, validation command, and benchmark evidence exist. Do not promote diagnostics from the same run that discovered them.
- When evidence is promoted into docs, use the
status,evidence_type,claim_tested,proof_level,limitations,non_claims,next_disposition, andcurrent_status_pointerenvelope from Evidence artifacts. Do not preserve raw logs, secrets, or private relational memory as evidence.
- When evidence is promoted into docs, use the
Native deterministic gate promotion
Prefer useful native gates over Steward-only scorekeeping. A repo may promote an existing deterministic script, test, or validation command into a Steward action when it has:
- positive proof on the current state
- a falsifier test or fixture that catches the regression class
- owner, risk class, effects, limits, and redaction policy
- a strict benchmark or eval that makes the capability discoverable
- a held-out benchmark or future-agent repeat that proves transfer
- explicit non-claims for product runtime correctness and broad H5 maturity
For visual/performance campaign work, a native gate must be able to run variants without rebuild-per-hypothesis when the product stack allows it, keep warm browser/server state for runtime sweeps, and emit the winning evidence rather than raw screenshot piles. If two harness loops do not move the product oracle or metric, stop harness work and return to product-native experimentation.
This is the path for turning evidence into a tool improvement packet. If the result cannot teach a later agent how to maintain or improve the repo's real tool surface, keep it as an observation or unknown case instead of promoting it.
Adoption run classification
Use the adoption-run/v2 evidence shape before making S/H claims. Record:
user_goal: original prompt, requested outcome, acceptance check, status, and evidence.capability: id, class, scope, user value, and native owner.direct_problem_path: declared surfaces and native gates used before raw shell exploration.tool_detour: reason, attempts, artifacts, stop rule, and return-to-goal step.generational_architecture_check(ladder digest): repeated pattern, smaller layer considered, deletion/collapse option, selected pattern layer, maintenance delta, and promotion guard.outcome: continue, refactor, stop, abandon, or promote.hot_path_claim: problem class, created surface, falsifier, positive proof, observed effect, held-out or future task, and non-claims.
Do not use "fully adopted repo" language for one polished proof. Say "capability-level H5" or "capability-level S5/H5" and name the capability. Repo maturity remains a separate, broader claim.
Adoption maturity ladder
Do not call a repository harness-ready until the proof stage matches the claim.
| Stage | Name | Proof |
| H0 | Skills installed | Agent can discover the relevant Skill Steward skills. |
| H1 | Local contract declared | steward.yaml exists with one quick-safe action and docs point to it. |
| H2 | Smoke loop proven | Cold-start proof loop produces a durable benchmark summary with result: "pass"; durability_blocked keeps the repo below H2 until rerun cleanly. |
| H3 | Repo feedback loop | Benchmark summaries, unknown cases, and action candidates accumulate from real work. |
| H4 | Fresh-agent workflow | A fresh agent completes one repo workflow without raw shell spelunking. |
| H5 | Promoted harness capability | Repeated evidence, including at least one held-out benchmark or future-agent repeat, promotes a diagnostic, action, eval, or local harness feature. |
Archetypes Details
- Archetype A (Product MCP):
plugin/is SSOT. Ship a custom server, do not patch community servers for product logic. - Archetype B (Platform Libs): Core modules + wire protocol adapters only; no domain forks.
- Archetype C (CLI Harness): No MCP. Depends on product MCP core modules.
- Archetype D (Visual sidecar): No MCP. SSOT:
profiles/*.yaml. - Archetype E (Meta Steward): Core validators, thin CLI check. No
mcp.json. - Archetype F (Production MCP): Resources for read-only; tools for mutation. Return job IDs for long tasks. Use OAuth.
Sibling layout
<workspace>/
<plugin_repo>/ # toolkit + MCP/plugin init
<library_repo>/ # SDK platform/library packages
<harness_repo>/ # CLI/harness runner
<visual_sidecar>/ # D — comparison sidecar
<meta_governance_repo>/ # meta skills & validationChecklist before claiming “harness ready”
Common proof:
- Agent can discover what to run from in-repo docs alone
- Repo is at least H2 on the adoption maturity ladder
- Failure messages say how to remediate
- Design forks were checkpointed (
repository-governance-lifecycle) - Contract gate or validation scripts pass
Archetype-specific proof:
| Archetype | Required proof |
| Product MCP | MCP tools and CLI commands share the same core schema/validation entrypoints. |
| Platform libs | Protocol adapters are thin, core tests cover behavior, and no product-specific fork is embedded. |
| CLI harness | CLI command exists for CI/gates; MCP parity is not required unless the repo exposes MCP. |
| Visual sidecar | Profile/config schemas and compare/deconstruct commands are validated; MCP parity is not required. |
| Meta steward | Skill/plugin/validator surfaces pass skill validation and T1 behavior-critical routing cases; no product runtime is bundled. |
| Security/Ops | Mutation surfaces require explicit risk class, redaction, and authorization policy. |
Install
npx skills add arenukvern/skill_steward --skill mcp-harness-repo-maintainerReferences
- core-and-interfaces.md
- repo-archetypes.md
- maintainer-checklists.md
- mcp-production-practices.md
- sibling-layout.md
- harness-principles.md
- cli-mcp-pattern.md
- steward-composition.md
- preferred-tooling.md
Sources
See references/sources.md. When researching, follow skill-source-citations.
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
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.

