ask-write-skill
Write Skill: Creates and revises skills and guardrails from reusable workflow gaps. Use when making a skill or when agent behavior exposes a routing gap.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- ask-write-skill
- triggers
- [ "create skill", "revise skill", "skill design", "trigger-focused", "write skills", "improve skills", "skill improvement", "skill gap", "workflow improvement", "routing gap", "missing guardrail", "prompt pack improvement", "reusable improvement", "agent missed", "auto improvement" ]
- description
- Write Skill: Creates and revises skills and guardrails from reusable workflow gaps. Use when making a skill or when agent behavior exposes a routing gap.
- execution_tier
- standard
- disable-model-invocation
- true
03 SKILL.md 正文
Writing ASK Skills
Two modes: (1) create or revise skills that improve agent judgment, (2) capture reusable workflow gaps observed during sessions.
Creating skills
Design rules
- The description says when to use, not how the skill works.
- Length follows the steps: inline what every run needs, so it cannot be skipped, and cut what changes no behavior. Disclose into
references/only a branch that just some runs reach. - Prefer one clear pattern over a long manifesto.
- Add support files only when the main file would become reference-heavy.
- Make autonomous progress the default when the goal is clear.
- General skills should not hardcode branded artifact trees or repo-local folder conventions.
- Encode hard gates only for failures that are expensive and common.
- Treat the description and any always-loaded pointer line as a context pointer: its wording decides when the material is reached. Front-load the leading word, give one trigger per distinct branch (synonyms are one branch written twice), and cut identity the body already carries. Sharpen a weak pointer before inlining its target.
- End every step with a completion criterion the agent can check and that demands full coverage ("every changed function has an intent comment"). A vague bound ("understanding reached") invites stopping early; sharpen the bound before hiding later steps.
- Spend the two loads on purpose. Always-loaded text costs context on every turn, and a document with no pointer costs the human an index of what exists. Keep the steps in
SKILL.md, and push reference that only some branches need behind a pointer to a one-levelreferences/file.
Design test
- What mistake will the model make without this skill?
- What is the smallest guidance that prevents that mistake?
- Does this skill help discovery, or does it just add ceremony?
- Can the agent tell done from not done at the end of each step?
Capturing workflow improvements
When agent behavior reveals a reusable gap:
- State observed gap: what was missed, guessed, repeated, or done too late.
- Propose smallest durable fix: skill text, router hint, plugin behavior, or issue-flow guidance.
- Prefer updating an existing skill over creating a new one.
- If implementing immediately, still create or reuse a tracking issue in the skill-pack source repo.
- If not implementing now, create follow-up issue with evidence and concrete proposed fix.
Hooks
- After review or verification, check whether session exposed reusable workflow gap.
- If yes, load this skill before ending session cold.
- If improvement is clear and small, implement directly. Even after direct fix, create or reuse source-tracking issue.
Good candidates
- Same missed step appears across multiple sessions
- Skill lacks obvious guardrail or ordering rule
- Router should bias toward better skill in recurring situation
- Issue creation, review, or verification misses common safety check
Use with
session-reviewwhen improvement should become a tracked issuecode-reviewwhen improvement was discovered during reviewverificationwhen session is closing and reusable learning should not get lost
Avoid
- Filing issue for one-off typo or isolated repo bug
- Creating new skills when existing one can absorb guidance
- Vague meta-issues without observed pattern or proposed change
- Descriptions that summarize workflow instead of saying when to use
- Repo-specific path recipes in generic skills
04 同仓库更多 Skills
ask-verification
Verification: Proves work is fixed or ready and cleans up changed repos. Use before claiming something works or handing off.
ask-text-writing
Text Writing: Writes emails, posts, articles, bios, READMEs, and docs that sound human and avoid AI writing patterns. Use when drafting or rewriting prose.
ask-summary
Summary: Explains what changed and what is proven, walks through code, or re-pitches unclear output. Use when work is done or the user asks what changed.
ask-session-review
Session Review: Reflects on skill usage and gaps and files GitHub issues from bugs, findings, or follow-ups. Use after completing work.
ask-research
Research: Does bounded fact-finding across the repository, docs, code, or external sources. Use when a question needs evidence before an answer or decision.
ask-observability
Observability: Adds or improves logging, metrics, tracing, and alerting. Use when telemetry cannot explain a production issue.