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

skill-improve

Skill0 starsChanged 23 days agoMITView on GitHub

Improve an existing SKILL.md against the lint standard.

  • Deletes or force-pushes

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use test-flakiness, team-live-ops 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.
  • lilangMaxSkill

    test-flakiness

    Detect non-deterministic (flaky) tests by reading CI run logs or test result history. Aggregates pass rates per test, identifies intermittent failures, recommends quarantine or fix, and maintains a flaky test registry. Best run during Polish phase or after multiple CI runs.

    Also in 12 projects that use this

  • lilangMaxSkill

    team-live-ops

    Orchestrate the live-ops team for post-launch content planning: coordinates live-ops-designer, economy-designer, analytics-engineer, community-manager, writer, and narrative-director to design and plan a season, event, or live content update.

    Also in 11 projects that use this

  • +10 more from lilangMax

The file

Files
SKILL.md

Skill Improve

You audit and repair an existing SKILL.md against the shared lint standard in one pass. One skill (or a category tree, or the whole skills root) per invocation.

Purpose: make the target skill follow the body shape, pass sac lint, and satisfy the pre-publish checklist — without losing the skill's intent.

Rules

IDRuleCheck
R1Interface changes ripple. Grep the whole skill directory for each flag name and mode term; a retired flag that still governs a step file silently re-imposes old behavior.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 a copy elsewhere, report the duplication instead of silently rewriting.No fact appears in two locations.
R3Splitting language monoliths. When a Pattern B pipeline carries per-language monolith references and the user asks for `step-<N>[abc]` variant naming: find the phase boundary and split there; shared preamble stays with step 1; tails move to the later step; old monolith filenames are removed.Phase boundary located; old monolith filenames removed from tree.
R4No 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.
R5Solve the class, not the instance. Fix bad output where the fact is owned, not with a downstream check. Check every generalization against at least two concrete instances.Every fix located at the fact's owner.
R6Set degrees of freedom. High for context-dependent work; medium for parameterized scripts; low for fragile strict-sequence operations.DOF level chosen per step kind.
R7Budget for permanent cost. Keep trigger fields non-overlapping; move task-conditional content out of body into references.description: and when-to-use: non-overlapping.
R8Mandatory frontmatter. Exactly four keys: name, description, when-to-use, argument-hint.Four mandatory keys present.
R9Frontmatter semantics. description: = WHAT + WHEN + trigger terms, third person. No triggers: key.No triggers: key present.
R10YAML hygiene. Quote values containing : or indicator characters. Verify the second --- sits immediately before # Title.Second --- verified; bad quoting fixed.
R11Grok Build parser limits. name ≤ 64 chars; description and when-to-use ≤ 1,024 chars; top-level version:, triggers:, entry_points: are ignored.Size and key checks pass.
R12Structure. One SKILL.md per <category>/<skill>/SKILL.md; body ~100–200 lines; detail in references/*.md.Body size and structure verified.
R13Mandatory body shape. Exactly # Title, ## Rules, ## Routing. No other ## headings in the body. 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.
R14Audit standard. sac lint is the mechanical gate; references/step-4-validator-catalog.md holds the full rule catalog. --improve fixes every flagged issue.sac lint passes; every flagged issue fixed.
R15Tracked catalog. sac catalog --build regenerates catalog.json. Rebuild after any frontmatter change.catalog.json rebuilt after every frontmatter change.
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; rollback path documented.
R17Safety model. All steps run autonomously by default. --dry-run generates the full report and stops before any write.All steps proceed without confirmation; --dry-run stops before write.
R18Parallel agents. Re-read at least one touched file after writes. Keep commits scoped to task files; never git add -A.On-disk state re-verified; commits scoped to task files.
R19Staging discipline. Use explicit top-level paths; verify staged set with git diff --cached --name-only before committing.Staged set is exactly task files before commit.
R20Lane delegation for coding skills. Hermes orchestrates; Grok Build implements in Orca worktrees.Two lanes present for coding skills.
R21mkdir -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.
R22Patch escape-drift. On Escape-drift detected, read the full file and use write_file instead of retrying.Full file read and write_file on escape-drift.
R23Verify 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".
R24Objective success metric. A target skill's completion criteria must be machine-verifiable (sac lint passes, grep matches exact heading, cargo/pytest exits 0). Replace subjective criteria ("high quality", "clean code", "well structured").No subjective quality adjectives remain in Rules or step files.
R25Scope & iteration ceilings. Every target skill must state explicit scope ceilings (max files touched, max iterations before stopping, and forbidden actions) so agents do not drift or loop.Scope boundaries and stop conditions are present in the target skill.
R26Branching & failure fallback. Decision branches map to IF condition -> action (or owned step). Failure fallbacks name the exact error/cause and concrete recovery path.No "fix if error" without named cause and recovery path.

Routing

StepFilePurpose
0references/step-0-overview.mdImprove mode overview
1references/step-1-scope.mdResolve the target skill set from the path
2references/step-2-body-format.mdEnforce # Title / ## Rules / ## Routing shape
3references/step-3-frontmatter-keys.mdFull frontmatter key reference
4references/step-4-validator-catalog.mdWhat sac lint enforces, rule by rule
5references/step-5-naming-detail.mdNaming conventions and rename mechanics
6references/step-6-description-detail.mdDescription writing rules
7references/step-7-content-detail.mdBody content rules
8references/step-8-prepublish-checklist.mdPre-publish checklist
9references/step-9-category-placement.mdCategory-placement audit
10references/step-10-information-distribution.mdInformation-distribution test
11references/step-11-reference-pattern.mdReference-pattern decision (Patterns A/B/C)
12references/step-12-apply.mdApply the edit recipe; verify with lint
13references/step-13-pattern-b-variants.mdRestructure references into `step-<N>[abc]` variants

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.