agentleFS
ArenukvernArenukvern/mcp_flutter/.agents/skills/repository-governance-lifecycle/SKILL.md

repository-governance-lifecycle

Skill385 starsChanged 5 months agoMITView on GitHub

Master orchestration for repository governance, North Star impact, sub-Star boundaries, and repair-first or evidence-first drift checks. Guides an agent through the complete lifecycle of making architectural decisions, documenting them, writing FAQs, and cleaning up stale plans while adhering strictly to repo ethics and brand tone. Use whenever you need to make a structural change, write an ADR, update the doc lattice, or govern repository architecture.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 13 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before making any decision, check the repository's foundational charter and ethical baseline.

    line 21
  2. Distinctive:

    Read Charter and Ethics to ensure your proposed changes do not violate the repository's moral boundaries (e.g.

    line 22
  3. Distinctive:

    Read North Star Rules to understand the extension model.

    line 23
  4. Distinctive:

    If you have made an architecturally significant decision (or triggered a T1-T8 threshold), you must write it down.

    line 29
  5. Distinctive:

    Follow the formatting rules in ADR Format to write a formal Decision Record.

    line 30
  6. Very specific:

    Update docs/DESIGN_FAQ.mdx (the *Why*) or docs/DX_FAQ.mdx (the *How*).

    line 34
  7. Distinctive:

    Follow the exact structuring rules in FAQ Format to ensure questions are searchable and direct.

    line 35
  8. Distinctive:

    When writing ADRs, FAQs, or any user-facing documentation, you must adhere strictly to the repository's tone.

    line 38
  9. Distinctive:

    Do not use corporate marketing jargon.

    line 39
  10. Very specific:

    Never leave stale planning artifacts (task.md, implementation_plan.md) as permanent documentation.

    line 43
  11. Distinctive:

    Ask what existing doc can shrink or disappear because of this change.

    line 47
  12. Distinctive:

    Keep canonical architecture in the owning repo.

    line 48
  13. Very specific:

    Before upgrading steward, adoption, harness-ready, or maturity language in an ADR/evidence note, run steward claim check --claim <claim> …

    line 50
  14. Distinctive:

    Do not turn every run, plan, or discussion into evidence.

    line 53
  15. Very specific:

    Check/tool/schema/test: deterministic drift, freshness, shape, or blocked-state detection.

    line 58
  16. Distinctive:

    Delete/remove: completed checklist, stale plan, or template once useful truth has been extracted.

    line 61
  17. Distinctive:

    When you create or materially update an evidence artifact, use the canonical envelope in Evidence artifacts.

    line 63

≈ “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.

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

Repository Governance Lifecycle

This is the central nervous system for governing an agent-operated repository. It applies to apps, libraries, tools, plugins, harnesses, and meta repos; Skill Steward itself remains a structural stewardship repo, not a domain tutorial catalog. It unifies ethics, branding, architectural decision logs (ADRs), and living documentation (FAQs) into a single, cohesive loop: Decide → Document → Cleanup.

Whenever an agent proposes or executes a structural shift, claim change, durable policy change, or docs-lattice change, they must walk this loop. Routine repo repairs should keep the original goal and native gate first; use this governance loop only when the repair changes durable ownership, policy, evidence, ADR/FAQ truth, or plan hygiene.

The Governance Loop

1. Check Ethics & Boundaries (NORTH_STAR)

Before making any decision, check the repository's foundational charter and ethical baseline.

  • Read Charter and Ethics to ensure your proposed changes do not violate the repository's moral boundaries (e.g. no hype; no domain tutorials inside Skill Steward; domain docs belong in the governed product repo when they are that repo's product).
  • Read North Star Rules to understand the extension model.
  • Classify north_star_impact for durable structural changes: none, applies, clarifies, sub_star, amends, or conflicts. Use the protocol only when ownership, policy, evidence truth, ADR/FAQ truth, or the repo's center may change.
  • Ask the gate questions before editing durable governance surfaces: what pain triggered this; which North Star value path it serves; whether it is a mechanism or a new center; whether it changes what the repo owns or refuses; where the ADR is if it does; and what check prevents the mechanism becoming the mission if it does not.
  • Route none and applies through the native workflow, clarifies through FAQ/skill/map/check updates, sub_star through an explicit parent/child boundary, and amends or conflicts through an ADR plus a North Star diff before implementation.

2. Log the Decision (ADRs)

If you have made an architecturally significant decision (or triggered a T1-T8 threshold), you must write it down. Decisions are not valid if they only live in an agent's context window.

  • Follow the formatting rules in ADR Format to write a formal Decision Record.

3. Update Living Docs (FAQs)

Decisions change how the repository operates day-to-day. You must update the living system of record.

  • Update docs/DESIGN_FAQ.mdx (the Why) or docs/DX_FAQ.mdx (the How).
  • Follow the exact structuring rules in FAQ Format to ensure questions are searchable and direct.

4. Apply Brand & Tone Identity

When writing ADRs, FAQs, or any user-facing documentation, you must adhere strictly to the repository's tone.

  • Do not use corporate marketing jargon.
  • Review the banned word list in Brand Guidelines (e.g. do not use "unlock", "supercharge", "ultimate").

5. Plan Hygiene (Cleanup)

Never leave stale planning artifacts (task.md, implementation_plan.md) as permanent documentation.

  • Once the ADR and FAQs are updated, your knowledge is durable.
  • Extract any remaining useful context and delete or ignore the scratch files.
  • For stale or overlapping non-plan docs, choose one disposition before editing: keep, merge, move to ADR, move to FAQ, move to skill, move to check, move to evidence, move to consumer proof, or delete.
  • Ask what existing doc can shrink or disappear because of this change.
  • Keep canonical architecture in the owning repo; consumer repos should carry adoption proof, local deltas, blocked state, and links to the owner.
  • For broader surface-shape decisions such as split, compress, promote, demote, delete, or stay native, route through repo-quality-system-lifecycle and Evolutionary simplicity instead of inventing a governance-only doctrine.
  • Before upgrading steward, adoption, harness-ready, or maturity language in an ADR/evidence note, run steward claim check --claim <claim> --evidence <path> --json. Treat not_rejected as a negative-gate result, not acceptance.

6. Route Evidence Deliberately

Do not turn every run, plan, or discussion into evidence. Use Evidence artifacts as the routing rule:

  • ADR: durable decision, trade-off, status, or consequence.
  • FAQ: standing why/how that humans and agents will ask again.
  • Skill: repeatable agent procedure or interpretation loop.
  • Check/tool/schema/test: deterministic drift, freshness, shape, or blocked-state detection.
  • Current ledger: weakest true current status and rerun route.
  • Evidence artifact: real run proof, blocked state, pattern review, PDSA loop, postmortem, unknown case, or reference that protects a claim or changes future behavior.
  • Delete/remove: completed checklist, stale plan, or template once useful truth has been extracted.

When you create or materially update an evidence artifact, use the canonical envelope in Evidence artifacts. ADR 0023 explains why that envelope exists.

Install

npx skills add arenukvern/skill_steward --skill repository-governance-lifecycle

Sources

See references/sources.md.

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.