plugins/devflow/skills/initiatives/SKILL.md
Manage strategic initiative context — sync GitHub Epics to disk, list cached initiatives, or show a single initiative body. Planner reads these at plan time. Triggers on: "sync initiatives", "refresh initiatives", "show initiative", "what initiatives are loaded".
npx skillsauth add ao-cyber-systems/devflow-claude initiativesInstall 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.
sync — refresh ~/.claude/devflow/initiatives/<slug>.md from the org Product Roadmap project. Walks GitHub via obj 1's resolveChain + obj 2's walkProject; hard-fails on missing gh auth. Optional --initiative <slug> syncs ONE; --force bypasses stale-file confirmation prompts.list — read-only enumeration of cached initiatives. Emits JSON array of {slug, github_issue, key_repos, updated_at}.show <slug> — read-only detail. Emits the rendered initiative body (Why, Open Questions, Linked Sub-issues).Initiative files have a locked schema: YAML frontmatter (slug, github_issue, parent_project, key_repos[], updated_at) + body sections (## Why / ## Open Questions / ## Linked Sub-issues / ## Status). The planner reads matching initiatives at plan time and includes them in <additional_context> advisory.
</objective>
<execution_context> @~/.claude/devflow/initiatives/ </execution_context>
<process> **Run the initiatives CLI with arg passthrough:**node ~/.claude/devflow/bin/df-tools.cjs initiatives $ARGUMENTS
The CLI:
sync: calls requireGhAuth(['project', 'read:project', 'repo']). On failure, emits structured JSON to stderr + exit 1 with gh auth refresh -h github.com -s ... remediation.[Epic] title prefix OR draft+In Progress).~/.claude/devflow/initiatives/<slug>.md (atomic tmp + rename).--force, prompts per stale file via TTY readline; with --force, deletes unconditionally. Non-TTY environments skip with warning.For list / show: file-only, never calls gh, never blocks.
After the command runs, present the output to the user. For sync, summarize: N written, N deleted, N skipped, N warnings. For list, render slug + github_issue. For show, print the body verbatim.
</process>
Subcommand reference:
df-tools initiatives sync [--initiative <slug>] [--project-id <id>] [--force] — Walk org Product Roadmap, write/refresh initiative files. Hard-fails on missing gh auth.df-tools initiatives list [--home <path>] — Enumerate cached initiatives. Emits JSON array.df-tools initiatives show <slug> [--home <path>] — Render single initiative body to stdout.df-tools initiatives format-for-planner --repo <github_repo> [--home <path>] — Emit planner-formatted markdown for initiatives matching the given repo. Used internally by /df:plan-objective; can be run manually to preview what the planner will see.Flags:
--initiative <slug> — sync mode only; restrict to one initiative; skips stale-deletion.--project-id <id> — override default org Product Roadmap project ID.--force — sync mode only; bypass confirmation for stale-file deletion.--home <path> — override default ~/.claude/devflow/initiatives/. Useful for testing or alternate org configurations.--raw — sync/list/show: emit raw JSON to stdout instead of formatted output.The planner (/df:plan-objective) consumes initiative context automatically at plan time. No user invocation needed for plan-time integration — but sync should be re-run periodically (weekly cadence recommended) to keep the projection fresh.
Use when the user wants to refresh initiative context from GitHub, audit what initiatives the planner can see, or inspect a specific initiative file. Also fires on: "list initiatives", "initiative context". </context>
development
Resolve a parked decision and resume autonomous execution. Use when you see a pending DECISION-NNN.md in .planning/decisions/pending/, when the user wants to choose an option for a blocked checkpoint:decision, or when you need to tell the executor which option to take. Triggers on: "resolve decision", "decide DECISION-", "pick option for DECISION-", "unblock DECISION-", "answer DECISION-", "choose option for decision", "I want option-a", "go with option-b", "my answer is".
development
Orchestrate a multi-step DevFlow workflow by chaining skills. Use when the user wants to invoke a sequence of skills as one ask (e.g., "build and sync to github", "research, plan, then build", "ship and announce"). Triggers on: "ship X to Y", "build and X", "plan and X", "X then Y", "in one go", "as a chain", "all in sequence", "chain", "ship-and-sync", "research-plan-build"
testing
Stamp a new polyglot monorepo using the AO Cyber Systems scaffold — root CLAUDE.md with Layout table, per-area CLAUDE.md, path-filtered CI workflows, comprehensive .gitignore, and the no-binaries pre-commit hook config. Use this for new product monorepos (the 5-monorepo architecture: aodex, aosentry, eden-biz, politihub, aohealth, plus future ones). Triggers on: "new monorepo", "scaffold a monorepo", "set up a monorepo", "create a new product monorepo".
development
Validate that a monorepo follows the AO Cyber Systems layout convention — root CLAUDE.md declares every area, every area has its own CLAUDE.md, no compiled binaries are tracked in git. Reads the root `CLAUDE.md` Layout table, walks the working tree, and reports drift in a single Markdown summary. Standalone — works on any repo. Triggers on: "audit monorepo layout", "monorepo doctor", "is this monorepo healthy?", "check the layout", "find binaries in the repo".