agentleFS
EnigmaWUEnigmaWU/MyCodeAgentSkills/skill-common/SKILL.md

skill-common

Skill4 starsChanged 3 months agoMITView on GitHub

WHEN/WHERE/WHO: Any agent or user activating, creating, or refining a SKILL.md in this repository. HOW: Load this common contract first and apply the shared spine — canonical section order, frontmatter rules, Optimization Readiness rules, anti-pattern guidance, and the Review In Mind (ReviewInMindGenie) loop — while each specific skill supplies only domain-specific rules. WHY: One shared source of truth keeps every skill consistent, removes duplicated boilerplate, and makes every skill review-oriented by default.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 9 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When creating or refining a skill with CREATING-SKILL-TEMPLATE, save-as-skill, or improve-existing-skill.

    line 19
  2. Very specific:

    When validating skills with save-as-skill/scripts/validate_skill.py.

    line 20
  3. Distinctive:

    No duplicated boilerplate added to specific skills beyond the activation reference and their own domain rules.

    line 43
  4. Distinctive:

    Acceptance Criteria: Every skill with a Common Contract section loads this package successfully.

    line 49
  5. Very specific:

    Transfer Check: Verify the contract works for a top-level skill and for a nested subskill (e.g., managing-ai-projects/subskills/...).

    line 51
  6. Distinctive:

    Stop Rule: If a specific skill's domain rules conflict with the common spine, stop and resolve the conflict with the user instead of …

    line 52
  7. Distinctive:

    Do not move domain-specific content into this package.

    line 55
  8. Distinctive:

    Do not let a specific skill override the common Review In Mind loop without an explicit user decision.

    line 56
  9. Distinctive:

    Keep all references relative so the package works inside a cloned repository.

    line 57
  10. Distinctive:

    Anti-Pattern Mapping: MUST NOT turn this package into a dumping ground for one skill's checklists.

    line 58
  11. Distinctive:

    If any shared rule conflicts with a specific skill's domain rules, stop and resolve the conflict with the user before proceeding.

    line 61
  12. Very specific:

    Load the Contract: Read this SKILL.md and the relevant details/ files referenced by the specific skill (at minimum common-spine.md, …

    line 65
  13. Distinctive:

    Apply the Spine: Follow the canonical section order and conventions for any output or file the specific skill produces.

    line 66
  14. Very specific:

    Execute the Domain Rules: Run the specific skill's own How, Constraints, and Validation as the authoritative domain logic.

    line 67
  15. Very specific:

    Run Review In Mind: Before the specific skill delivers, run the loop in details/review-in-mind.md, using the specific skill's own review …

    line 68
  16. Very specific:

    Every referencing skill contains a ## Common Contract (Load First) section with a working relative link to this package.

    line 81
  17. Very specific:

    Every referencing skill's Review In Mind section points to details/review-in-mind.md and keeps its own review lens.

    line 82

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

Skill Common Contract

Who

Any agent or user who activates a skill in this repository, or who creates or refines one using CREATING-SKILL-TEMPLATE, save-as-skill, or improve-existing-skill.

What

Defines the shared contract that every skill in this repository follows. A specific skill remains responsible for its own domain rules, but MUST load this contract at activation for the common spine: canonical section order, frontmatter conventions, Optimization Readiness rules, anti-pattern guidance, the One More Thing rule, and the Review In Mind loop.

When

  • At the start of executing any skill that includes a ## Common Contract (Load First) section.
  • When creating or refining a skill with CREATING-SKILL-TEMPLATE, save-as-skill, or improve-existing-skill.
  • When validating skills with save-as-skill/scripts/validate_skill.py.

Where

Applies to every SKILL.md in this repository. This package is the single source of truth for the common parts; specific skills reference it via relative links (../skill-common/... from top-level skills, ../../../skill-common/... from subskills).

Why

Skills in this repository share a large amount of structural DNA (frontmatter style, section order, Optimization Readiness, review gene, closing rule). Duplicating that DNA in every file causes drift: one skill gets fixed, the other 67 stay stale. A single common contract loaded at activation guarantees consistency, reduces token weight, and keeps every skill review-oriented by default.

Common Files

  • common-spine — canonical section order and heading conventions.
  • frontmatter — frontmatter format and trigger rules.
  • review-in-mind — the canonical Review In Mind (ReviewInMindGenie) loop.
  • optimization-readiness — the Optimization Readiness contract.
  • anti-patterns — shared MUST-NOT patterns.
  • one-more-thing — the standard stop-and-ask closing rule.

Inputs

  • A specific skill being activated, created, or refined.
  • The domain rules defined in that specific skill.

Output (Logical Evidence)

  • The common spine applied to the specific skill's execution.
  • The Review In Mind loop executed before the specific skill delivers any artifact.
  • No duplicated boilerplate added to specific skills beyond the activation reference and their own domain rules.

Optimization Readiness

  • Failure Signals: Specific skills drift from the common spine, skip the Review In Mind loop, duplicate common text instead of referencing it, or use wrong relative links.
  • Evidence To Collect: Cases where a skill forgot to load the common contract, broken links, and review loops that were skipped or false-passed.
  • Safe Mutation Boundaries: Wording of the shared files, section order, and review loop may be refined as long as every referencing skill keeps working.
  • Acceptance Criteria: Every skill with a Common Contract section loads this package successfully; the Review In Mind loop runs; the validator recognizes the shared sections.
  • Rejected Revision Handling: Record rejected wordings, link mistakes, and review-loop regressions in details/validation-log.md so they are not reintroduced.
  • Transfer Check: Verify the contract works for a top-level skill and for a nested subskill (e.g., managing-ai-projects/subskills/...).
  • Stop Rule: If a specific skill's domain rules conflict with the common spine, stop and resolve the conflict with the user instead of silently overriding the contract.

Constraints (Logical Boundaries)

  • Do not move domain-specific content into this package; only what is genuinely shared belongs here.
  • Do not let a specific skill override the common Review In Mind loop without an explicit user decision.
  • Keep all references relative so the package works inside a cloned repository.
  • Anti-Pattern Mapping: MUST NOT turn this package into a dumping ground for one skill's checklists; MUST NOT let specific skills silently skip the common loop; MUST NOT hard-code absolute paths.

One More Thing

If any shared rule conflicts with a specific skill's domain rules, stop and resolve the conflict with the user before proceeding.

How (Structural Workflow)

  1. Input State: A specific skill with a ## Common Contract (Load First) section is activated.
  2. Load the Contract: Read this SKILL.md and the relevant details/ files referenced by the specific skill (at minimum common-spine.md, frontmatter.md, and review-in-mind.md).
  3. Apply the Spine: Follow the canonical section order and conventions for any output or file the specific skill produces.
  4. Execute the Domain Rules: Run the specific skill's own How, Constraints, and Validation as the authoritative domain logic.
  5. Run Review In Mind: Before the specific skill delivers, run the loop in details/review-in-mind.md, using the specific skill's own review lens.
  6. Output State: The specific skill delivers its artifact with a review note.

Review In Mind (ReviewInMindGenie)

Execute the common review loop in review-in-mind before delivering.

Review lens for this skill:

  • Is every shared rule stated once here and referenced (not duplicated) by specific skills?
  • Would a specific skill fail loudly if it skipped loading this contract?
  • Are the relative links correct for both top-level skills and nested subskills?

Validation (Verifiable Rewards)

  1. Every referencing skill contains a ## Common Contract (Load First) section with a working relative link to this package.
  2. Every referencing skill's Review In Mind section points to details/review-in-mind.md and keeps its own review lens.
  3. The common files contain only shared rules; domain-specific content remains in the specific skills.

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.