Skip to content

agnidia/corpflow

v4.1.3Apache-2.0

Staged worktask pipeline with a durable state ledger, cross-plugin delegation, and dependency-DAG orchestration.

agent-coordination

Use when coordinating agent handoffs, debugging multi-stage execution, writing audit.jsonl rows, or managing parallel agent workflows. Patterns for multi-agent coordination, handoffs, parallel execution, and error escalation.

appstore

Use when the user invokes $appstore or asks for the canonical Corpflow appstore workflow.

arch-debt

Use when the user invokes $arch-debt or asks for the canonical Corpflow arch-debt workflow.

arch-decision

Use when the user invokes $arch-decision or asks for the canonical Corpflow arch-decision workflow.

arch-review

Use when the user invokes $arch-review or asks for the canonical Corpflow arch-review workflow.

cc-update

Use when the user invokes $cc-update or asks for the canonical Corpflow cc-update workflow.

claude-constitution

Use when evaluating ethical implications, applying constitutional principles, or reviewing harm potential. Constitutional principles, ethics, and behavioral guidelines for AI agents.

code-comment-standard

Use when writing or editing source comments or DocC (/// or //) in any context — worktask stages, direct edits, reviews, remediation. Compact source comment standard — comment the non-obvious WHY and contract, never the WHAT, history, or provenance.

context-compression

Use when writing a stage handoff, sizing an artifact against its stage budget, or recovering a worktask after compaction. Per-stage token budgets, handoff frontmatter and template, and per-content compression techniques.

cost-optimization

Use for budget management, model selection, and cost tracking and optimization of AI agent worktasks. Model and effort right-sizing, prompt-cache TTL, search batching, cost estimation formula, efficiency analysis.

create-agent

Use when the user invokes $create-agent or asks for the canonical Corpflow create-agent workflow.

cross-plugin-handoff

Use when delegating a worktask stage to an external plugin agent (apple-, system-, android-, frontend-, backend-developer, ai-engineer) or integrating a new plugin. Covers dispatch injection, handoff schema, AR consultation and the plugin contract.

csv-export-templates

Use when generating CSV export files for estimates, budgets, timelines, or reports. 13-category CSV export structure for Google Sheets import.

design-accessibility

Use when the user invokes $design-accessibility or asks for the canonical Corpflow design-accessibility workflow.

design-review

Use when the user invokes $design-review or asks for the canonical Corpflow design-review workflow.

design-specs

Use when the user invokes $design-specs or asks for the canonical Corpflow design-specs workflow.

docs-audit

Use when the user invokes $docs-audit or asks for the canonical Corpflow docs-audit workflow.

docs-readme

Use when the user invokes $docs-readme or asks for the canonical Corpflow docs-readme workflow.

docs-release-notes

Use when the user invokes $docs-release-notes or asks for the canonical Corpflow docs-release-notes workflow.

dv-screenshot-capture

Use when DV is about to complete and metadata.requires_screenshots is true (the default) — the completion gate blocks otherwise. Captures DV screenshots (or an annotated diff for meta-work) as visual evidence for QA, DR and the PR.

estimate

Use when the user invokes $estimate or asks for the canonical Corpflow estimate workflow.

estimation-methodology

Use when estimating task complexity, effort, hours, or budget, or determining worktask tier and PL0 stage set. Complexity scoring (0-50 scale), T-shirt sizing, and mid-run stage escalation for project estimation.

ethics-review

Use when the user invokes $ethics-review or asks for the canonical Corpflow ethics-review workflow.

gh-issue-dedup

Use when the PL stage publishes a plan, a repeat /worktask runs in an existing .context/, or before any gh issue create / publish-pl-issue.sh call. Keeps one GitHub issue per .context/; later runs comment on it instead of duplicating.

improve-yourself

Use when the user invokes $improve-yourself or asks for the canonical Corpflow improve-yourself workflow.

incident-response

Use when handling production incidents or emergency hotfixes. Incident classification, hotfix worktask, rollback procedures, and post-mortem templates for IR stage.

logging-conventions

Use when an agent pipes build, test, simulator, Monitor, or incident output via background Bash or tee. Route runtime log capture to .context/logs/; covers filename grammar, errors/<agent>.md vs logs/ split, and cleanup.

megatask

Use for /megatask, multi-issue batches, or any dependency-ordered fan-out of worktasks. Meta-orchestration of many worktasks across a GitHub milestone or explicit issue array — dependency/blocker DAG, priority ordering, isolated per-issue worktrees.

milestone

Use when the user invokes $milestone or asks for the canonical Corpflow milestone workflow.

optimize-agent

Use when the user invokes $optimize-agent or asks for the canonical Corpflow optimize-agent workflow.

optimize-command

Use when the user invokes $optimize-command or asks for the canonical Corpflow optimize-command workflow.

pencil-design-worktask

Use when generating design mockups, creating .pen files, or integrating design tokens. Design mockup generation worktask using Pencil MCP tools for the Designer agent.

preview-ensurer

Use when the dv-screenshot-capture apple-canvas adapter runs, before swift run SnapshotHost. Detects SwiftUI View types with SwiftSyntax and appends a minimal #Preview block to modified View files that have no #Preview or PreviewProvider.

product-requirements

Use when the user invokes $product-requirements or asks for the canonical Corpflow product-requirements workflow.

prompt-audit

Use when the user invokes $prompt-audit or asks for the canonical Corpflow prompt-audit workflow.

release-engineering

Use when preparing releases, generating changelogs, or checking deployment readiness. Semantic versioning from conventional commits, Keep-a-Changelog generation, and rollback plans for the RE stage.

request-plan

Use when the user asks for a plan, an approach, a breakdown, "how would you tackle this", or scoping — even without the word "plan". Turn a free-form request into a context-aware plan (goal, scope, phases, effort, risks) and recommend /worktask.

roadmap

Use when the user invokes $roadmap or asks for the canonical Corpflow roadmap workflow.

security-review-process

Use when conducting a security review, threat-modeling a diff, scanning for secrets, or triaging dependency and supply-chain risk. OWASP Top 10 checklist, STRIDE threat model, secrets scanner, and secure coding patterns for the SR stage.

self-improvement

Use when the ST stage runs or post-delivery user edits need classifying. Capture user edits at ST stage, classify them, propose scoped updates to agents/skills/commands that participated in the worktask; human-in-the-loop, never auto-applies.

sprint

Use when the user invokes $sprint or asks for the canonical Corpflow sprint workflow.

task-folder-organization

Use when creating, naming, or resolving worktask artifact paths. The .context/ folder layout — run-indexed stage artifacts, design and image assets, per-agent error files, runtime logs.

tech-code-review

Use when the user invokes $tech-code-review or asks for the canonical Corpflow tech-code-review workflow.

test-coverage

Use when the user invokes $test-coverage or asks for the canonical Corpflow test-coverage workflow.

test-plan

Use when the user invokes $test-plan or asks for the canonical Corpflow test-plan workflow.

worktask

Use when executing multi-stage worktasks, initializing tasks, or managing worktask state. Holds dynamic sizing, the orchestrator loop, and stage handoff rules.

worktask-testing-strategy

Use when planning test strategy in the worktask PL (Planning) or AR (Architecture) stage, before implementation. Plan and architecture test templates, required tests per feature type, UI selectors, multi-substate UITests.

writing-style

Use when writing chat replies, handoffs, reports, reviews, docs, PR bodies or plans — any prose a person reads. ASD-STE100 rules at ~80% — single-topic sentences, active voice, imperative steps, articles kept, one term per meaning, tables over prose.