disciplined-workflow
Core orchestration for disciplined AI-assisted development. Auto-invokes when starting new features, implementing tasks, or working on any development that should follow the spec-first, test-driven process. Triggers on task planning, feature implementation, bug fixes, refactoring work, or when beads/bd tasks are referenced.
What this skill does
# Disciplined Development Workflow This skill enforces a rigorous, traceable development process inspired by the Rue language project. Every implementation traces back to specifications, every specification has tests, and every decision is recorded. ## Core Principles 1. **Specification-First**: Write specs before code. Specs define WHAT, not HOW. 2. **Test-Driven**: Tests verify specs are met. Write tests before implementation. 3. **Traceable**: Every line of implementation traces to a spec paragraph. 4. **Documented Decisions**: ADRs capture WHY we chose an approach. 5. **Managed Work**: Tasks tracked with dependencies, ready work identified. ## The Development Loop For any non-trivial work, follow the 7-phase loop: **Orient → Specify → Decide → Test → Implement → Review → Close** See `references/workflow.md` for the full workflow reference with commands. ### Scaling Up For large features (multi-file, multi-task), use these tools to manage complexity: - **Spec Decomposition** (`/dp:decompose`): Transforms specs into dependency-aware, context-window-sized work items. Ambiguities become first-class "holes" that block downstream work. Use after the Specify phase for feature-scale work. - **Progress Reporting** (`/dp:progress`): Generates structured reports from Beads and git state. Reports serve both humans (status updates, action items) and AI agents (context recovery for fresh sessions via `docs/progress/latest.md`). Use during Close phase or in watch mode for ongoing projects. ## Workflow Integration ### Starting Work Before implementing anything: ```bash # Check what's ready to work on /dp:task ready # Claim a task /dp:task update <task-id> --status in_progress # Review the task context /dp:task show <task-id> ``` ### During Implementation When you discover related work: ```bash # File discovered issues, linked to parent /dp:task discover "Found: <issue>" --from <parent-id> -p <priority> ``` ### Completing Work ```bash # Run quality gates (tests, lint, build) # Close the task /dp:task close <task-id> --reason "Implemented per spec [SPEC-ID]" # Commit with task reference git add -A && git commit -m "feat: <description> (<task-id>)" ``` ## Project Structure The disciplined process expects this structure: ``` project/ ├── CLAUDE.md # Project-specific adaptations ├── .claude/ │ └── settings.json # Hooks and permissions ├── .beads/ # Task tracking (or alternative) ├── docs/ │ ├── spec/ # Specifications with paragraph IDs │ │ ├── 00-overview.md │ │ ├── 01-<domain>.md │ │ └── ... │ ├── adr/ # Architecture Decision Records │ │ ├── 0001-<decision>.md │ │ └── template.md │ └── process/ # Process documentation │ ├── code-review.md │ └── workflow.md ├── tests/ # Test suites by type │ ├── unit/ │ ├── integration/ │ ├── property/ │ └── e2e/ └── src/ # Implementation ``` ## Enforcement Modes This workflow supports three enforcement levels (configured in `.claude/settings.json`): 1. **Strict** (default): Hooks block commits without passing tests and spec references 2. **Guided**: Hooks warn but don't block; skills suggest best practices 3. **Minimal**: Skills available but no enforcement; for exploratory work ## Related Skills - **spec-tracing**: Detailed specification format and traceability - **tdd-methodology**: Test-first patterns for different test types - **adr-authoring**: Architecture Decision Record format and process - **task-executor**: Working from decomposed task files or Beads issues created by spec-decompose
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.