$npx -y skills add pssah4/digital-innovation-agents --skill dia-bootstrapBootstrap context for the Digital Innovation Agents V-Model workflow. Auto-loaded at session start by the SessionStart hook (unless mode = off). Carries the entry-point catalog, the helper-script path resolution rule, the activation contract, and opt-out behaviour. The user does
| 1 | # DIA Bootstrap |
| 2 | |
| 3 | You have access to a structured V-Model workflow for AI-augmented innovation |
| 4 | and development. These skills guide projects from initial business concept |
| 5 | through requirements engineering, architecture design, implementation, |
| 6 | testing, and security audit. |
| 7 | |
| 8 | ## Helper script paths (binding for every phase skill) |
| 9 | |
| 10 | Phase skills call helper scripts that ship with the plugin: `flow.py` |
| 11 | under `tools/github-integration/`, `anchor.py` under `tools/dia-setup/`, |
| 12 | the migration scripts under `tools/migration/`, |
| 13 | `tools/consistency-check.py`, `tools/renumber-for-merge.py`, and the |
| 14 | merge wrappers under `scripts/`. These scripts live in the plugin |
| 15 | bundle, NOT in the user project, so the relative path `tools/...` |
| 16 | that the skill text uses must be resolved against the plugin root, |
| 17 | not against the user's working directory. |
| 18 | |
| 19 | Resolution priority: |
| 20 | |
| 21 | 1. **`$DIA_PLUGIN_ROOT`** (preferred). The SessionStart hook prints |
| 22 | this value at session start, manual installs export it from |
| 23 | `~/.zshrc`, and the OpenCode plugin sets it on plugin load. |
| 24 | 2. **`$CLAUDE_PLUGIN_ROOT`** when running under Claude Code. |
| 25 | 3. **`$CURSOR_PLUGIN_ROOT`** when running under Cursor. |
| 26 | 4. **Working directory** as last resort. This only succeeds when the |
| 27 | user happens to run the agent from inside the plugin checkout. |
| 28 | |
| 29 | Concrete: when a phase skill writes |
| 30 | `python3 tools/github-integration/flow.py create-issue --item FEAT-04-09`, |
| 31 | expand it before invoking to |
| 32 | `python3 "$DIA_PLUGIN_ROOT/tools/github-integration/flow.py" create-issue --item FEAT-04-09`. |
| 33 | The same rule applies to every `tools/...` and `scripts/...` path |
| 34 | in any skill text. |
| 35 | |
| 36 | If `$DIA_PLUGIN_ROOT` is unset and no platform variable resolves |
| 37 | the path, surface a clear error to the user and link them to the |
| 38 | [installation tutorial](https://pssah4.github.io/digital-innovation-agents/tutorials/installation). |
| 39 | Do not guess. |
| 40 | |
| 41 | ## Activation |
| 42 | |
| 43 | If this project does not yet have `.dia/config.toml`, run `/dia-setup` |
| 44 | first. The setup skill asks for the mode (`off`, `git-only`, |
| 45 | `github-sync`), creates `.dia/config.toml`, and writes anchor blocks |
| 46 | into the agent files (`CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, |
| 47 | `.cursorrules`, ...). Re-run `/dia-setup` any time to change the |
| 48 | mode or remove the anchors. |
| 49 | |
| 50 | When `mode = "off"`, the SessionStart hook stays silent and phase |
| 51 | skills do not run. When `mode = "git-only"`, the workflow runs |
| 52 | locally (commits, tags, merge scripts) without GitHub sync. When |
| 53 | `mode = "github-sync"`, phase skills mirror backlog state to GitHub |
| 54 | issues via `tools/github-integration/flow.py`. |
| 55 | |
| 56 | ## Entry points |
| 57 | |
| 58 | - `/dia-setup` -- Activation, mode change, deactivation. Run this |
| 59 | in a fresh project before any other DIA skill |
| 60 | - `/dia-guide` -- Guided cycle through all phases (recommended for |
| 61 | new projects or when unsure where to start) |
| 62 | - `/reverse-engineering` -- Brownfield entry point: walk the V backwards |
| 63 | over an existing codebase to produce plan-context, ADRs, arc42 |
| 64 | snapshot, FEATURE inventory, and an evidence-based BA draft |
| 65 | - `/business-analysis` -- Problem exploration, ideation, validation |
| 66 | - `/requirements-engineering` -- Epics, features, tech-agnostic success criteria |
| 67 | - `/architecture` -- ADRs (MADR), arc42, plan-context.md |
| 68 | - `/coding` -- Context handoff + critical review + implementation |
| 69 | - `/testing` -- Unit and integration tests with fix-loop |
| 70 | - `/security-audit` -- OWASP, SAST, SCA, Zero Trust |
| 71 | - `/project-conventions` -- Project structure and naming standards |
| 72 | |
| 73 | ## Language in dialog |
| 74 | |
| 75 | The skill content is written in English so it is portable across language |
| 76 | contexts. **In the dialog with the user, always respond in the user's |
| 77 | language.** If the user writes in German, reply in German. If Spanish, |
| 78 | reply in Spanish. The skill instructions stay English internally; the |
| 79 | user-facing messages adapt automatically. |
| 80 | |
| 81 | ## Artifact locations |
| 82 | |
| 83 | All project artifacts live under `_devprocess/`: |
| 84 | |
| 85 | - `_devprocess/analysis/BA-*.md`, `EXPLORE-*.md` |
| 86 | - `_devprocess/requirements/epics/EPIC-*.md`, `features/FEAT-*.md` |
| 87 | - `_devprocess/requirements/fixes/FIX-*.md`, `improvements/IMP-*.md` |
| 88 | - `_devprocess/requirements/handoff/architect-handoff.md`, `plan-context.md` |
| 89 | - `_devprocess/architecture/ADR-*.md`, `arc42.md` |
| 90 | - `_devprocess/context/BACKLOG.md` (living backlog, incl. FIX-{ee}-{ff}-{nn} rows) |
| 91 | - `_devprocess/context/HANDOFFS.md` (append-only phase handoffs log) |
| 92 | - `_devprocess/analysis/AUDIT-*.md` |
| 93 | - `_devprocess/analysis/sources/` (Quellen, die der User als Kontext bereitstellt) |
| 94 | |
| 95 | ## When to invoke which skill |
| 96 | |
| 97 | - If the user is starting something new and the problem space is unclear |
| 98 | -> suggest `/dia-guide` for an orientation interview that recommends |
| 99 | the right entry point |
| 100 | - I |