agentleFS
ForgeyClapForgeyClap/Forge-Core/.claude/skills/forge-quality/SKILL.md

forge-quality

Skill2 starsChanged 6 days agoMITView on GitHub

Use at router Step 1 of a build (wat vergeten we): quality lenses.

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

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Run analyze; machine output beats any human-written table.

    line 29

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

forge-quality — Quality Intelligence Layer

Layer-2 instruction (progressive disclosure): this file is small; domain knowledge lives in layer 3 (.claude/config/quality/cards/*.md, 0 tokens until loaded). The module is .claude/forge-bin/forge-quality.cjs; the canonical domain list is .claude/config/orchestration/domain-catalog.json — on a conflict the CATALOG wins and the diverging seam gets fixed, never a second list started.

Commands

node .claude/forge-bin/forge-quality.cjs analyze "<the mission>"  # THE entry point: profile + playbook + lenses + omissions + card descriptors + council in one JSON (F-14)
node .claude/forge-bin/forge-quality.cjs profile "<the mission>"  # the MissionProfile only
node .claude/forge-bin/forge-quality.cjs card <slug>              # one knowledge card (layer 3, on-demand)
node .claude/forge-bin/forge-quality.cjs drift                    # catalog vs 4 seams — every difference is a finding (exit 3 on drift)
node .claude/forge-bin/forge-quality.cjs kernel                   # the fixed Quality Kernel (~600-800 tokens)
node .claude/forge-bin/forge-quality.cjs gate --domain <domain>    # the domain's quality gate card as a PASS/FAIL/NOT_RUN checklist (--json; unknown domain -> GENERIC or PROVISIONAL card, exit 0; exit 2 invalid name, 3 invalid card)
node .claude/forge-bin/forge-quality.cjs gate --list               # every gate card with its check counts (--schema prints the card schema)

Workflow (router Step 1 — required for BUILD tasks)

  1. Run analyze; machine output beats any human-written table. classification_confidence: none means: the fallback is an ASSUMPTION — resolve the type explicitly (intake) before building.
  2. Lenses: every lens gets EXACTLY one disposition (RELEVANT/NOT_APPLICABLE/DEFERRED/OWNER_GATED) with a reason. Silently skipping does not exist; neither does silently adding one.
  3. Omissions are candidate requirements (pre-validated; omissions_valid must be true — a hand-edited card goes back through validateRequirementCard). A RESEARCH_HYPOTHESIS never becomes a hard requirement directly — promotion requires confirmed_by {type: local-validation| official-source|experiment, ref}.
  4. Knowledge cards: load only descriptors with exists: true via card <slug> — max 6 cards, max 3 retrieval rounds. A missing card is an honest notice, never invented content.

Council (selective, never the default)

councilTrigger decides: NONE is the default; FULL only on an explicit request or high impact + high uncertainty. Real dispatch runs through the Agent tool; the CouncilDecisionRecord is validated with validateCouncilRecord — that validation is shape_only (labels don't prove a principal; real provenance is owner-gated, see OWNER-GATED.md). Council consensus is NEVER proof — only tests/measurements are.

Quality gate cards (Verify Boss)

One card per catalog domain in .claude/config/quality/cards/ as <domain>.json (the .md files there are the knowledge cards above). A card holds at most 12 checks, each with claim, evidence_required, how_to_run, severity (block|warn) and honesty_note, plus hard_gates, not_applicable_when and gaps. Every check cites a section of the domain playbook (or a FORGE_HARD_RULES.json rule) and a fragment that must still be found there: gate re-checks the citations and prints STALE CARD when the playbook changed. Where a playbook has no verifiable gate, the card says so in gaps instead of inventing one. gate only lists: Verify Boss marks each check PASS / FAIL / NOT_RUN with evidence, and a block check that is FAIL or NOT_RUN fails the gate.

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.