Files
yao-meta-skill/references/reference-scan.md
T
2026-04-06 17:29:45 +08:00

2.1 KiB

Reference Scan Strategy

Use a short benchmark scan before deep authoring. The goal is to borrow durable patterns from strong reference objects without importing their prose, weight, or brand language into the new skill.

Why This Step Exists

A new skill often fails because it starts from an isolated idea instead of a proven pattern. A controlled reference scan improves the package before it grows:

  • better boundary design
  • cleaner folder and metadata choices
  • more realistic quality gates
  • stronger portability decisions

The Rule

Reference scanning is mandatory for:

  • Production skills
  • Library skills
  • Governed skills
  • meta-skills or packaging-heavy skills

Reference scanning is optional for:

  • Scaffold skills
  • one-person exploratory skills

Scope Limit

Do not turn this into open-ended research.

  • scan at most 3-5 reference objects
  • pick from no more than 3 categories
  • extract patterns, not long copied content
  • stop as soon as the borrow plan is clear

Reference Categories

Choose the smallest relevant set:

  • method: loops, evaluation discipline, iteration structure
  • structure: package anatomy, resource boundaries, metadata patterns
  • execution: operator flow, scripts, initialization and validation experience
  • portability: neutral metadata, adapters, degradation strategy
  • domain: workflow-specific patterns from a top example in the same problem space

Output Format

A good scan produces a short report with:

  1. current skill anchor
  2. scan focus
  3. 3-5 reference objects at most
  4. what to borrow
  5. what not to borrow
  6. a compact borrow plan

What To Borrow

Borrow:

  • repeatable loops
  • clear boundary patterns
  • proven gate choices
  • portable metadata ideas
  • clear operator-facing flows

Do not borrow:

  • source-specific branding
  • long copied prose
  • unnecessary directories
  • quality gates that exceed the skill's risk tier
  • platform lock-in disguised as best practice

Design Principle

The scan is successful only if it raises skill quality faster than it raises context cost. If benchmark material makes the new skill heavier without making it more reliable, discard it.