apps/backend/src/swarm/skills/builtins/create-skill/SKILL.md
Use when creating, refining, or validating reusable global, project, or repository skills, including trigger wording, templates, helper scripts, and validation checks.
npx skillsauth add a-mart/forge create-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user wants a reusable agent skill instead of a one-off answer, ad hoc shell script, slash command, prompt tweak, or Forge/Pi extension.
Use this skill when the request is about one or more of these:
SKILL.md, helper script, template, or validation flow,~/.forge/profiles/<profileId>/pi/skills.<repo>/.forge/skills, are checked in with the repository, and are discovered for sessions using that repo.--repo-root; nested directories and non-Git directories are rejected.scripts/scaffold-skill.mjs to create a safe starting point.scripts/validate-skill.mjs before handoff.Read only what you need:
references/locations.md — scope selection, storage paths, and the Forge profile/repo terminology note.references/design-checklist.md — frontmatter, trigger, checklist, guardrail, and report rubric.references/scripts-vs-instructions.md — when to keep logic in markdown vs helper scripts.templates/minimal-SKILL.md.tmpl — lightweight instruction-only starting point.templates/scripted-SKILL.md.tmpl — starting point for skills that should call helper scripts.templates/helper-script.mjs.tmpl — dependency-free Node ESM helper script skeleton.name, description, optional env).name, description, and optional env declarations.SKILL.md when judgment and sequencing matter more than determinism.Run from this skill directory, or resolve the absolute paths from the skill root:
node ./scripts/scaffold-skill.mjs --name my-skill --scope global --data-dir "${SWARM_DATA_DIR}"
node ./scripts/scaffold-skill.mjs --name my-skill --scope project --project-id my-profile --data-dir "${SWARM_DATA_DIR}" --template scripted
node ./scripts/scaffold-skill.mjs --name my-skill --scope repo --repo-root "/path/to/git-repo-root"
node ./scripts/validate-skill.mjs <skill-root>
When you finish, report with this shape:
skill: skill namescope: global | project | repolocation: absolute skill root pathfiles: created/updated filesvalidation: commands run and resultsguardrails: approvals, overwrite decisions, or built-in-skill redirectsopen questions: only if something remains unresolveddata-ai
Use when substantial manager-led work needs durable visible progress, worker evidence links, review gates, blocker tracking, or handoff across pauses, stops, compaction, restart, or model changes. Do not use for quick answers or routine one-step work.
tools
Author repo-root .forge project resources, including skills, specialists, reference docs, Project Agent definitions, Forge extensions, and Pi extensions/settings.
tools
Create, update, list, and delete global slash commands.
development
Update persistent swarm memory in ${SWARM_MEMORY_FILE} when the user explicitly asks to remember, update, or forget durable information.