Skill scaffold
Bring an agent-skill project up to the xsk standard, or refuse if the target is not an agent-skill project.From its SKILL.md
npx -y skills add xenonbyte/xsk --skill skill-scaffoldAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.8 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
xsk-skill-scaffold
Bring an agent-skill project up to the xsk standard, or refuse if the target is not an agent-skill project. The standard is self-owned and canonical: it lives in this skill, not in an external file that can drift.
When to use
Match the intent, not the exact words. Common cues:
- "scaffold skill project", "make this a skill installer", "conform to skill standard"
- "项目规范化", "agent 技能项目脚手架"
- any request to bring a project up to a multi-platform agent-skill installer standard
How it works
1. Gate first. Before mutating anything, decide whether the current directory is an agent-skill project: one that has, or is intended to have, a CLI that generates and installs skill files into agent config dirs. Heuristics: a bin/ plus skills/ or shared/ or templates/, or a package.json whose purpose is skill installation. If it is clearly not an agent-skill project (an application, a library with no install surface), error out with a one-sentence reason and stop. Do not mutate a non-agent-skill project.
2. Audit the project against the canonical checklist below. Record each item as met or missing, with the concrete file or gap.
3. Propose the gap-closing changes as a concrete, reviewable patch plan: which files to add or edit, with targets. Patch what is missing or non-conforming; do not rewrite the project wholesale.
4. Apply on approval. Wait for explicit approval, then make the changes: add the missing lib/ modules, wire the CLI commands, add templates, add README parity tests, add LICENSE. Do not apply before approval.
Canonical checklist (the standard this skill enforces)
- CLI surface:
version/--version/-v,help/--help/-h,install [--platform <list>],uninstall [--platform <list>],status(read-only), optionaldoctor. --platformis optional, comma-separated, defaults to all platforms; unknown and duplicate values are rejected.- Unknown options fail loud.
statusvalidates manifest shape, not just parse success.- Removed or renamed commands leave no stale references (grep-clean across CLI, help, README, generated text,
AGENTS.md,CLAUDE.md). - Four platforms covered: Claude Code, Codex, opencode, Gemini.
- User-invocable on every platform, not merely present. Installing a skill must make it invocable on each target platform. Platforms that do not auto-expose skill files as slash commands need a verified platform-specific invocation artifact carrying the skill body and the platform's argument placeholder so invocation arguments are not dropped. This project currently implements that artifact for opencode as a command file; do not claim it for another platform until adapter, install, uninstall, status, docs, and tests all cover that platform. Claude exposes skill files directly. Verify per platform rather than assuming.
- Manifest-backed install safety: owned-only removal, ownership markers, atomic writes, symlink refusal, and content-hash modification detection. The manifest records a hash per owned file; a previously generated install is recognized by that hash even without the marker (markerless detection), so a user-edited owned file is detected and refused or rolled back rather than silently overwritten.
installis uninstall-first: a reinstall resets the previously-owned files (pruning skills no longer installed) before regenerating, so no manualuninstallis needed. It still refuses to overwrite a user-edited owned file and rolls back instead of destroying it.- Built from source: skills are generated from a single per-skill source, not hand-maintained per platform or per file. The reference composes each skill from per-section fragments (
purpose,triggers,behavior,output) plus a shared common body and a template, with one registry listing the skills. The build is deterministic, and the committed packed skill output stays byte-for-byte in sync with the generator, enforced by a test. The golden snapshot below is the masked form of that output. - A golden snapshot of the generated skill shell, masking embedded
shared/body. - A bilingual README (
README.mdplusREADME.zh-CN.md) with identical headings, English literals preserved, and content-pinning tests. - Test coverage spans the install surface, not only generation and docs: install, uninstall, uninstall-first reset, transactional rollback, and the safety refusals (a user-edited owned file, symlinked paths) are exercised by executable tests, alongside the golden snapshot, README parity, and self-conformance tests.
Self-conformance
A project that ships this standard must conform to it itself. The machine-checkable part is an executable self-conformance test (the five core commands resolve, EN/CN README headings match, the manifest module and LICENSE exist, package.json carries the required fields). The remainder is this skill's judgment when applied to its own source.
Output
For a non-agent-skill project: a one-sentence refusal and stop, with nothing mutated.
For an agent-skill project: the audit result (each checklist item, met or missing), followed by the proposed patch plan. On approval, the applied changes. Then stop.
Conventions shared across xsk skills
- Triggers are matched by intent, not by exact wording. The phrases listed under "When to use" are cues, not a required incantation.
- Write in natural, direct prose. No formulaic openers, no filler conclusions, no restating the request before you answer it.
- When a decision would change the implementation, surface it as a short question and let the user decide. Do not pick silently.
- These are instruction skills. They shape how work is approached, not what the agent is technically capable of.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most project setup skills give in ~1.3k tokens
Counted across 999 of the 1,637 authors here whose files we hold, read 2026-08-07
- Ask one question at a timein 29 of 999, across 28 files
- Detect the package manager from lockfilesin 28 of 999, across 9 files
- Present findings to the userin 26 of 999, across 5 files
- Explore current repo statein 24 of 999, across 3 files
- Update the agent skills block in place if it existsin 24 of 999, across 3 files
- Install husky lint-staged and prettierin 23 of 999, across 4 files
- Create the lintstagedrc filein 22 of 999, across 3 files
- Commit all changed filesin 22 of 999, across 3 files
- Run lint-staged to verify it worksin 22 of 999, across 3 files
- Create the husky pre-commit filein 21 of 999, across 2 files
- Create a prettierrc file if missingin 21 of 999, across 2 files
- Initialize huskyin 21 of 999, across 2 files
Said here and by no other author read
- verify target is an agent-skill project
- error out on non-agent-skill projects
- audit project against the checklist
- record each checklist item as met or missing
- propose a patch plan for missing items
- patch missing files; do not rewrite wholesale
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.