| name | qiaomu-meta-skill |
| description | Research, create, improve, migrate, evaluate, package, install-check, govern, and safely publish qiaomu-flavored agent skills from workflows, prompts, transcripts, docs, SOPs, runbooks, scripts, or notes. Use for new or existing skills, prior-art synthesis, routing/trigger boundaries, trigger or output evals, Skill IR, release gates, README/Profile preparation, GitHub repository and pull-request publication, versioned Releases, clean npx installation, team reuse, and create-and-publish flows. The publication path is self-contained and forbids direct default-branch pushes. Exclude one-off summaries, translations, ordinary docs, non-skill package publishing, and tasks that explicitly should not become a skill.
|
| metadata | {"author":"Qiaomu","version":"2.8.1","upstream_inspiration":"yaojingang/yao-meta-skill; joeseesun/qiaomu-skill-publisher"} |
Qiaomu Meta Skill
Build reusable Qiaomu skill packages, not long prompts.
Router Rules
- Route by frontmatter
description first.
- Once selected,
qiaomu-meta-skill is the single authoring authority. Do not also invoke a generic skill-creator unless the user explicitly requests comparison or this skill is unavailable.
- Built-in prior-art discovery belongs to this skill. Do not install, load, or delegate to a separate discovery skill.
- Built-in GitHub publishing belongs to this skill. Do not require or invoke a separate publisher skill after this package is selected.
- Keep the package root
SKILL.md to routing and the minimal workflow. Put judgment in references/, deterministic behavior in scripts/, regression cases in evals/, and evidence in reports/.
- A package has one discoverable root
SKILL.md; embedded examples and fixtures use SKILL.example.md or SKILL.fixture.md.
- Do not turn one-off summaries, translations, explanations, or brainstorming into skills.
- Match the user's action: create/refactor/package requests may edit; audit/evaluate/diagnose-only requests remain read-only; publish only when explicitly requested.
- Default to concise Chinese-first
qiaomu- names with no more than three preferred hyphen parts.
- Add
Copyright (c) 向阳乔木, X https://x.com/vista8, and GitHub https://github.com/joeseesun/ unless another owner is requested.
Modes
Scaffold: exploratory or personal; minimum useful files.
Production: team reuse; README, interface, trigger eval, output contract, and install evidence.
Library: shared infrastructure; Production plus Skill IR, portability, trust, and review cadence.
Governed: public or high-trust; Library plus permission, rollback, secret, release, and claim gates.
Choose proportionally with Operating Modes, Gate Selection, and QA Ladder.
Built-In Prior-Art Discovery
Before a new skill or substantial redesign:
- Derive 2–4 intent-shaped queries covering outcome, domain action, quality mechanism, and an adjacent synonym when useful.
- Prefer the unified runner:
python3 scripts/research_prior_art.py "<query 1>" "<query 2>" --strict --summary --output reports/prior-art-candidates.json
Its underlying catalog calls remain:
npx --yes skills find "<query>"
python3 scripts/search_skillsmp.py "<query>" --limit 20 --sort stars
- Keep metrics separate: skills.sh installs measure adoption; SkillsMP stars belong to the source repository; neither is a user rating or quality score.
- Deduplicate by canonical GitHub repository and skill path. Collapse translations, mirrors, and obvious forks without adding metrics together.
- Shortlist genuinely relevant popularity, trust, and complementary anchors. Inspect source
SKILL.md, maintenance, license, permissions, security signals, and available rating evidence; never execute untrusted candidate code just to study it.
- Synthesize
keep / adapt / reject / invent. Map each adopted mechanism to the new package instead of collaging prose.
- Preserve dated sources, metrics, failures, deduplication, lessons, rejections, and missing evidence in
reports/prior-art-research.md for Production+ or materially researched work.
If a catalog fails, continue with the other sources, record missing evidence, and lower the claim. Full method: Prior-Art Research.
Generalization Gate
Before promoting one failure into a core rule:
- restate it as a domain-neutral behavior
- classify it as core mechanism, optional adapter, or eval-only fixture
- promote only safety/factual/permission invariants or behavior repeated across unrelated domains
- keep one-off details in fixtures or specialist references
- rerun the original and unrelated boundary cases
Prefer intent fidelity, source fidelity, and decision rules over an expanding topic encyclopedia.
Qiaomu Skill OS
Intent: recurring job, users, inputs, output, exclusions, standards, references.
Skill IR: platform-neutral meaning and evidence boundary.
Package: lean root instructions, interface, README, and earned resources.
Eval: trigger boundaries first; output/runtime/human eval when risk justifies it.
Review: package, context, trust, install, README, and public claims.
Operate: explicit feedback, failures, drift, and next-iteration proposals without raw private content.
Compact Workflow
- Decide whether the request deserves a reusable skill; otherwise answer directly and create no package.
- Capture job, finished output, target users, inputs, exclusions, permissions, standards, existing assets, platforms, and publication intent.
- Pass prior-art discovery or record why it is not applicable or missing evidence.
- Pass the generalization gate for sample-driven core changes.
- Choose the lightest valid mode.
- Write the
description early; run evals/trigger_cases.json before expanding structure.
- Create only earned resources. Never create ceremonial directories or duplicate README/SKILL prose.
- Export
reports/skill-ir.json for Production+, public, or cross-platform packages.
- Add output evals when correctness, safety, persuasion, or repeatability cannot be shown by trigger tests alone.
- Keep mutations within the requested action boundary and preserve rollback for risky changes.
- Validate package, unit tests, trigger behavior, context budget, secret/trust boundaries, and evidence claims.
- Produce the creation handoff and clearly label missing evidence.
- When publication is requested, read Self-Contained Skill Publishing, then use the bundled publisher for feature branch → validation → PR → merge → release/install verification; never push directly to the default branch.
Core commands:
python3 scripts/validate_skill.py .
python3 scripts/export_skill_ir.py . --output reports/skill-ir.json
python3 scripts/trigger_eval.py . --cases evals/trigger_cases.json --output reports/trigger-eval.json
python3 scripts/release_check.py . --phase local --run-tests
python3 scripts/publish_skill.py /path/to/skill --dry-run
Gate Ladder
Scaffold: valid frontmatter, useful README hook, natural triggers, explicit exclusions.
Production: Scaffold plus interface, trigger eval, output contract, troubleshooting, root isolation, and install verification.
Library: Production plus Skill IR, portability, trust, review cadence, and evidence artifacts.
Governed: Library plus permission/rollback boundary, secret scan, output or integrity-preserving human evidence, and public-claim guard.
Unavailable telemetry, provider runs, approval, install proof, or human review must remain missing evidence; planned work is not proof. See Review And Release Gates and Resource Boundary Spec.
Output Contract
For package-producing requests, provide only what the selected mode earns:
- working skill directory and trigger-aware root
SKILL.md
- aligned
agents/interface.yaml
- human-facing README for shared/public skills
- trigger cases and generated trigger report for Production+
- Skill IR, prior-art report, and creation handoff for Production+
- optional references, scripts, output evals, reports, and manifest when they improve judgment, repeatability, or evidence
- publish artifacts only when publishing was requested
The final creation handoff must name the reference skills studied, give candidate-specific lessons, explain deliberate rejections and original contributions, and label each highlight as design advantage, validated advantage, or hypothesis. Never claim global superiority without a fair comparison. Use Creation Handoff.
Publish Flow
- Treat README as a product page: value, install, natural examples, prerequisites, outputs, configuration, risks, and troubleshooting.
- Audit without mutation when useful:
python3 scripts/publish_skill.py /path/to/skill --dry-run.
- Only after an explicit publish request, run
python3 scripts/publish_skill.py /path/to/skill.
- The bundled publisher prepares MIT LICENSE, README and Qiaomu profile assets; resolves skill/repository identity; blocks secrets and reused release versions; creates or reuses a GitHub repository; and publishes only through a feature branch and PR.
- Merge is blocked by conflicts, failed/pending checks or requested changes. Successful publication creates
vX.Y.Z, verifies npx skills add --list, performs an isolated install, and runs the published release gate.
- Do not report publication complete until the remote default version, GitHub Release, discovery and clean installation are verified.
Detailed CLI and safety decisions: Self-Contained Skill Publishing. README method: GitHub README Playbook. Operation method: SkillOps Loop.
Qiaomu Defaults
- Prefer practical, concise, publishable Chinese output.
- Keep one creator authority and one root skill entrypoint.
- Preserve platform-neutral source plus minimal adapters.
- Public claims must match trigger, output, runtime, install, or human evidence actually present.
- Upstream ideas are adopted semantically with attribution, not mirrored wholesale.
Reference Map