agentleFS
rakaarwakyrakaarwaky/agents-arwaky/skills/skill-authoring/skill-create/SKILL.md

skill-create

Skill0 starsChanged 22 days agoMITView on GitHub

Create a SKILL.md from a described job.

  • Deletes or force-pushes

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use qa-phase, bkend-auth and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ww-w-aiSkill

    qa-phase

    Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.

    Also in 3 projects that use this

  • ww-w-aiSkill

    bkend-auth

    bkend.ai authentication guide. Signup, login, JWT tokens, sessions, role-based access control, and password management with bkend.ai BaaS. Triggers: bkend auth, bkend login, bkend signup, JWT, session, RBAC, password, bkend 인증, 로그인, 회원가입, bkend認証, ログイン, 新規登録, bkend认证, 登录, 注册, autenticacion bkend, authentification bkend, bkend-Auth Do NOT use for: data operations (use $bkend-data), file storage (use $bkend-storage).

    Also in 3 projects that use this

  • +10 more from ww-w-ai

The file

Files
SKILL.md

Skill Create

You author a new agent skill from a job description: SKILL.md, references/, and templates/ where relevant. One skill per invocation.

Purpose: build a publishable skill that reads clean, invokes correctly, follows the shared body shape and lint standard, and carries no duplicate content. Every fact lives once in a single authoritative home; flag and mode terms stay in lockstep across SKILL.md and its reference files.

Rules

IDRuleCheck
R1Interface changes ripple. The argument-hint plus every flag and safety-model mention must stay in lockstep. Grep the whole skill directory for each flag name and mode term before deciding an edit is done.Grep every flag name and mode term across body + references/; zero stale references after the edit.
R2One home per fact. Each rule, value, or list lives in a single authoritative place. When an edit touches an existing copy elsewhere, make the change and report the duplication instead of silently rewriting.No fact appears in two locations.
R3No no-op sentences. If a sentence does not change behavior, delete it or replace with a checkable criterion.Every sentence changes behavior or is deleted.
R4Set degrees of freedom. High (text steps) for context-dependent work; medium (parameterized scripts) when a preferred pattern exists; low (exact commands) for fragile, strict-sequence operations.DOF level chosen per step kind.
R5Budget for permanent cost. description: and when-to-use: are injected into the skill list every session; the body loads per use; references/*.md cost nothing until opened. Keep the two trigger fields non-overlapping.description: and when-to-use: non-overlapping; task-conditional content moved out of body into references.
R6Mandatory frontmatter. Exactly four keys: name, description, when-to-use, argument-hint; every other key is optional.Four mandatory keys present.
R7Frontmatter semantics. description: = WHAT + WHEN + trigger terms, third person. Trigger overflow goes in when-to-use:, never a triggers: key.description: covers WHAT + WHEN; no triggers: key.
R8YAML hygiene. Quote values containing : or indicator characters. Unclosed frontmatter makes the parser silently drop description and when-to-use.Values with : quoted; second --- verified immediately before # Title.
R9Structure. One SKILL.md per <category>/<skill>/SKILL.md. Body ~100–200 lines; detail in references/*.md; non-trivial logic in scripts/<file>.Body ~100–200 lines; every reference linked from SKILL.md.
R10Mandatory body shape. Exactly three sections: # Title, ## Rules, ## Routing. Stop conditions are Rules bullets, not their own heading. The rules table is always-on content and belongs in the SKILL.md body — never extract it to a separate reference file; a rules reference forces a second load to recover the governing rules, defeating the purpose of always-on body rules.grep ^## returns exactly ## Rules and ## Routing; no separate rules reference file exists.
R11Templates are the source of truth. template/skill.md is the canonical skeleton; template/reference.md the canonical reference shape.Create steps copy from template; no inline restatements.
R12Tracked catalog. sac catalog --build regenerates catalog.json. Rebuild after any frontmatter change.catalog.json rebuilt after every frontmatter change.
R13Safety model. All steps run autonomously by default. --dry-run generates the full report and stops before any snapshot or execute. Destructive actions go to _archive/ first.All steps proceed without confirmation; --dry-run stops before write.
R14Staging discipline. Use explicit top-level paths; never git add -A. Verify staged set with git diff --cached --name-only before committing.Staged set is exactly task files before commit.
R15Lane delegation for coding skills. Hermes orchestrates; Grok Build implements inside Orca worktrees. Two lanes: references/hermes/ and references/grok/.Hermes drops one brief per worktree; verifies inside worktree path.
R16Rollback. Snapshot SHA or git reset --hard <sha> is the undo path. A run that cannot commit falls back to report-only.Snapshot SHA recorded; git reset --hard <sha> used for rollback.
R17Parallel agents. Re-read at least one touched file after writes to confirm content is on disk. Keep commits scoped to task files.On-disk state re-verified; commits scoped to task files only.
R18mkdir -p before git mv. Always mkdir -p the destination directory before a git mv chain into a subdirectory.mkdir -p runs before every git mv into a subdirectory.
R19Patch escape-drift. On Escape-drift detected from a patch, read the full file and use write_file instead of retrying.Full file read and write_file on escape-drift failure.
R20Verify pack roots. default_pack_root() must return a path whose parents[N] IS skills/ — do not append "/skills" after it.default_pack_root().name == "skills"; sac catalog --build prints the correct path.
R21Success metric is checkable. State the objective "done" criterion in Rules or the owning step — a concrete check (sac lint passes, body matches template/skill.md, catalog rebuilt) — never a subjective adjective ("clean", "good", "complete").Every skill's done-criterion is a command or grep probe; no subjective adjective remains.
R22Route branches to the owning step. At a decision point, resolve to the one step file or template that owns the answer; a Whether/WHETHER branch is a Routing-table row, not a Rules restatement. Jika keputusan tidak jelas, rundingkan ke step yang memiliki, jangan mengarang cabang baru di Rules.Setiap percabangan punya satu pemilik: row Routing atau step; Rules tidak memuat cabang yang bisa dipilih sendiri oleh step.
R23Name the fallback, not "fix the error". When a run can fail (writer rejects frontmatter, sac lint unavailable, escape-drift on patch), name the diagnosis + recovery path in the owning step — fallback to write_file, fallback to the grep probe, fallback to report-only — never the bare instruction "perbaiki".Each failure mode's step names the trigger, the cause, and the concrete recovery command.

Routing

StepFilePurpose
0references/step-0-overview.mdCreate mode overview
1references/step-1-gather.mdGather name, category, scope, and job description
2references/step-2-trigger-fields.mdDraft and approve description: / when-to-use:
3references/step-3-directory.mdCreate the skill directory and subdirs
4references/step-4-writer.mdPick a writer by description length
5references/step-5-write-skill.mdWrite SKILL.md and supporting files
6references/step-6-verify.mdVerify and report; --dry-run ends here. Success metric + fallback per R21/R23.

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.