agentleFS
XucroYuriXucroYuri/how-to-make-script/skills/quality-gating/SKILL.md

quality-gating

Skill17 starsChanged 8 months agoMITView on GitHub

需要自适应剧本质量门控、定向审计、预检或复核计划(而非普通改写诊断)时使用。

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the request is primarily about checking, gating, preflighting, or rechecking an artifact.

    line 8
  2. Distinctive:

    Keep each review lens bounded and independent.

    line 14
  3. Very specific:

    Use this instead of rewrite_report when the user needs multi-lens checking, stage-specific audit, preflight, industrial acceptance, or …

    line 20
  4. Distinctive:

    Keep the audit scoped; do not default to a fixed universal checklist.

    line 21
  5. Very specific:

    Do not run a quality gate.

    line 26
  6. Distinctive:

    Run a targeted lens only, not a full audit.

    line 32

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

Quality Gating

Use this skill when the request is primarily about checking, gating, preflighting, or rechecking an artifact.

Workflow

  1. Lock the target contract, medium, and audit scope first.
  2. Apply the target artifact's native rubric or contract gate first.
  3. Select the smallest useful lens stack for the artifact family.
  4. Keep each review lens bounded and independent.
  5. Separate hard fails from weighted weaknesses.
  6. Return quality_gate_report with correction ladder and recheck logic.

Output Contract

  • quality_gate_report: adaptive audit report with selected lenses, hard fails, weighted weaknesses, correction priorities, and optional recheck plan.
  • Use this instead of rewrite_report when the user needs multi-lens checking, stage-specific audit, preflight, industrial acceptance, or recheck.
  • Keep the audit scoped; do not default to a fixed universal checklist.

Posture-Adaptive Guidance

When certainty = lost: Do not run a quality gate. Ask: "What are you most worried is wrong?" A single fear is a better entry point than a full audit checklist. Route to rewrite-doctor or scope-correction if the worry is more diagnostic than verificatory.

When certainty = certain: Primary activation context. Apply the full workflow: lock target contract → apply native rubric → select smallest lens stack → separate hard fails from weighted weaknesses → return correction ladder with recheck logic.

When certainty = exploring: Run a targeted lens only, not a full audit. Focus on the one lens most likely to determine whether the current direction is worth developing further.

When source = construct: Gate against the output contract strictly. Hard fails are non-negotiable. Weighted weaknesses should have explicit correction priorities, not open-ended suggestions.

When focus = audience: Audience experience is a valid quality lens but is suppressed in quality-gating unless the output contract is explicitly audience_fit_note. Use the audience lens to surface dropout risk and hook strength, not as a general quality proxy.

References

  • wp.quality-gate-report
  • rb.quality-gate-report
  • ka.adaptive-quality-lens-selection
  • ka.causality-chain
  • ka.contract-first-quality-gating
  • ka.hard-gate-soft-score-separation
  • ka.metrics-handoff-compression
  • ka.review-lens-isolation
  • ka.targeted-recheck-loop

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.