skills/bootstrap/SKILL.md
Bootstraps `.skills/planning.json`, `.skills/execution.json`, and `.skills/conventions.json` for a repository, and can also scaffold a wiki knowledge layer next to the planning feature directory. Use when a user asks to configure a project, initialize `sirius-skills` settings, apply generic defaults, add Jira-oriented conventions, or bootstrap the repo's wiki skeleton.
npx skillsauth add sirius-cc-wu/sirius-skills bootstrapInstall 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.
This skill configures the repository-local .skills/ files used by sirius-skills.
When requested, it also scaffolds a lightweight wiki layer with features/,
concepts/, concepts/architecture/, index.md, and log.md. The wiki root
is derived from the parent directory of planning_dir, so it stays next to the
feature planning tree. When the target repository already has an AGENTS.md,
bootstrap also patches it with a small wiki-architecture guidance block derived
from that same wiki root.
It supports three modes:
default: write the supported config files with generic defaultsjira: write the supported config files plus Jira-oriented conventionsask: ask the user which mode to use before writing any configChoose the mode from the user request:
default.jira.ask and stop to ask which mode they want.Do not silently assume Jira. The only time this skill should ask the user to choose a mode is the explicit ask path.
Read these files when they exist:
.skills/planning.json.skills/execution.json.skills/conventions.jsonPreserve unrelated keys in existing JSON files. This skill should only update the supported configuration surface it owns.
Use these defaults unless the user asked for different values:
planning_dir: docs/featuresproposal_dir: docs/proposalsdesign_diagram_mode: embeddedslice_dir: slicespreferred_workflow: TDDauto_start_implementation: trueIn both default and jira mode, seed .skills/conventions.json with these
generic slice-ID defaults unless the repo already overrides them:
slice_id_style: scope_prefixslice_id_format: {scope_prefix}-{capability_slug}slice_id_scope_precedence: subfeature_then_featureslice_id_prefix_source: slug_aliasslice_id_prefix_guidance: Use a short lowercase alias derived from the feature or subfeature slug and avoid bare 'slice-*' IDs.For jira mode, use these preset conventions unless the user supplies project-specific values:
issue_sliceer: jiraid_pattern: ^[A-Z][A-Z0-9]*-[0-9]+$branch_extract_pattern: ^([A-Z][A-Z0-9]*-[0-9]+)-(.+)$commit_format: {ID}: {summary}pr_title_format: {ID}: {summary}issue_url_template: https://jira.example.com/browse/{ID}If the user already gave a real Jira URL, use it instead of the placeholder.
If the user also wants a wiki scaffold, derive the wiki root from the parent
directory of planning_dir.
Examples:
planning_dir = docs/features -> wiki root docs/wikiplanning_dir = planning/features -> wiki root planning/wikiThe scaffold layout under that derived root is:
<planning-parent>/wiki<planning-parent>/wiki/concepts/architecture<planning-parent>/wiki/features<planning-parent>/wiki/concepts<planning-parent>/wiki/index.md<planning-parent>/wiki/log.mdAGENTS.md gains or refreshes a bootstrap-managed
section pointing architecture pages at the derived wiki root when AGENTS.md
already existsDo not assume the wiki should be created unless the user asked for it.
Use the bundled helper to create or update the files deterministically:
python3 skills/bootstrap/scripts/bootstrap.py --mode default
Add --wiki when the user also wants the wiki scaffold:
python3 skills/bootstrap/scripts/bootstrap.py --mode default --wiki
Jira mode:
python3 skills/bootstrap/scripts/bootstrap.py \
--mode jira \
--issue-url-template "https://jira.example.com/browse/{ID}"
If the user wants custom planning or execution layout, pass those values too:
python3 skills/bootstrap/scripts/bootstrap.py \
--mode default \
--wiki \
--planning-dir planning/features \
--proposal-dir planning/proposals \
--design-diagram-mode linked_svg \
--slice-dir specs \
--workflow TDD \
--auto-start-implementation
After running the helper:
--wiki was used, confirm <wiki-root>/index.md,
<wiki-root>/log.md, <wiki-root>/features/,
<wiki-root>/concepts/architecture/, and
<wiki-root>/concepts/ existAGENTS.md already exists, confirm it now mentions the derived
<wiki-root>/concepts/architecture/ path without duplicating the bootstrap
guidance block on rerunsIf the helper reports invalid existing JSON, surface that error instead of overwriting the file blindly.
When the request does not choose default or jira, ask the user which mode to apply before running the helper.
Recommended choices:
defaultjiraOnce the user chooses, continue with the matching workflow above.
Successful runs should leave the repository with:
.skills/planning.json.skills/execution.json.skills/conventions.jsonWhen --wiki is used, successful runs should also leave the repository with:
<wiki-root>/index.md<wiki-root>/log.md<wiki-root>/features/<wiki-root>/concepts/architecture/<wiki-root>/concepts/AGENTS.md wiki-architecture section when AGENTS.md already
existsThe generated wiki scaffold is intentionally generic. Bootstrap now adds a small
default AGENTS.md guidance block when that file already exists, and
repositories can refine the rest of their wiki rules later without changing the
bootstrap defaults.
When .skills/planning.json includes design_diagram_mode: "linked_svg", planning/design skills should place diagram source and generated SVGs under <feature_path>/figures/, link the SVGs from system-design.md, and keep the figures on an explicit white background using skinparam backgroundColor white plus a white SVG canvas rect.
Request: "Configure this repo for sirius-skills with the default setup."
Action:
default mode..skills/conventions.json with the generic scope-prefixed slice-ID defaults when it does not already exist.Request: "Configure this repo for sirius-skills and scaffold the wiki."
Action:
default mode.--wiki.planning_dir (for the default layout, docs/wiki/features/,
docs/wiki/concepts/, and docs/wiki/concepts/architecture/).AGENTS.md now points architecture pages at the same
derived wiki root.Request: "Set this project up with Jira conventions."
Action:
jira mode..skills/conventions.json.Request: "Configure the project."
Action:
ask mode.default or jira.tools
Create or resume a dedicated git worktree for one feature or subfeature, drive `ship` inside that worktree, and hand the finished branch back as a pull request to the original branch.
testing
Reviews one completed feature or subfeature against final implementation and slice artifacts, then records a durable reconciliation block before archive.
development
Tightens durable repo-level rules in AGENTS.md and adjacent governance surfaces when repeated drift reveals a policy gap.
data-ai
Resolves one reviewed feature or subfeature backlog into remaining planned slices and routes each active slice to the next owning execution step with one commit per completed slice.