skills/stack-bootstrap/SKILL.md
Install OpenCode templates into one implementation repo path; optional legacy .plan/docs archive moves. Invoked only from setup-project via architect.
npx skillsauth add roborew/opencode stack-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.
The architect Task prompt must include:
local_path: absolute path to one implementation git repospec_repo: owner/APP-spec for issue-tracker.md substitutionoperations: list of copy_templates | archive_legacy_plan | run_checkResolve OpenCode config root as OC="${OPENCODE_CONFIG:-$HOME/.config/opencode}".
Copy when missing or when parent says force: true for that file:
| Source | Destination (under local_path) |
|--------|----------------------------------|
| skills/setup-skills/templates/issue-tracker.md | docs/agents/issue-tracker.md (set SPEC_REPO: line) |
| skills/setup-skills/templates/triage-labels.md | docs/agents/triage-labels.md |
| skills/setup-skills/templates/domain.md | docs/agents/domain.md |
| templates/bin/feature-context | bin/feature-context (chmod +x) |
| templates/.github/ISSUE_TEMPLATE/child-feature.yml | .github/ISSUE_TEMPLATE/child-feature.yml |
| docs/templates/opencode.md.template | opencode.md (only if missing) |
Do not create a .opencode/ directory or opencode.json under the repo. Agents, MCP, and permissions live in $OPENCODE_CONFIG_DIR (default ~/.config/opencode). Spec repos never carry project-level OpenCode config.
Ensure .gitignore contains:
tmp/
.research/
.qa/
.plan/*.completed.md
.opencode/
When parent provides source and dest both under local_path/.plan/:
mkdir -p "$(dirname "$dest")"
mv "$source" "$dest"
Create local_path/.plan/_archive/legacy/README.md once:
# Legacy plans
Archived during setup-project when work moved to GitHub issue-backed execution.
"${OC}/bin/setup-project" --check-only "$(dirname "$(dirname "$local_path")")"
Return exit code and last 30 lines of output.
tools
AI-powered code review using CodeRabbit CLI. Use only on explicit user request or when parent passes execution_mode orchestrate_coderabbit_gate. Do not run during orchestrated stage/issue work.
tools
Cross-repo companion to to-prd: after PRD frontmatter is filled, run bin/fanout <slug> from this spec repo to create child GitHub issues (one per ticket or legacy slice).
tools
Issue state machine — transition GitHub issue labels per docs/agents/triage-labels.md. Batch helpers via lib/triage.sh.
documentation
Synthesise a PRD from grill-me / research context, write docs/prd/<slug>.md, publish a GitHub issue with prd + state:ready-for-agent + feature:<slug>. Halt after publish — do not invoke fanout.