Loading...
Loading...
Diagnoses the current project state and recommends the exact command sequence for one of 6 onboarding cases. Trigger: /project-onboard, what do I run first, project setup help, diagnose project state.
npx skill4agent add fearovex/claude-config project-onboardReads the current project's file system and determines which of 6 onboarding cases applies, then recommends the exact command sequence.
/project-onboard.claude/CLAUDE.mdCLAUDE.md## Diagnosis
Project state: Case 1 — Brand-New Project
Detected:
- .claude/CLAUDE.md: NOT FOUND
- No Claude configuration present in this project
Warnings:
- None
## Recommended Command Sequence
1. /project-setup — creates .claude/CLAUDE.md, ai-context/ skeleton, persists context to engram
2. /memory-init — generates ai-context/ files from real project content
3. /project-audit — produces audit-report.md with score and findings
4. /project-fix — applies all corrections from the audit report
## Notes
After /project-fix, re-run /project-audit to verify score ≥ 75 and SDD Readiness = FULL or PARTIAL.
See ai-context/scenarios.md → Case 1 for failure modes and recovery steps.mem_context## Diagnosis
Project state: Case 2 — CLAUDE.md Without SDD Persistence
Detected:
- .claude/CLAUDE.md: FOUND
- Engram MCP: NOT REACHABLE
- SDD cannot persist artifacts without Engram
Warnings:
- [list any ai-context/ files found or note if ai-context/ is absent]
## Recommended Command Sequence
1. Ensure Engram MCP server is running and configured
2. /project-audit — diagnose the full scope of what is missing
3. /project-fix — adds SDD section to CLAUDE.md
4. /memory-init — if ai-context/ is empty or absent
5. /project-audit — verify score improved
## Notes
project-fix will ask before every change — review each proposed action carefully.
See ai-context/scenarios.md → Case 2 for failure modes and recovery steps.ai-context/stack.mdarchitecture.mdconventions.mdknown-issues.mdchangelog-ai.md## Diagnosis
Project state: Case 3 — Partial SDD (ai-context/ is sparse)
Detected:
- .claude/CLAUDE.md: FOUND
- Engram MCP: REACHABLE
- ai-context/ populated files: [N] of 5 (minimum needed: 3)
- Missing or empty: [list each absent/stub file]
Warnings:
- [list any other issues found, e.g. stale onboarding.md]
## Recommended Command Sequence
1. /memory-init — regenerates all ai-context/ files from real project state
2. /project-audit — verify D2 score improved
3. /project-fix — address any remaining findings
## Notes
/memory-init does not overwrite files that already have substantial content.
See ai-context/scenarios.md → Case 3 for failure modes and recovery steps..claude/skills/Warnings:
- .claude/skills/ found with [N] local skill(s): [list names]
Run /project-audit to see Dimension 9 findings (duplicate detection, structural completeness, language compliance).
Run /project-fix Phase 5 to apply corrections after auditing.mem_search(query: "sdd/", project: "{project}")tasksverify-report## Diagnosis
Project state: Case 5 — Orphaned SDD Changes
Detected:
- .claude/CLAUDE.md: FOUND
- Engram MCP: REACHABLE
- ai-context/: adequate ([N] populated files)
- Orphaned changes:
- [change-name]: missing [tasks | verify-report]
- [change-name]: missing [tasks | verify-report]
Warnings:
- [local skills warning if Check 4 triggered]
## Recommended Command Sequence
1. /sdd-status — see all active changes and their current phase
2. For each orphaned change, one of:
/sdd-apply <name> — if tasks.md is missing (change never implemented)
/sdd-verify <name> — if implemented but never verified
/sdd-archive <name> — if complete but never archived
3. /project-audit — verify D3 shows no orphaned changes
## Notes
To discard a dead-end change: run /sdd-archive <name> to close it in engram.
See ai-context/scenarios.md → Case 5 for failure modes and recovery steps.## Diagnosis
Project state: Case 6 — Fully Configured
Detected:
- .claude/CLAUDE.md: FOUND
- Engram MCP: REACHABLE
- ai-context/: adequate ([N] populated files)
- Engram: no orphaned SDD changes
Warnings:
- [local skills warning if Check 4 triggered]
- [stale onboarding.md warning if Last verified > 90 days: "Run /project-update to refresh user docs"]
## Recommended Command Sequence
For a well-understood change:
1. /sdd-propose <change-name> — create proposal (orchestrator fast-forwards planning automatically)
2. /sdd-apply <change-name> — implement the task plan
For a complex or vague change:
1. /sdd-explore <topic> — investigate the area before committing to a change
2. /sdd-propose <change-name> — create proposal from exploration findings
3. /sdd-apply <change-name> — implement the task plan
## Notes
Multi-phase flows (propose → spec+design → tasks in one shot, or full cycles with exploration) are handled
by the orchestrator as meta-commands typed directly in conversation — not invoked as skills.
See ai-context/quick-reference.md for entry-point guidance.install.shskills/agent-configWarnings:- Run /claude-folder-audit to verify ~/.claude/ is in sync with this repo (installation drift check).ai-context/onboarding.mdai-context/scenarios.mdai-context/quick-reference.md> Last verified:- [filename] is stale ([N] days since last verification). Run /project-update to refresh.## Notesai-context/scenarios.md