Portable library
Skills
A skill is a folder with a SKILL.md file that teaches an LLM coding agent a whole task, started with a slash command. A skill has no values of its own: it uses the Project details of the rules it relies on.
Slash commands
13 skillsEvery skill here starts only when you type its command; the LLM never starts one on its own.
-
Build the roadmap and the documents
/build-roadmap-and-docs [description or piece]Builds the documents that
roadmap-and-docs.mddescribes, from a description of the project, its code, or both: the numbered core documents, decision records, a spec for each part, a roadmap of milestones and checkable tasks with a backlog, the feature list, and the agent guide, update map, and status lines that point to them. It surveys the code and runs its checks first, so nothing is called built that isn't. It proposes the goals, milestones, and decisions for you to approve, drafts every decision asProposeduntil you accept it, and records existing code as a first milestone whose tasks are ticked only when their tests pass. It ends with a check that every cited task and decision record exists and that dependencies run in order. Given one piece, such asroadmap, it builds only that piece and what it needs. It relies onroadmap-and-docs.md,commits.md, andwriting.md, and usesdependencies.mdandtesting.mdwhere they are adopted. -
Add tasks to the roadmap
/add-roadmap-tasks [work]Extends
/build-roadmap-and-docsto work that comes up once the roadmap exists: a feature, a bug, an issue, or a backlog item whose trigger has happened. It first checks whether a task, the backlog, or the code already covers the work, and whether a non-goal or a decision rules it out. It places each new task in the first open milestone whose goal the work serves, with the next ID that milestone has never used, and writes it in the roadmap's shape, with its dependencies, acceptance criteria, and exact checks. In the same change, it updates the documents the work touches: planned spec sections, decision records drafted asProposed, the feature list, the milestone's gate, the agent guide, and the status counts. It proposes every change before it writes, and never ticks a task or rewrites a finished one. Withbacklog:, it adds a backlog item with its trigger instead, and given nothing, it finds work the documents promise that no task covers. It relies onroadmap-and-docs.md,commits.md, andwriting.md, and runs the roadmap check frombuild-roadmap-and-docs, so adopt that skill too. -
Work the next roadmap task
/next-task [task-id]Works through the roadmap one task at a time. It picks the next unblocked task (or the one named), asks the questions and checks the decisions the task depends on, makes the smallest complete change, runs the task's checks, ticks the box only when they pass, updates the documents, and reports what ran and what didn't. It relies on
roadmap-and-docs.md,commits.md, andwriting.md, so adopt those first. -
Correct documentation drift
/fix-doc-drift [scope]Finds statements in the documentation that no longer match the code, the tools, or the project's records, and corrects them. The scope is a path, an area, a Git range, or, when empty, every document. It decides which side is wrong before it edits, asks wherever a spec or decision may be right and the code wrong, leaves the records of the past alone, and suggests checks that would catch the same drift next time. It relies on
writing.mdandcommits.md, and usesroadmap-and-docs.mdwhere it is adopted. -
Draw or rebuild the architecture diagrams
/draw-diagrams [file or view]Draws formal architecture diagrams of the project as Mermaid in Markdown, in
diagram/or the folderroadmap-and-docs.mdnames: C4 views, UML class, component, and sequence diagrams, data-flow, state, data-model, and deployment diagrams. Built parts are solid and planned ones dashed with their task, and every file records the commit it was drawn from, so later runs rebuild only the diagrams whose sources changed. It relies onroadmap-and-docs.md,commits.md, andwriting.md. -
Cluster the roadmap into phase gates, or check a gate
/phase-gates [plan | phase ID]Clusters the roadmap's tasks into phases by dependency, risk, and deliverable, and gives each phase a gate of checkable criteria: integration, budgets, the full check, open work, decisions, documents, and risks. Given a phase, it evaluates that gate with evidence gathered in this session and records the result, and you confirm a pass. Empty, it shows every gate's state. It relies on
roadmap-and-docs.md,commits.md, andwriting.md. -
Sweep the code for bugs and dead code
/sweep-code [scope]Scans the code for bugs and dead code: the bugs tools miss, from dropped errors to races, and unreachable code, unused declarations, files, and dependencies, and suppressions that hide nothing. It proves each finding with a failing test, a traced path, or a check of every way the code could be reached, and shows them all before it changes anything. It fixes only what you approve, one change at a time, with a regression test for each bug. It relies on
commits.md,writing.md, and the language rules, and usesroadmap-and-docs.mdandpair-programming.mdwhere they are adopted. -
Find and patch security vulnerabilities
/security-sweep [scope]Finds and patches security vulnerabilities. It starts from a threat model of what an attacker would want and where data comes in, then checks the Git history for secrets, the dependencies for known vulnerabilities and supply-chain risks, the code against a checklist of weaknesses numbered as in the Common Weakness Enumeration (CWE), and the continuous integration (CI) workflows for script injection and unpinned actions. It proves each finding with a local test, never against a deployed system, never uses a secret it finds, and keeps findings private until you decide how to disclose them. It patches only what you approve, each with a regression test. It relies on
commits.md,writing.md, and the language rules, and usesroadmap-and-docs.mdandpair-programming.mdwhere they are adopted. -
Simplify long or convoluted code
/simplify-code [scope]Finds code that is longer or more convoluted than its job requires, such as deep nesting, long functions, copied code, and layers that only forward calls. It simplifies the parts you approve without giving up any functionality: every input, output, error, side effect, edge case, option, supported platform, and performance budget stays as it was. It first checks why code is long, because much length is functionality, pins the current behavior with tests, and then makes one simplification at a time. It relies on
commits.md,writing.md, and the language rules, and usesroadmap-and-docs.mdandpair-programming.mdwhere they are adopted. -
Build a course
/build-course <description>Builds a whole course from a description such as "numerical methods for second-year engineers, 12 weeks". It proposes a plan for you to approve, with the learning objectives, modules, assessments and their weights, policies, and a table that ties each objective to where it is taught and tested. Then it builds the syllabus, a Markdown reading and practice for each module, interactive Jupyter labs, LaTeX problem sets and exams whose answer keys come from the same source, graded notebooks through nbgrader, and a Jupyter Book website that leaves the keys out. It runs every notebook, compiles every document, and checks the website for leaked answers. Given an existing course's code, it continues from the plan's checklist. It relies on
teaching-materials.md,commits.md, andwriting.md. -
Build language packs
/build-language-packs [languages] [scope]Translates an app's user-facing text into Mandarin Chinese, Hindi, Spanish, Standard Arabic, French, Bengali, Portuguese, Indonesian, and Urdu, as one language pack each, in the app's own localization format. It first fixes source strings that can't be translated well, such as sentences built from pieces, and asks you to choose each language's variant and form of address. It writes every plural form each language needs, keeps placeholders and markup intact, lays out Arabic and Urdu right to left, and checks the keys, placeholders, plural forms, scripts, lengths, and fonts. Every translation stays a draft: each language gets a sheet with its glossary and a review list for a fluent reviewer. A later run translates only the strings that changed. It relies on
writing.md,commits.md, and the platform rules, and usesroadmap-and-docs.mdwhere it is adopted. -
Set up a repository on GitHub
/set-up-github [pieces]Writes the files GitHub reads, fitted to the project: a CodeQL code-scanning workflow with every action pinned to a commit, a Dependabot configuration for each package manager it finds,
SECURITY.md,CONTRIBUTING.md, issue forms, a pull request template, andCODEOWNERS. It also writes a.gitignorefrom the adopted language rules, which keeps build output and secrets out and lock files and the Gradle wrapper in. It takes code owners, security contacts, and promises only from you, merges into existing files instead of replacing them, and lists the repository settings that only an administrator can change rather than changing them. It relies oncommits.md,writing.md, and the language rules, and usesroadmap-and-docs.mdandteaching-materials.mdwhere they are adopted. -
Apply the Apache License 2.0
/apply-apache-license [pieces] [check]Puts a project under the Apache License 2.0 and keeps it there. It copies the license's text, fetched from apache.org and checked against its hash, into the root and into every crate, module, and package that is built or published on its own, and sets each manifest's license field. It adds the license's header, with the copyright holder you name, to every source file the project wrote, in each language's comment syntax and below the lines that must come first, and leaves third-party and generated code alone. It keeps a
NOTICEof the third-party software each release contains, and, if you choose, the software it only downloads, builds, or tests with, giving each one's version, license, and copyright, and it copies their license files. It flags licenses for you to decide on, such as copyleft ones, rather than give legal advice, and can follow the REUSE specification so a tool checks every file. Withcheck, it only reports what is missing or out of date. It relies oncommits.mdandwriting.md, and usesdependencies.md, the language rules,teaching-materials.md, androadmap-and-docs.mdwhere they are adopted.
No skills match
Try a shorter word, such as a language or a tool.