skills-repo/.agents/skills/leanspec/SKILL.md
The spec-coding methodology for AI-assisted development. Use when planning features, creating/refining/implementing/verifying specs, or organising a project. Works with whatever spec backend your team already uses — local markdown, GitHub Issues, Azure DevOps, Jira — by delegating platform-specific details to a LeanSpec adapter.
npx skillsauth add codervisor/lean-spec leanspecInstall 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.
Teach agents spec coding: the practice of treating specs as durable
artifacts that drive development, not ephemeral planning notes. LeanSpec
provides the methodology and the leanspec CLI; each adapter (markdown,
GitHub Issues, ADO, Jira, …) speaks its backend's native language. The skill
is deliberately adapter-agnostic — never hard-code a status value, priority
name, or field key here.
Before reading, writing, or linking any specs, run:
leanspec capabilities -o json
The output is your source of truth. It tells you:
markdown, github, ado, …).status, priority, tags,
assignee, due_date) on this adapter.parent, depends_on, …).Use the returned enum values as the only valid vocabulary. If you want to move
a spec into the "working" state, look up the semantic status field, pick the
value the adapter calls "work is underway," and send that — don't assume it's
called in-progress.
Understand the current state of the project before touching anything.
leanspec capabilities -o json (session start).leanspec board to see the current shape of the project.leanspec search "<keywords>" to find related items.Capture intent as a new, durable artifact.
leanspec create <short-name> with every known field in a single call
(title, body, semantic fields like status/priority, tags, parent,
dependencies). Never create an empty item and then patch it.parent for hierarchy and depends_on for blockers — confirm
via capabilities).Make the spec implementation-ready before coding starts.
Execute against the refined spec.
leanspec view <id>), including parent, children, and
dependencies.leanspec update <id> using the adapter's declared status value.Close the loop against reality, not status.
Relationships are adapter-declared. Check capabilities.link_types. The two
most common shapes:
Decision flowchart:
Litmus test: "If item A didn't exist, would item B still make sense?" No → B is A's child. Yes → B depends on A.
leanspec update --content or edit the item body.leanspec update flags
(--status, --priority, --assignee, --add-tags, --remove-tags,
etc.) for adapter-declared fields. Each flag accepts values from the
adapter's capabilities. The skill never writes raw frontmatter or YAML.leanspec create.leanspec update.board / search before create.create. No empty-then-patch.capabilities if anything feels
ambiguous.development
The spec-coding methodology for AI-assisted development. Use when planning features, creating/refining/implementing/verifying specs, or organising a project. Works with whatever spec backend your team already uses — local markdown, GitHub Issues, Azure DevOps, Jira — by delegating platform-specific details to a LeanSpec adapter.
development
Watch GitHub Actions CI status for the current commit until completion. Use after pushing changes to monitor build results.
development
Run multiple AI coding agent sessions in parallel using git worktrees — each agent isolated in its own worktree, working on a separate branch. Use this skill whenever the user wants to: run two or more AI agents simultaneously on different features or bugs, set up isolated agent workspaces in the same repo, push parallel branches to GitHub and open/update PRs, coordinate between concurrent agent sessions, or clean up after merging. Triggers on: "parallel agents", "multiple agent sessions", "git worktree", "run agents in parallel", "work on two things at once", "isolated agent workspace", "spin up another agent", or any request involving simultaneous AI-assisted development streams.
development
Development workflows, commands, publishing, CI/CD, changelog management, and contribution guidelines for LeanSpec. Use when contributing code, fixing bugs, setting up dev environment, running tests or linting, working with the monorepo structure, looking up build/dev/test/publish/format/lint commands, preparing releases, publishing to npm, bumping versions, syncing package versions, testing dev builds, troubleshooting npm distribution, updating changelogs, triggering CI/CD workflows, monitoring build status, debugging failed runs, managing artifacts, checking CI before releases, or researching AI agent runners. Triggers include any development, scripting, publishing, CI/CD, changelog, or runner research task in this project.