nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yumingtao/agent-skills
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Original, platform-neutral agent skills — prompt assets that work across Claude Code, Codex, Cursor, OpenCode, Windsurf, Gemini, GitHub Copilot, CodeBuddy, and Hermes.
No runtime dependencies, no network calls, no build step. Each skill is a self-contained folder of instructions; where a skill supports multiple platforms, the platform files are thin adapters that route every agent to the same shared behavior.
These skills were extracted from day-to-day development: each was used on real work, and its rules were written down here once they held.
Each of the six skills is complete on its own: install one and it works. Installed together, they sit on one engineering loop; see "Use one, or run them as a loop" below.
| Skill | What it does |
|---|---|
| diagram-generator | Turns architecture briefs and codebase notes into standalone HTML/SVG technical maps: system, implementation, infrastructure, trust, data movement, deployment, and process views. Full package: generation rules, planning IR, HTML template, validation script, per-platform smoke tests. |
| clarify-before-acting | A behavior rule for non-trivial requests: do your own homework first, reuse answers already in memory, work a question queue one item at a time until every direction-changing unknown is resolved, and never guess where direction is at stake. |
| insight-challenge | Adversarial verification of code-review findings. Challenges each claim with counter-evidence anchored to actual source code and emits structured verdicts — overturned / weakened / confirmed — instead of trusting findings as-is. |
| workflow-skill-designer | Meta-skill that designs orchestrator + phases workflow skills: a thin SKILL.md coordinator plus progressively loaded phases/ files, with TodoWrite patterns, inter-phase data flow, and validation checklists. |
| defect-detective | The first stop before fixing a bug — read-only triage for a defect signal (bug report, stack trace, or log) that answers: is this a known issue, who owns it, and what changed. Normalizes a stable fingerprint, searches the tracker for duplicates cross-stack, correlates recent changes when the implicated layer is known, and infers the owning team with an auditable evidence chain. Upstream of fix-it skills (triage, not repair); strictly read-only, with a ready-to-paste ticket draft but never files or mutates anything. Smoke-tested against a real Jira tracker (dedup hit and no-match paths) plus git blame correlation. |
| session-retrospective | End-of-session retro that logs development-workflow issues (wrong answers, skipped gates, wrong routing, MCP errors, skill/doc gaps, multi-turn corrections) as enum-validated JSONL signals — a recurring issue is a rule gap and its priority escalates; when nothing went wrong, one success entry, never fabricated. One phrase enters Fix Mode: items ordered by recurrence and priority, per-item proposals, one confirmation per item with an append-only audit trail, running from the log alone across sessions. Ships a zero-dependency validation script (Node 18+) that machine-checks log health and recurrence groups. The signal-data layer: machine-aggregable output, complementary to report- and memory-style retro skills. Smoke-tested on a real session across both the main path and the corrupted-line exception. |
Install any one skill and it finishes its own job. Installed together, they sit on one engineering loop: an arrow is an optional handoff, and you stop at the station the task needs.
flowchart LR
gate["clarify-before-acting<br/>direction gate"]
diagram["diagram-generator"]
insight["insight-challenge"]
defect["defect-detective"]
retro["session-retrospective<br/>close the loop"]
meta["workflow-skill-designer<br/>meta-skill"]
gate --> diagram
gate --> insight
gate --> defect
diagram --> retro
insight --> retro
defect --> retro
retro --> meta
Arrows are handoffs. When an upstream skill is absent, the current skill continues under its own rules.
| Station | Skill | On its own | Together |
|---|---|---|---|
| Direction gate | clarify-before-acting | Resolves goal, constraints, success, and context, then hands off a task contract | When direction is unclear, pass through it before any execution station |
| Execution | diagram-generator | Turns a brief into a standalone HTML/SVG diagram | When the lens or scope is unclear, pass through the gate first |
| Execution | insight-challenge | Turns one review finding into overturned / weakened / confirmed | At session end, systemic misjudgments go to the closer |
| Execution | defect-detective | Read-only answer to whether it is known, who owns it, and what changed, plus a ticket draft | A thin fingerprint goes through the gate first; a mis-triage goes to the closer; freezing the pipeline as a team workflow goes to the meta-skill |
| Closer | session-retrospective | Writes this session's systemic misses to JSONL, and can fix them one by one | Any working session can be logged; a recurring "a workflow is missing" goes to the meta-skill |
| Meta-skill | workflow-skill-designer | Designs an orchestrator + phases skill package | Turns a loop that keeps recurring into a new skill. The generated skill runs its own phases |
Three combinations you can follow as written:
clarify-before-acting, then defect-detective. Filing and the fix stay on your own write path. Close the session with session-retrospective.insight-challenge emits the verdict. A misjudgment is logged to session-retrospective at session end.session-retrospective goes to workflow-skill-designer.Each skill is standalone — copy or symlink only what you need.
ln -s /absolute/path/to/agent-skills/skills/<skill-name> ~/.claude/skills/<skill-name>
ln -s /absolute/path/to/agent-skills/skills/<skill-name> ~/.codex/skills/<skill-name>
AGENTS.md (Cursor / OpenCode / Windsurf), GEMINI.md, COPILOT-INSTRUCTIONS.md, CODEBUDDY.md, HERMES.md — see its README.SKILL.md as an instruction file.Install any skill directly from SkillHub:
# Install the CLI once
curl -fsSL https://skillhub.cn/install/install.sh | bash
# Install a skill (namespace: user_95900c57)
skillhub install yumingtao-diagram-generator --namespace user_95900c57
skillhub install yumingtao-clarify-before-acting --namespace user_95900c57
skillhub install yumingtao-insight-challenge --namespace user_95900c57
skillhub install yumingtao-workflow-skill-designer --namespace user_95900c57
skillhub install yumingtao-defect-detective --namespace user_95900c57
skillhub install yumingtao-session-retrospective --namespace user_95900c57
Install any skill from the ClawHub global registry:
# Install the CLI once
npm i -g clawhub
# Install a skill (owner: yumingtao)
clawhub install yumingtao/diagram-generator
clawhub install yumingtao/clarify-before-acting
clawhub install yumingtao/insight-challenge
clawhub install yumingtao/workflow-skill-designer
clawhub install yumingtao/defect-detective
clawhub install yumingtao/session-retrospective
No sign-up required — skills are indexed directly from this public repository. Install via the skills CLI:
# Install all six skills at once
npx skills add yumingtao/agent-skills
# Or install a single skill
npx skills add yumingtao/agent-skills --skill diagram-generator
npx skills add yumingtao/agent-skills --skill clarify-before-acting
npx skills add yumingtao/agent-skills --skill insight-challenge
npx skills add yumingtao/agent-skills --skill workflow-skill-designer
npx skills add yumingtao/agent-skills --skill defect-detective
npx skills add yumingtao/agent-skills --skill session-retrospective
Each skill ships as its own npm bundle, so you can install only what you need. Pick one of the two methods below.
dsh plugin --profile web add yumingtao-diagram-generator
dsh plugin --profile web add yumingtao-clarify-before-acting
dsh plugin --profile web add yumingtao-insight-challenge
dsh plugin --profile web add yumingtao-workflow-skill-designer
dsh plugin --profile web add yumingtao-defect-detective
dsh plugin --profile web add yumingtao-session-retrospective
On first boot of the web profile each bundle copies its skill directory into
~/.agents/skills (the user-global skill root shared by DSH and Codex CLI).
Add the market index, then install any skill. Pick one index URL:
# Option A — jsDelivr CDN (recommended; may cache `@main` for minutes to hours)
dsh plugin index add https://cdn.jsdelivr.net/gh/yumingtao/agent-skills@main/docs/market/index.json
# Option B — GitHub raw (always fresh, no CDN cache)
dsh plugin index add https://raw.githubusercontent.com/yumingtao/agent-skills/main/docs/market/index.json
# Option C — local file (for offline / development)
dsh plugin index add file:///path/to/agent-skills/docs/market/index.json
Install:
dsh plugin install diagram-generator
dsh plugin install clarify-before-acting
dsh plugin install insight-challenge
dsh plugin install workflow-skill-designer
dsh plugin install defect-detective
dsh plugin install session-retrospective
With the market index, skill content is fetched from
github.com/yumingtao/agent-skillsat the pinned commit recorded in the index, regardless of which index URL you use. The CDN/raw choice only affects how the index file itself is delivered.
sync/ is a generalized "one source → many platforms" distributor for the whole collection. A platform target receives the canonical skill folder as a symlink (default) or as a materialized copy.
sync/apply.sh --dry-run # preview
sync/apply.sh # link into every detected platform
sync/apply.sh --platform claude --skill insight-challenge # narrow scope
sync/apply.sh --to ./ --platform cursor # project-local install
sync/check.sh # verify nothing drifted
The distribution map lives in sync/manifest.sh — see sync/README.md.
phases/ / specs/ / references/ loaded on demand.drawio-first output mode for diagram-generator (needs dedicated mxGraphModel rules, a template, and import validation)MIT. Skills in this collection are released under the same MIT terms.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、prompt。