agentleFS
XucroYuriXucroYuri/how-to-make-script/skills/pattern-reference/SKILL.md

pattern-reference

Skill17 starsChanged 8 months agoMITView on GitHub

需要场景特定的剧本参考包,包含成功范例、失败对比和说明时使用。

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user asks for success patterns, reference scenes, contrastive examples, or "why this works better than that" …

    line 8
  2. Distinctive:

    If no single pattern family dominates, return multiple reference directions instead of a fake canonical answer.

    line 20
  3. Distinctive:

    Ask: "What problem are you trying to solve in this scene or beat?" One specific failure state is enough to find a useful reference pattern.

    line 25

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

Pattern Reference

Use this skill when the user asks for success patterns, reference scenes, contrastive examples, or "why this works better than that" guidance for a screenplay problem.

Workflow

  1. Classify the scenario before selecting any example.
  2. Pick the closest pattern family for the current medium, stage, and problem.
  3. Return one strong synthetic sample and one weaker contrast.
  4. Explain the success and failure mechanisms.
  5. State the boundary: this is a reference path, not the only valid path.

Output Contract

  • pattern_reference_pack: scenario framing, strong sample, weaker contrast, mechanism analysis, failure analysis, and non-dogma note.
  • Samples should be original synthetic examples, not quotations or close imitations of specific copyrighted scripts.
  • If no single pattern family dominates, return multiple reference directions instead of a fake canonical answer.

Posture-Adaptive Guidance

When certainty = lost: Ask: "What problem are you trying to solve in this scene or beat?" One specific failure state is enough to find a useful reference pattern. Do not ask for a full scenario brief first.

When source = discover: Lead with the failure contrast: "Here is a version that doesn't work — and here is why." The negative example often teaches faster than the positive one for writers in discovery mode.

When source = construct: Apply the full workflow: classify scenario → pick pattern family → strong sample → weaker contrast → mechanism analysis → non-dogma boundary note.

When focus = event: Pattern references are most useful for event-layer problems: opening hooks, midpoint turns, reveal mechanics, escalation logic. Load the scenario-factorization atom first.

When focus = language: For language-layer problems, show voice rather than structure. A reference that demonstrates register, rhythm, and subtext is more useful than a beat-structure sample.

References

  • wp.pattern-reference-pack
  • rb.pattern-reference-pack
  • ka.creative-pluralism
  • ka.cross-protocol-referral-edges
  • ka.false-universal-warning
  • ka.reference-pattern-usage
  • ka.scenario-factorization

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.