@jakkrichm/create-nexus-devflow 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/template/.agents/skills/00-discover/SKILL.md +13 -13
- package/template/.agents/skills/10-define/SKILL.md +16 -16
- package/template/.agents/skills/20-spec/SKILL.md +14 -14
- package/template/.agents/skills/30-plan/SKILL.md +13 -13
- package/template/.agents/skills/40-implement/SKILL.md +14 -14
- package/template/.agents/skills/50-verify/SKILL.md +15 -15
- package/template/.agents/skills/60-report/SKILL.md +9 -9
- package/template/.agents/skills/70-release/SKILL.md +13 -13
- package/template/.agents/skills/adopt/SKILL.md +5 -5
- package/template/.agents/skills/agent/SKILL.md +4 -4
- package/template/.agents/skills/api-and-interface-design/SKILL.md +1 -1
- package/template/.agents/skills/app-builder/SKILL.md +1 -1
- package/template/.agents/skills/architecture/SKILL.md +1 -1
- package/template/.agents/skills/autopilot/SKILL.md +175 -0
- package/template/.agents/skills/bash-linux/SKILL.md +1 -1
- package/template/.agents/skills/behavioral-modes/SKILL.md +1 -1
- package/template/.agents/skills/brainstorm/SKILL.md +10 -10
- package/template/.agents/skills/brief/SKILL.md +77 -0
- package/template/.agents/skills/browser-testing-with-devtools/SKILL.md +1 -1
- package/template/.agents/skills/changelog/SKILL.md +4 -4
- package/template/.agents/skills/ci/SKILL.md +131 -0
- package/template/.agents/skills/ci-cd-and-automation/SKILL.md +4 -4
- package/template/.agents/skills/code-review-and-quality/SKILL.md +1 -1
- package/template/.agents/skills/code-simplification/SKILL.md +1 -1
- package/template/.agents/skills/codebase-design/SKILL.md +6 -6
- package/template/.agents/skills/commit/SKILL.md +4 -4
- package/template/.agents/skills/competitor-analysis/SKILL.md +3 -3
- package/template/.agents/skills/context-engineering/SKILL.md +1 -1
- package/template/.agents/skills/database-design/SKILL.md +1 -1
- package/template/.agents/skills/debug/SKILL.md +11 -11
- package/template/.agents/skills/debugging-and-error-recovery/SKILL.md +1 -1
- package/template/.agents/skills/deploy/SKILL.md +4 -4
- package/template/.agents/skills/deployment-procedures/SKILL.md +1 -1
- package/template/.agents/skills/deprecation-and-migration/SKILL.md +1 -1
- package/template/.agents/skills/devflow/SKILL.md +30 -20
- package/template/.agents/skills/diagnosing-bugs/SKILL.md +3 -3
- package/template/.agents/skills/doctor/SKILL.md +4 -4
- package/template/.agents/skills/documentation-and-adrs/SKILL.md +1 -1
- package/template/.agents/skills/domain-modeling/SKILL.md +1 -1
- package/template/.agents/skills/followup/SKILL.md +10 -10
- package/template/.agents/skills/frontend-ui-engineering/SKILL.md +1 -1
- package/template/.agents/skills/git-workflow-and-versioning/SKILL.md +1 -1
- package/template/.agents/skills/goal/SKILL.md +11 -11
- package/template/.agents/skills/handoff/SKILL.md +1 -1
- package/template/.agents/skills/help/SKILL.md +18 -18
- package/template/.agents/skills/human-review-decisions/SKILL.md +6 -6
- package/template/.agents/skills/i18n-localization/SKILL.md +1 -1
- package/template/.agents/skills/idea-refine/SKILL.md +1 -1
- package/template/.agents/skills/incremental-implementation/SKILL.md +1 -1
- package/template/.agents/skills/insight/SKILL.md +8 -8
- package/template/.agents/skills/insight-capture/SKILL.md +4 -4
- package/template/.agents/skills/intelligent-routing/SKILL.md +23 -23
- package/template/.agents/skills/issue-triage/SKILL.md +5 -5
- package/template/.agents/skills/lint-and-validate/SKILL.md +1 -1
- package/template/.agents/skills/mcp-builder/SKILL.md +1 -1
- package/template/.agents/skills/md2html/SKILL.md +1 -1
- package/template/.agents/skills/merge/SKILL.md +5 -5
- package/template/.agents/skills/mobile-design/SKILL.md +1 -1
- package/template/.agents/skills/nextjs-react-expert/SKILL.md +1 -1
- package/template/.agents/skills/nodejs-best-practices/SKILL.md +1 -1
- package/template/.agents/skills/onboard/SKILL.md +8 -8
- package/template/.agents/skills/package-json-generator/SKILL.md +1 -1
- package/template/.agents/skills/parallel-agents/SKILL.md +2 -2
- package/template/.agents/skills/performance-optimization/SKILL.md +1 -1
- package/template/.agents/skills/planning-and-task-breakdown/SKILL.md +2 -2
- package/template/.agents/skills/powershell-windows/SKILL.md +1 -1
- package/template/.agents/skills/pr/SKILL.md +8 -8
- package/template/.agents/skills/pr-review/SKILL.md +7 -7
- package/template/.agents/skills/pr-review-analysis/SKILL.md +3 -3
- package/template/.agents/skills/prd/SKILL.md +11 -11
- package/template/.agents/skills/preview/SKILL.md +8 -8
- package/template/.agents/skills/preview-local-check/SKILL.md +5 -5
- package/template/.agents/skills/prototype/SKILL.md +2 -2
- package/template/.agents/skills/python-patterns/SKILL.md +1 -1
- package/template/.agents/skills/release-git-operations/SKILL.md +6 -6
- package/template/.agents/skills/research/SKILL.md +10 -10
- package/template/.agents/skills/review/SKILL.md +3 -3
- package/template/.agents/skills/review-followup-routing/SKILL.md +4 -4
- package/template/.agents/skills/roadmap-strategy/SKILL.md +4 -4
- package/template/.agents/skills/rollback/SKILL.md +108 -0
- package/template/.agents/skills/security-and-hardening/SKILL.md +1 -1
- package/template/.agents/skills/security-review/SKILL.md +4 -4
- package/template/.agents/skills/seo-fundamentals/SKILL.md +1 -1
- package/template/.agents/skills/server-management/SKILL.md +1 -1
- package/template/.agents/skills/shipping-and-launch/SKILL.md +2 -2
- package/template/.agents/skills/silent-failure-audit/SKILL.md +1 -1
- package/template/.agents/skills/simplify/SKILL.md +7 -7
- package/template/.agents/skills/skill-development/SKILL.md +1 -1
- package/template/.agents/skills/spec-driven-development/SKILL.md +1 -1
- package/template/.agents/skills/spec-orchestration/SKILL.md +6 -6
- package/template/.agents/skills/specialist-agent-routing/SKILL.md +8 -8
- package/template/.agents/skills/tailwind-patterns/SKILL.md +1 -1
- package/template/.agents/skills/test/SKILL.md +4 -4
- package/template/.agents/skills/test-driven-development/SKILL.md +1 -1
- package/template/.agents/skills/test-execution-and-coverage/SKILL.md +5 -5
- package/template/.agents/skills/try/SKILL.md +108 -0
- package/template/.agents/skills/type-design/SKILL.md +1 -1
- package/template/.agents/skills/ui-ux-pro-max/SKILL.md +1 -1
- package/template/.agents/skills/using-agent-skills/SKILL.md +1 -1
- package/template/.agents/skills/verification-orchestration/SKILL.md +4 -4
- package/template/.agents/skills/vulnerability-scanner/SKILL.md +1 -1
- package/template/.agents/skills/wiki/SKILL.md +7 -7
- package/template/.agents/skills/workflow-documentation-sync/SKILL.md +2 -2
- package/template/.claude/skills/00-discover/SKILL.md +13 -13
- package/template/.claude/skills/10-define/SKILL.md +16 -16
- package/template/.claude/skills/20-spec/SKILL.md +14 -14
- package/template/.claude/skills/30-plan/SKILL.md +13 -13
- package/template/.claude/skills/40-implement/SKILL.md +14 -14
- package/template/.claude/skills/50-verify/SKILL.md +15 -15
- package/template/.claude/skills/60-report/SKILL.md +9 -9
- package/template/.claude/skills/70-release/SKILL.md +13 -13
- package/template/.claude/skills/adopt/SKILL.md +5 -5
- package/template/.claude/skills/agent/SKILL.md +4 -4
- package/template/.claude/skills/api-and-interface-design/SKILL.md +1 -1
- package/template/.claude/skills/app-builder/SKILL.md +1 -1
- package/template/.claude/skills/architecture/SKILL.md +1 -1
- package/template/.claude/skills/autopilot/SKILL.md +175 -0
- package/template/.claude/skills/bash-linux/SKILL.md +1 -1
- package/template/.claude/skills/behavioral-modes/SKILL.md +1 -1
- package/template/.claude/skills/brainstorm/SKILL.md +10 -10
- package/template/.claude/skills/brief/SKILL.md +77 -0
- package/template/.claude/skills/browser-testing-with-devtools/SKILL.md +1 -1
- package/template/.claude/skills/changelog/SKILL.md +4 -4
- package/template/.claude/skills/ci/SKILL.md +131 -0
- package/template/.claude/skills/ci-cd-and-automation/SKILL.md +4 -4
- package/template/.claude/skills/code-review-and-quality/SKILL.md +1 -1
- package/template/.claude/skills/code-simplification/SKILL.md +1 -1
- package/template/.claude/skills/codebase-design/SKILL.md +6 -6
- package/template/.claude/skills/commit/SKILL.md +4 -4
- package/template/.claude/skills/competitor-analysis/SKILL.md +3 -3
- package/template/.claude/skills/context-engineering/SKILL.md +1 -1
- package/template/.claude/skills/database-design/SKILL.md +1 -1
- package/template/.claude/skills/debug/SKILL.md +11 -11
- package/template/.claude/skills/debugging-and-error-recovery/SKILL.md +1 -1
- package/template/.claude/skills/deploy/SKILL.md +4 -4
- package/template/.claude/skills/deployment-procedures/SKILL.md +1 -1
- package/template/.claude/skills/deprecation-and-migration/SKILL.md +1 -1
- package/template/.claude/skills/devflow/SKILL.md +30 -20
- package/template/.claude/skills/diagnosing-bugs/SKILL.md +3 -3
- package/template/.claude/skills/doctor/SKILL.md +4 -4
- package/template/.claude/skills/documentation-and-adrs/SKILL.md +1 -1
- package/template/.claude/skills/domain-modeling/SKILL.md +1 -1
- package/template/.claude/skills/followup/SKILL.md +10 -10
- package/template/.claude/skills/frontend-ui-engineering/SKILL.md +1 -1
- package/template/.claude/skills/git-workflow-and-versioning/SKILL.md +1 -1
- package/template/.claude/skills/goal/SKILL.md +11 -11
- package/template/.claude/skills/handoff/SKILL.md +1 -1
- package/template/.claude/skills/help/SKILL.md +18 -18
- package/template/.claude/skills/human-review-decisions/SKILL.md +6 -6
- package/template/.claude/skills/i18n-localization/SKILL.md +1 -1
- package/template/.claude/skills/idea-refine/SKILL.md +1 -1
- package/template/.claude/skills/incremental-implementation/SKILL.md +1 -1
- package/template/.claude/skills/insight/SKILL.md +8 -8
- package/template/.claude/skills/insight-capture/SKILL.md +4 -4
- package/template/.claude/skills/intelligent-routing/SKILL.md +23 -23
- package/template/.claude/skills/issue-triage/SKILL.md +5 -5
- package/template/.claude/skills/lint-and-validate/SKILL.md +1 -1
- package/template/.claude/skills/mcp-builder/SKILL.md +1 -1
- package/template/.claude/skills/md2html/SKILL.md +1 -1
- package/template/.claude/skills/merge/SKILL.md +5 -5
- package/template/.claude/skills/mobile-design/SKILL.md +1 -1
- package/template/.claude/skills/nextjs-react-expert/SKILL.md +1 -1
- package/template/.claude/skills/nodejs-best-practices/SKILL.md +1 -1
- package/template/.claude/skills/onboard/SKILL.md +8 -8
- package/template/.claude/skills/package-json-generator/SKILL.md +1 -1
- package/template/.claude/skills/parallel-agents/SKILL.md +2 -2
- package/template/.claude/skills/performance-optimization/SKILL.md +1 -1
- package/template/.claude/skills/planning-and-task-breakdown/SKILL.md +2 -2
- package/template/.claude/skills/powershell-windows/SKILL.md +1 -1
- package/template/.claude/skills/pr/SKILL.md +8 -8
- package/template/.claude/skills/pr-review/SKILL.md +7 -7
- package/template/.claude/skills/pr-review-analysis/SKILL.md +3 -3
- package/template/.claude/skills/prd/SKILL.md +11 -11
- package/template/.claude/skills/preview/SKILL.md +8 -8
- package/template/.claude/skills/preview-local-check/SKILL.md +5 -5
- package/template/.claude/skills/prototype/SKILL.md +2 -2
- package/template/.claude/skills/python-patterns/SKILL.md +1 -1
- package/template/.claude/skills/release-git-operations/SKILL.md +6 -6
- package/template/.claude/skills/research/SKILL.md +10 -10
- package/template/.claude/skills/review/SKILL.md +3 -3
- package/template/.claude/skills/review-followup-routing/SKILL.md +4 -4
- package/template/.claude/skills/roadmap-strategy/SKILL.md +4 -4
- package/template/.claude/skills/rollback/SKILL.md +108 -0
- package/template/.claude/skills/security-and-hardening/SKILL.md +1 -1
- package/template/.claude/skills/security-review/SKILL.md +4 -4
- package/template/.claude/skills/seo-fundamentals/SKILL.md +1 -1
- package/template/.claude/skills/server-management/SKILL.md +1 -1
- package/template/.claude/skills/shipping-and-launch/SKILL.md +2 -2
- package/template/.claude/skills/silent-failure-audit/SKILL.md +1 -1
- package/template/.claude/skills/simplify/SKILL.md +7 -7
- package/template/.claude/skills/skill-development/SKILL.md +1 -1
- package/template/.claude/skills/spec-driven-development/SKILL.md +1 -1
- package/template/.claude/skills/spec-orchestration/SKILL.md +6 -6
- package/template/.claude/skills/specialist-agent-routing/SKILL.md +8 -8
- package/template/.claude/skills/tailwind-patterns/SKILL.md +1 -1
- package/template/.claude/skills/test/SKILL.md +4 -4
- package/template/.claude/skills/test-driven-development/SKILL.md +1 -1
- package/template/.claude/skills/test-execution-and-coverage/SKILL.md +5 -5
- package/template/.claude/skills/try/SKILL.md +108 -0
- package/template/.claude/skills/type-design/SKILL.md +1 -1
- package/template/.claude/skills/ui-ux-pro-max/SKILL.md +1 -1
- package/template/.claude/skills/using-agent-skills/SKILL.md +1 -1
- package/template/.claude/skills/verification-orchestration/SKILL.md +4 -4
- package/template/.claude/skills/vulnerability-scanner/SKILL.md +1 -1
- package/template/.claude/skills/wiki/SKILL.md +7 -7
- package/template/.claude/skills/workflow-documentation-sync/SKILL.md +2 -2
- package/template/AGENTS.md +44 -28
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ci
|
|
3
|
+
description: "[Devflow] Set up automated GitHub Actions CI workflow (.github/workflows/verify.yml) aligned with project verify command."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# ci - Automated GitHub Actions Pipeline Setup
|
|
7
|
+
|
|
8
|
+
Where this sits in the workflow:
|
|
9
|
+
|
|
10
|
+
```text
|
|
11
|
+
onboard or adopt -> [ci] -> Verify locally -> GitHub Actions runs Verify on PR & Push
|
|
12
|
+
(project setup) (setup) (same command) (automated checks)
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This skill connects local verification with automated GitHub checks using **one shared Verify recipe**:
|
|
16
|
+
|
|
17
|
+
- **Verify is the recipe**: Runs the project's real checks (typecheck, tests, build) defined in `AGENTS.md`.
|
|
18
|
+
- **GitHub Actions is the worker**: Executes the same recipe automatically on pull requests and pushes.
|
|
19
|
+
- **Branch Protection / Ruleset is the gate**: Optionally requires the check to pass before merging.
|
|
20
|
+
|
|
21
|
+
This skill configures the workflow file. It **never pushes to remote, changes remote repository rulesets, or publishes releases** without explicit permission.
|
|
22
|
+
|
|
23
|
+
## Input
|
|
24
|
+
|
|
25
|
+
No argument is required. A preferred package manager or branch name can be optionally provided.
|
|
26
|
+
|
|
27
|
+
## Step 1 - Inspect Project Setup (Read-Only)
|
|
28
|
+
|
|
29
|
+
Inspect the repository without modifying files:
|
|
30
|
+
|
|
31
|
+
1. **Commands in `AGENTS.md`**: Look for existing `Verify`, `Test`, `Build`, and `Dev` commands.
|
|
32
|
+
2. **Project Manifests**: `package.json`, `requirements.txt`, `pyproject.toml`, `go.mod`, `Cargo.toml`, etc.
|
|
33
|
+
3. **Lockfiles & Package Manager**: `pnpm-lock.yaml` (pnpm), `package-lock.json` (npm), `yarn.lock` (yarn), `bun.lockb` (bun), `poetry.lock` (poetry), `Cargo.lock` (cargo).
|
|
34
|
+
4. **Runtime Versions**: `.node-version`, `.nvmrc`, `package.json` engines, `.python-version`.
|
|
35
|
+
5. **Existing Workflows**: Inspect `.github/workflows/` to check if a CI workflow already exists.
|
|
36
|
+
6. **Git Default Branch**: Detect `main` or `master`.
|
|
37
|
+
|
|
38
|
+
If a healthy and matching workflow already exists, report that CI is already in place and stop.
|
|
39
|
+
|
|
40
|
+
## Step 2 - Define The Single Verify Command
|
|
41
|
+
|
|
42
|
+
Build one combined Verify command from actual checks that exist in the project, in this standard order:
|
|
43
|
+
|
|
44
|
+
1. **Typecheck** (e.g. `tsc --noEmit`, `mypy`, `pyright`, `go vet`)
|
|
45
|
+
2. **Tests** (e.g. `npm test`, `pytest`, `go test ./...`, `cargo test`) - only if real tests exist
|
|
46
|
+
3. **Build** (e.g. `npm run build`, `cargo build`)
|
|
47
|
+
|
|
48
|
+
For JavaScript/TypeScript projects, ensure a `verify` or `check` script exists in `package.json` (or combine existing scripts: e.g. `npm run check:static && npm test && npm run build`).
|
|
49
|
+
|
|
50
|
+
Record the exact command in the Commands section of `AGENTS.md`:
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
## Commands
|
|
54
|
+
- Verify: `npm run check` (or detected verify command)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Step 3 - Generate `.github/workflows/verify.yml`
|
|
58
|
+
|
|
59
|
+
Create `.github/workflows/verify.yml` with security and stability best practices:
|
|
60
|
+
|
|
61
|
+
- **Trigger**: Pull requests to default branch + Pushes to default branch.
|
|
62
|
+
- **Permissions**: Set least privilege `permissions: contents: read`.
|
|
63
|
+
- **Concurrency**: Cancel in-progress runs on the same PR branch.
|
|
64
|
+
- **Lockfile-Safe Install**: Use `npm ci`, `pnpm install --frozen-lockfile`, `yarn install --immutable`, or `cargo --locked`.
|
|
65
|
+
- **Exact Verify Step**: Run the exact Verify command from `AGENTS.md`.
|
|
66
|
+
|
|
67
|
+
### Standard GitHub Actions Template (Node.js Example):
|
|
68
|
+
|
|
69
|
+
```yaml
|
|
70
|
+
name: Verify
|
|
71
|
+
|
|
72
|
+
on:
|
|
73
|
+
push:
|
|
74
|
+
branches: [main, master]
|
|
75
|
+
pull_request:
|
|
76
|
+
branches: [main, master]
|
|
77
|
+
|
|
78
|
+
concurrency:
|
|
79
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
80
|
+
cancel-in-progress: true
|
|
81
|
+
|
|
82
|
+
permissions:
|
|
83
|
+
contents: read
|
|
84
|
+
|
|
85
|
+
jobs:
|
|
86
|
+
verify:
|
|
87
|
+
name: Run Verification Checks
|
|
88
|
+
runs-on: ubuntu-latest
|
|
89
|
+
steps:
|
|
90
|
+
- name: Checkout Code
|
|
91
|
+
uses: actions/checkout@v4
|
|
92
|
+
|
|
93
|
+
- name: Setup Runtime
|
|
94
|
+
uses: actions/setup-node@v4
|
|
95
|
+
with:
|
|
96
|
+
node-version: 20
|
|
97
|
+
cache: npm
|
|
98
|
+
|
|
99
|
+
- name: Install Dependencies
|
|
100
|
+
run: npm ci
|
|
101
|
+
|
|
102
|
+
- name: Run Verify Checks
|
|
103
|
+
run: npm run check
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Step 4 - Verify Locally
|
|
107
|
+
|
|
108
|
+
Execute the Verify command locally to confirm that it succeeds on clean code before recommending it:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
npm run check
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
If local verification fails, report the failing check and assist in resolving it before claiming CI readiness.
|
|
115
|
+
|
|
116
|
+
## Step 5 - Summary & Handoff
|
|
117
|
+
|
|
118
|
+
Output a concise summary:
|
|
119
|
+
|
|
120
|
+
- **Verify Command**: Documented command in `AGENTS.md`.
|
|
121
|
+
- **Workflow File**: `.github/workflows/verify.yml` (created/updated).
|
|
122
|
+
- **Trigger Events**: `pull_request` & `push`.
|
|
123
|
+
- **Local Test**: Result of local execution.
|
|
124
|
+
- **Next Steps**: Advise user to commit and push the workflow to activate GitHub Actions.
|
|
125
|
+
|
|
126
|
+
## Rules
|
|
127
|
+
|
|
128
|
+
- **Preserve Existing CI**: Never overwrite existing custom workflows without explicit user consent.
|
|
129
|
+
- **No Dummy Tests**: Do not invent fake test commands or install unrequested test runners.
|
|
130
|
+
- **Least Privilege Security**: Always specify `permissions: contents: read`.
|
|
131
|
+
- **No Auto-Push**: Stop at local file creation; do not push to remote automatically.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ci-cd-and-automation
|
|
3
|
-
description: Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.
|
|
3
|
+
description: "[Devflow] Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# CI/CD and Automation
|
|
@@ -58,7 +58,7 @@ Pull Request Opened
|
|
|
58
58
|
### Basic CI Pipeline
|
|
59
59
|
|
|
60
60
|
```yaml
|
|
61
|
-
# .github/
|
|
61
|
+
# .github/workflowsci.yml
|
|
62
62
|
name: CI
|
|
63
63
|
|
|
64
64
|
on:
|
|
@@ -127,11 +127,11 @@ jobs:
|
|
|
127
127
|
- name: Run migrations
|
|
128
128
|
run: npx prisma migrate deploy
|
|
129
129
|
env:
|
|
130
|
-
DATABASE_URL: postgresql
|
|
130
|
+
DATABASE_URL: postgresql:/ci_user:${{ secrets.CI_DB_PASSWORD }}@localhost:5432/testdb
|
|
131
131
|
- name: Integration tests
|
|
132
132
|
run: npm run test:integration
|
|
133
133
|
env:
|
|
134
|
-
DATABASE_URL: postgresql
|
|
134
|
+
DATABASE_URL: postgresql:/ci_user:${{ secrets.CI_DB_PASSWORD }}@localhost:5432/testdb
|
|
135
135
|
```
|
|
136
136
|
|
|
137
137
|
> **Note:** Even for CI-only test databases, use GitHub Secrets for credentials rather than hardcoding values. This builds good habits and prevents accidental reuse of test credentials in other contexts.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-review-and-quality
|
|
3
|
-
description: Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.
|
|
3
|
+
description: "[Devflow] Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Code Review and Quality
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: code-simplification
|
|
3
|
-
description: Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.
|
|
3
|
+
description: "[Devflow] Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Code Simplification
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: codebase-design
|
|
3
|
-
description: Shared vocabulary for designing deep modules. Use when a DevFlow stage needs module/interface design, seam placement, testability review, or architecture simplification.
|
|
3
|
+
description: "[Devflow] Shared vocabulary for designing deep modules. Use when a DevFlow stage needs module/interface design, seam placement, testability review, or architecture simplification."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Codebase Design
|
|
7
7
|
|
|
8
|
-
Use this support skill when
|
|
8
|
+
Use this support skill when `20-spec`, `30-plan`, `40-implement`, or `50-verify` needs better module shape.
|
|
9
9
|
|
|
10
10
|
Design deep modules: a lot of behavior behind a small interface, placed at a clean seam, and testable through that interface. The aim is leverage for callers, locality for maintainers, and behavior-focused tests.
|
|
11
11
|
|
|
12
12
|
## DevFlow Placement
|
|
13
13
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
14
|
+
- `20-spec`: use when requirements depend on a stable module or interface contract.
|
|
15
|
+
- `30-plan`: use when planning needs file-level architecture, seams, or dependency strategy.
|
|
16
|
+
- `40-implement`: use when implementation reveals shallow modules or awkward test seams.
|
|
17
|
+
- `50-verify`: use when review finds code that is hard to test, hard to change, or too spread out.
|
|
18
18
|
|
|
19
19
|
## Vocabulary
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---name: commit
|
|
2
2
|
|
|
3
|
-
description: Smart Commit (Git Orchestration) - Stage files intelligently and write a concise, imperative commit message according to project standards.
|
|
3
|
+
description: "[Devflow] Smart Commit (Git Orchestration) - Stage files intelligently and write a concise, imperative commit message according to project standards."
|
|
4
4
|
---
|
|
5
5
|
# ๐’พ Smart Commit (Git Orchestration)
|
|
6
6
|
|
|
@@ -50,14 +50,14 @@ You are an orchestrator. Your goal is to call the specialized Git Committer agen
|
|
|
50
50
|
|
|
51
51
|
- Classification: Companion command
|
|
52
52
|
- Mainline status: Release support command, not a numbered stage
|
|
53
|
-
- Typical entry points:
|
|
54
|
-
- Typical handoff targets: `PR`, `Deploy`,
|
|
53
|
+
- Typical entry points: `70-release` after the report is aligned and release execution is ready
|
|
54
|
+
- Typical handoff targets: `PR`, `Deploy`, `70-release`
|
|
55
55
|
|
|
56
56
|
## Sources
|
|
57
57
|
|
|
58
58
|
- `AGENTS.md`
|
|
59
59
|
- `.agents/skills/release-git-operations/SKILL.md`
|
|
60
60
|
- `.agents/skills/git-workflow-and-versioning/SKILL.md`
|
|
61
|
-
- Related commands:
|
|
61
|
+
- Related commands: `70-release`, `PR`, `Deploy`, `Merge`
|
|
62
62
|
|
|
63
63
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: competitor-analysis
|
|
3
|
-
description: Research competitors, market alternatives, user pain points, and differentiation opportunities. Use when product framing, roadmap decisions, or strategic positioning need source-backed external context.
|
|
3
|
+
description: "[Devflow] Research competitors, market alternatives, user pain points, and differentiation opportunities. Use when product framing, roadmap decisions, or strategic positioning need source-backed external context."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Competitor Analysis
|
|
@@ -51,9 +51,9 @@ Use `.agent/resources/schemas/competitor_analysis.template.md` when saving a reu
|
|
|
51
51
|
### 5. Route Back
|
|
52
52
|
|
|
53
53
|
- `PRD` for product framing
|
|
54
|
-
-
|
|
54
|
+
- `10-define` for scope and decision shaping
|
|
55
55
|
- `Roadmap` for prioritization
|
|
56
|
-
-
|
|
56
|
+
- `20-spec` when a selected opportunity becomes actionable
|
|
57
57
|
|
|
58
58
|
## Output
|
|
59
59
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-engineering
|
|
3
|
-
description: Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.
|
|
3
|
+
description: "[Devflow] Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Context Engineering
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: database-design
|
|
3
|
-
description: Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.
|
|
3
|
+
description: "[Devflow] Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases."
|
|
4
4
|
allowed-tools: Read, Write, Edit, Glob, Grep
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: debug
|
|
3
|
-
description:
|
|
3
|
+
description: "[Devflow] Root cause investigation and diagnostic loop before or during implementation without editing code. Use when encountering broken behavior, test failures, or bugs."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
---
|
|
@@ -27,11 +27,11 @@ Use it when:
|
|
|
27
27
|
|
|
28
28
|
Preferred DevFlow 2.0 pairing:
|
|
29
29
|
|
|
30
|
-
- from
|
|
31
|
-
- from
|
|
32
|
-
- from
|
|
30
|
+
- from `00-discover` when a new request begins with a failure whose root cause is unknown
|
|
31
|
+
- from `40-implement`
|
|
32
|
+
- from `50-verify`
|
|
33
33
|
|
|
34
|
-
When invoked with a Discovery ID, link the RCA report to that discovery and return to
|
|
34
|
+
When invoked with a Discovery ID, link the RCA report to that discovery and return to `00-discover {discovery_id}` for the delivery decision. Do not allocate a Running ID for an unapproved fix during Debug.
|
|
35
35
|
|
|
36
36
|
## Source Discipline
|
|
37
37
|
|
|
@@ -114,18 +114,18 @@ Debug unexpected duplicate records
|
|
|
114
114
|
|
|
115
115
|
- Classification: Companion command
|
|
116
116
|
- Mainline status: Not a numbered stage
|
|
117
|
-
- Typical entry points:
|
|
118
|
-
- Typical handoff targets:
|
|
117
|
+
- Typical entry points: `00-discover`, `40-implement`, `50-verify`, `Issue-Triage`, production failure analysis
|
|
118
|
+
- Typical handoff targets: `00-discover {discovery_id}` for discovery-owned RCA, `40-implement`, `50-verify`, `Insight`, `Wiki`
|
|
119
119
|
|
|
120
120
|
## Sources
|
|
121
121
|
|
|
122
122
|
- `AGENTS.md`
|
|
123
123
|
- `.agent/resources/schemas/rca.template.md`
|
|
124
|
-
- Related commands:
|
|
124
|
+
- Related commands: `40-implement`, `50-verify`, `Test`, `Insight`, `Wiki`, `Agent`
|
|
125
125
|
|
|
126
126
|
## Next Workflow Recommendation
|
|
127
127
|
|
|
128
|
-
- Default: return to
|
|
129
|
-
- Alternate:
|
|
130
|
-
- Alternate:
|
|
128
|
+
- Default: return to `00-discover {discovery_id}` when the failure entered through discovery; otherwise return to `40-implement` when a tracked fix already exists
|
|
129
|
+
- Alternate: `30-plan` if the fix needs planning changes
|
|
130
|
+
- Alternate: `50-verify` when the issue is resolved and needs re-checking
|
|
131
131
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: debugging-and-error-recovery
|
|
3
|
-
description: Guides systematic root-cause debugging. Use when tests fail, builds break, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need a systematic approach to finding and fixing the root cause rather than guessing.
|
|
3
|
+
description: "[Devflow] Guides systematic root-cause debugging. Use when tests fail, builds break, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need a systematic approach to finding and fixing the root cause rather than guessing."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Debugging and Error Recovery
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---name: deploy
|
|
2
2
|
|
|
3
|
-
description: Production
|
|
3
|
+
description: "[Devflow] Production deployment pre-flight checks, smoke validation, and deployment execution."
|
|
4
4
|
---
|
|
5
5
|
# ๐€ Phase 52: Production Deployment (Auto-Deploy)
|
|
6
6
|
|
|
@@ -76,8 +76,8 @@ Generate an Error summary detailing:
|
|
|
76
76
|
|
|
77
77
|
- Classification: Companion command
|
|
78
78
|
- Mainline status: Release support command, not a numbered stage
|
|
79
|
-
- Typical entry points:
|
|
80
|
-
- Typical handoff targets:
|
|
79
|
+
- Typical entry points: `70-release` after the report is aligned and packaging is ready to execute
|
|
80
|
+
- Typical handoff targets: `60-report`, `Changelog`, `Wiki`
|
|
81
81
|
|
|
82
82
|
## Sources
|
|
83
83
|
|
|
@@ -86,6 +86,6 @@ Generate an Error summary detailing:
|
|
|
86
86
|
- `.agents/skills/shipping-and-launch/SKILL.md`
|
|
87
87
|
- `.agents/skills/deployment-procedures/SKILL.md`
|
|
88
88
|
- `.agent/resources/schemas/deploy_report.template.md`
|
|
89
|
-
- Related commands:
|
|
89
|
+
- Related commands: `70-release`, `Commit`, `PR`, `Changelog`, `60-report`
|
|
90
90
|
|
|
91
91
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: deployment-procedures
|
|
3
|
-
description: Production deployment principles and decision-making. Safe deployment workflows, rollback strategies, and verification. Teaches thinking, not scripts.
|
|
3
|
+
description: "[Devflow] Production deployment principles and decision-making. Safe deployment workflows, rollback strategies, and verification. Teaches thinking, not scripts."
|
|
4
4
|
allowed-tools: Read, Glob, Grep, Bash
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: deprecation-and-migration
|
|
3
|
-
description: Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.
|
|
3
|
+
description: "[Devflow] Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Deprecation and Migration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: devflow
|
|
3
|
-
description: Flagship interactive guide,
|
|
3
|
+
description: "[Devflow] Flagship interactive guide, state inspector, and intent router for DevFlow workflows."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# devflow - Interactive Workflow Guide & Intent Router for Nexus-DevFlow
|
|
@@ -9,14 +9,14 @@ Use this skill to guide the user on what to do next, inspect current workspace s
|
|
|
9
9
|
|
|
10
10
|
## Input
|
|
11
11
|
|
|
12
|
-
- **No argument (`devflow`,
|
|
12
|
+
- **No argument (`devflow`, `devflow`, `$devflow`, or `status`)**: Inspect current workspace state (active run in `devflow/runs/` or `devflow/context/current-stage.md`, active discovery in `devflow/discoveries/`, open findings in `devflow/context/findings.md`, and project overview in `devflow/context/project-overview.md`) and recommend the exact next action.
|
|
13
13
|
- **With user request (`devflow "<request>"`)**: Classify the user's intent and guide them to the matching DevFlow 2.0 stage or companion command path.
|
|
14
14
|
|
|
15
15
|
## Workspace State Inspection
|
|
16
16
|
|
|
17
17
|
When invoked without an argument (or when determining the next step), inspect:
|
|
18
18
|
|
|
19
|
-
1. **Project Setup Baseline**: Read `devflow/context/project-overview.md` and `devflow/context/coding-standards.md`. If they are empty or default placeholders, recommend
|
|
19
|
+
1. **Project Setup Baseline**: Read `devflow/context/project-overview.md` and `devflow/context/coding-standards.md`. If they are empty or default placeholders, recommend `onboard` (for fresh projects) or `adopt` (for existing codebases).
|
|
20
20
|
2. **Active Delivery Run**: Read `devflow/context/current-stage.md` and check `devflow/runs/{RUNNING_ID}/` for active artifacts (`10-define.md`, `20-spec.md`, `30-plan.md`, `40-implement.md`, `50-verify.md`, `60-report.md`, `70-release.md`).
|
|
21
21
|
3. **Active Discovery**: Check `devflow/discoveries/` for open discovery notes.
|
|
22
22
|
4. **Audit Findings Ledger**: Check `devflow/context/findings.md` for open high-severity findings.
|
|
@@ -24,15 +24,15 @@ When invoked without an argument (or when determining the next step), inspect:
|
|
|
24
24
|
### State-Based Recommendation Rules
|
|
25
25
|
|
|
26
26
|
- If context is empty/unconfigured -> Recommend `onboard` (for fresh project) or `adopt` (for brownfield codebase).
|
|
27
|
-
- If a run is at `10-define.md` -> Recommend `20-spec {RUNNING_ID}` (or
|
|
28
|
-
- If a run is at `20-spec.md` -> Recommend `30-plan {RUNNING_ID}` (or
|
|
29
|
-
- If a run is at `30-plan.md` -> Recommend `40-implement {RUNNING_ID}` (or
|
|
27
|
+
- If a run is at `10-define.md` -> Recommend `20-spec {RUNNING_ID}` (or `20-spec`, `$20-spec`, `spec`).
|
|
28
|
+
- If a run is at `20-spec.md` -> Recommend `30-plan {RUNNING_ID}` (or `30-plan`, `$30-plan`, `plan`).
|
|
29
|
+
- If a run is at `30-plan.md` -> Recommend `40-implement {RUNNING_ID}` (or `40-implement`, `$40-implement`, `implement`).
|
|
30
30
|
- If a run is at `40-implement.md` with incomplete tasks -> Recommend `40-implement {RUNNING_ID}`.
|
|
31
|
-
- If a run is at `40-implement.md` with all tasks done -> Recommend `50-verify {RUNNING_ID}` (or
|
|
31
|
+
- If a run is at `40-implement.md` with all tasks done -> Recommend `50-verify {RUNNING_ID}` (or `50-verify`, `$50-verify`, `verify`).
|
|
32
32
|
- If a run passed `50-verify.md` -> Recommend `60-report {RUNNING_ID}` then `70-release {RUNNING_ID}`.
|
|
33
33
|
- If no run is active and user wants to explore an idea -> Recommend `00-discover` (or `discover`, `Brainstorm`).
|
|
34
34
|
- If no run is active and open P0/P1 findings exist -> Recommend `security-review` or `debug`.
|
|
35
|
-
- If user asks to check system health or configuration -> Recommend `doctor` (or
|
|
35
|
+
- If user asks to check system health or configuration -> Recommend `doctor` (or `doctor`, `$doctor`).
|
|
36
36
|
|
|
37
37
|
## Intent Classification & Skill Routing
|
|
38
38
|
|
|
@@ -51,6 +51,11 @@ When the user specifies a request, map it to the matching DevFlow 2.0 stage or c
|
|
|
51
51
|
| "Verify code quality & QA review" | `50-verify` | `verify` | `50-verify` -> `60-report` -> `70-release` |
|
|
52
52
|
| "Generate summary HTML/MD report" | `60-report` | `report` | `60-report` -> `70-release` |
|
|
53
53
|
| "Package for PR merge or deployment" | `70-release` | `release` | `70-release` |
|
|
54
|
+
| "Human manual QA walkthrough guide" | `try` | `try` | `try` (after implement or verify) |
|
|
55
|
+
| "Safely plan feature or run reversal" | `rollback` | `rollback` | `rollback` -> `40-implement` |
|
|
56
|
+
| "Set up automatic GitHub Actions CI" | `ci` | `ci` | `ci` (after onboard or adopt) |
|
|
57
|
+
| "Pre-check scope & risks before spec" | `brief` | `brief` | `brief` -> `20-spec` |
|
|
58
|
+
| "Run autonomous bounded delivery loop"| `autopilot` | `autopilot` | `autopilot` -> `70-release` |
|
|
54
59
|
| "High-level goal or long-running task" | `goal` | `goal` | `goal` -> `00-discover` |
|
|
55
60
|
| "Brainstorm ideas without allocating ID" | `brainstorm` | `brainstorm` | `brainstorm` -> `00-discover` |
|
|
56
61
|
| "Deep codebase or web research" | `research` | `research` | `research` |
|
|
@@ -66,20 +71,25 @@ When the user specifies a request, map it to the matching DevFlow 2.0 stage or c
|
|
|
66
71
|
Always provide a clean summary of available Nexus-DevFlow skills grouped by lifecycle stage:
|
|
67
72
|
|
|
68
73
|
### 1. Mainline Lifecycle Stages (Linear Order)
|
|
69
|
-
- `00-discover` (`discover`,
|
|
70
|
-
- `10-define` (`define`,
|
|
71
|
-
- `20-spec` (`spec`,
|
|
72
|
-
- `30-plan` (`plan`,
|
|
73
|
-
- `40-implement` (`implement`,
|
|
74
|
-
- `50-verify` (`verify`,
|
|
75
|
-
- `60-report` (`report`,
|
|
76
|
-
- `70-release` (`release`,
|
|
74
|
+
- `00-discover` (`discover`, `00-discover`, `$00-discover`) - Explore request, route inquiries, go/no-go under Discovery ID
|
|
75
|
+
- `10-define` (`define`, `10-define`, `$10-define`) - Lock delivery boundaries and allocate Running ID (`devflow/runs/{ID}`)
|
|
76
|
+
- `20-spec` (`spec`, `20-spec`, `$20-spec`) - Formalize markdown-first specifications and acceptance criteria
|
|
77
|
+
- `30-plan` (`plan`, `30-plan`, `$30-plan`) - Transform spec into executable task breakdown with test decisions
|
|
78
|
+
- `40-implement` (`implement`, `40-implement`, `$40-implement`) - Execute planned tasks incrementally with evidence
|
|
79
|
+
- `50-verify` (`verify`, `50-verify`, `$50-verify`) - Senior QA review, validation checks, and pass/fail gate
|
|
80
|
+
- `60-report` (`report`, `60-report`, `$60-report`) - Generate standardized markdown and HTML summary report
|
|
81
|
+
- `70-release` (`release`, `70-release`, `$70-release`) - Package verified work for PR merge or deployment
|
|
77
82
|
|
|
78
83
|
### 2. Public Companion Commands
|
|
79
|
-
- `devflow` (`status`,
|
|
80
|
-
- `onboard` (
|
|
81
|
-
- `adopt` (
|
|
82
|
-
- `doctor` (
|
|
84
|
+
- `devflow` (`status`, `devflow`, `$devflow`) - Guide, state inspector, and intent router
|
|
85
|
+
- `onboard` (`onboard`, `$onboard`) - Baseline stack setup for freshly scaffolded projects
|
|
86
|
+
- `adopt` (`adopt`, `$adopt`) - Survey and bootstrap DevFlow into existing brownfield projects
|
|
87
|
+
- `doctor` (`doctor`, `$doctor`) - Read-only health check for setup, scripts, and workflow drift
|
|
88
|
+
- `try` (`try`, `$try`) - Step-by-step human manual QA review guide (where to go, what to click, what to expect)
|
|
89
|
+
- `rollback` (`rollback`, `$rollback`) - Safe feature/run reversal planner with dependency risk analysis
|
|
90
|
+
- `ci` (`ci`, `$ci`) - Automatic GitHub Actions workflow (`.github/workflows/verify.yml`) setup
|
|
91
|
+
- `brief` (`brief`, `$brief`) - Read-only scope, dependency, and size pre-briefing before speccing
|
|
92
|
+
- `autopilot` (`autopilot`, `$autopilot`) - Optional bounded autonomous loop (spec -> plan -> implement -> verify -> report)
|
|
83
93
|
- `goal` - Route broad goals before Discovery
|
|
84
94
|
- `brainstorm` - Ideate without allocating running IDs
|
|
85
95
|
- `research` - Conduct codebase or web research
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: diagnosing-bugs
|
|
3
|
-
description: Diagnosis loop for hard bugs and performance regressions. Use inside Debug,
|
|
3
|
+
description: "[Devflow] Diagnosis loop for hard bugs and performance regressions. Use inside Debug, 40-implement, or 50-verify when behavior is broken, throwing, failing, flaky, or slow."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Diagnosing Bugs
|
|
7
7
|
|
|
8
8
|
Use this support skill when the active DevFlow owner needs a disciplined root-cause loop.
|
|
9
9
|
|
|
10
|
-
Do not let this skill replace `Debug`,
|
|
10
|
+
Do not let this skill replace `Debug`, `40-implement`, or `50-verify`. It supplies the method; the owning workflow records the artifact.
|
|
11
11
|
|
|
12
12
|
## Phase 1: Build A Tight Feedback Loop
|
|
13
13
|
|
|
@@ -79,7 +79,7 @@ When a correct test seam exists:
|
|
|
79
79
|
4. Watch it pass.
|
|
80
80
|
5. Re-run the original feedback loop.
|
|
81
81
|
|
|
82
|
-
If no correct seam exists, record that architecture finding and route to `codebase-design` or
|
|
82
|
+
If no correct seam exists, record that architecture finding and route to `codebase-design` or `30-plan` after the bug is fixed.
|
|
83
83
|
|
|
84
84
|
## Phase 6: Cleanup And Post-Mortem
|
|
85
85
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: doctor
|
|
3
|
-
description: Read-only DevFlow health check and diagnostics
|
|
3
|
+
description: "[Devflow] Read-only DevFlow health check and diagnostics for context files, adapters, commands, and workflow drift."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# doctor - Read-Only DevFlow Health Check & Diagnostics
|
|
@@ -12,7 +12,7 @@ Any time during development -> [doctor] -> Health Report & Actionable Fixes
|
|
|
12
12
|
(read-only inspection) (diagnostics) (remediation recommendations)
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
`doctor` is a safe, read-only diagnostic skill that verifies whether your repository's Nexus-DevFlow configuration, context files, tool adapters, commands, and active runs are healthy and aligned.
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
@@ -29,7 +29,7 @@ Run through these 5 health checks:
|
|
|
29
29
|
### Check 1: Core Framework & Context Files Integrity
|
|
30
30
|
- Check if [AGENTS.md](AGENTS.md) and [CLAUDE.md](CLAUDE.md) exist and are populated.
|
|
31
31
|
- Check required context files under `devflow/context/`:
|
|
32
|
-
- `project-overview.md` (Check if still empty/placeholder -> recommend
|
|
32
|
+
- `project-overview.md` (Check if still empty/placeholder -> recommend `onboard` or `adopt`)
|
|
33
33
|
- `coding-standards.md` (Check if customized for stack)
|
|
34
34
|
- `ai-interaction.md` (Check if rules are configured)
|
|
35
35
|
- `current-stage.md` (Check if active run matches filesystem)
|
|
@@ -80,5 +80,5 @@ Present a clean, scannable diagnostic report:
|
|
|
80
80
|
|
|
81
81
|
### Recommended Remediation Actions:
|
|
82
82
|
1. [Action item if any warning or failure detected]
|
|
83
|
-
2. [Suggested next command, e.g.
|
|
83
|
+
2. [Suggested next command, e.g. devflow, onboard, adopt, etc.]
|
|
84
84
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: documentation-and-adrs
|
|
3
|
-
description: Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.
|
|
3
|
+
description: "[Devflow] Records decisions and documentation. Use when making architectural decisions, changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Documentation and ADRs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: domain-modeling
|
|
3
|
-
description: Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
|
|
3
|
+
description: "[Devflow] Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Domain Modeling
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: followup
|
|
3
|
-
description: Followup
|
|
3
|
+
description: "[Devflow] Followup task tracking, post-verification iteration, and routing unresolved items to subsequent runs."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
---
|
|
@@ -33,11 +33,11 @@ Preserve existing phases, subtasks, statuses, logs, QA results, and completed co
|
|
|
33
33
|
|
|
34
34
|
Read:
|
|
35
35
|
|
|
36
|
-
- `devflow/runs/{ID}
|
|
37
|
-
- `devflow/runs/{ID}
|
|
38
|
-
- `devflow/runs/{ID}
|
|
39
|
-
- `devflow/runs/{ID}
|
|
40
|
-
- `devflow/runs/{ID}
|
|
36
|
+
- `devflow/runs/{ID}-*10-define.md`
|
|
37
|
+
- `devflow/runs/{ID}-*20-spec.md`
|
|
38
|
+
- `devflow/runs/{ID}-*30-plan.md`
|
|
39
|
+
- `devflow/runs/{ID}-*40-implement.md`
|
|
40
|
+
- `devflow/runs/{ID}-*50-verify.md` if present
|
|
41
41
|
|
|
42
42
|
### 2. Classify The Follow-Up
|
|
43
43
|
|
|
@@ -57,7 +57,7 @@ Append the follow-up scope directly to the relevant stage markdown files for the
|
|
|
57
57
|
|
|
58
58
|
### 4. Ask For Confirmation
|
|
59
59
|
|
|
60
|
-
After adding or proposing follow-up subtasks, ask the user to confirm before
|
|
60
|
+
After adding or proposing follow-up subtasks, ask the user to confirm before `40-implement`.
|
|
61
61
|
|
|
62
62
|
## Output
|
|
63
63
|
|
|
@@ -66,18 +66,18 @@ Return:
|
|
|
66
66
|
- follow-up category
|
|
67
67
|
- new phase/subtask plan
|
|
68
68
|
- validation result
|
|
69
|
-
- next command:
|
|
69
|
+
- next command: `40-implement {ID}`
|
|
70
70
|
|
|
71
71
|
## Relationship To DevFlow 2.0
|
|
72
72
|
|
|
73
73
|
- Classification: Companion command
|
|
74
74
|
- Mainline status: Not a numbered stage
|
|
75
75
|
- Typical entry points: after review, triage, or release follow-up work is identified
|
|
76
|
-
- Typical handoff targets:
|
|
76
|
+
- Typical handoff targets: `10-define`, `20-spec`, `30-plan`, `40-implement`
|
|
77
77
|
|
|
78
78
|
## Sources
|
|
79
79
|
|
|
80
80
|
- `AGENTS.md`
|
|
81
|
-
- Related commands: `PR-Followup`, `Issue-Triage`, `Human-Feedback`,
|
|
81
|
+
- Related commands: `PR-Followup`, `Issue-Triage`, `Human-Feedback`, `10-define`, `20-spec`, `40-implement`
|
|
82
82
|
|
|
83
83
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: frontend-ui-engineering
|
|
3
|
-
description: Builds production-quality UIs. Use when building or modifying user-facing interfaces. Use when creating components, implementing layouts, managing state, or when the output needs to look and feel production-quality rather than AI-generated.
|
|
3
|
+
description: "[Devflow] Builds production-quality UIs. Use when building or modifying user-facing interfaces. Use when creating components, implementing layouts, managing state, or when the output needs to look and feel production-quality rather than AI-generated."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Frontend UI Engineering
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: git-workflow-and-versioning
|
|
3
|
-
description: Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams.
|
|
3
|
+
description: "[Devflow] Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Git Workflow and Versioning
|