project-onboard
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.
What this skill does
# project-onboard
> Reads the current project's file system and determines which of 6 onboarding cases applies, then recommends the exact command sequence.
**Triggers**: `/project-onboard`, onboard project, diagnose project state, what do I run first, project setup help
---
## Process
I run a 5-check waterfall in strict priority order. I read real files — I never ask the user questions. The first failing check determines the primary case assignment. Check 4 is non-blocking: a project can simultaneously be Case 6 (healthy) and have local skill issues.
### Check 1 — CLAUDE.md exists
Read `.claude/CLAUDE.md` (also accept `CLAUDE.md` at project root for global-config repos).
**If absent → Case 1: Brand-new project**
```
## 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.
```
Stop here if Case 1.
---
### Check 2 — Engram MCP reachable
Check if Engram MCP is reachable (call `mem_context`).
- If Engram is reachable → SDD infrastructure lives in Engram. Treat the project as healthy for this check and continue to Check 3.
- If Engram is NOT reachable → **Case 2** (below).
**If Engram not reachable → Case 2: CLAUDE.md present but no SDD persistence**
```
## 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.
```
Stop here if Case 2.
---
### Check 3 — ai-context/ has ≥ 3 populated files
Read `ai-context/` directory. Count files that exist AND have more than 10 lines.
Expected files: `stack.md`, `architecture.md`, `conventions.md`, `known-issues.md`, `changelog-ai.md`.
**If fewer than 3 populated files → Case 3: Partial SDD, sparse memory layer**
```
## 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.
```
Stop here if Case 3.
---
### Check 4 — Local skills review (non-blocking)
Read `.claude/skills/` directory. If it exists and has any subdirectories, record a warning for the diagnosis output. **Do not stop — continue to Check 5.**
Local skills warning (append to any case diagnosis):
```
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.
```
---
### Check 5 — Orphaned SDD changes
Search engram for active SDD changes: `mem_search(query: "sdd/", project: "{project}")`. Filter for changes that have a state artifact but no archive-report, and check if they have tasks and verify-report artifacts.
**If any change is missing `tasks` OR `verify-report` artifacts → Case 5: Orphaned or stale changes**
```
## 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.
```
Stop here if Case 5.
---
### Check 6 — All healthy (default)
All checks passed. The project is fully configured.
```
## 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.
```
---
### Check 7 — Runtime sync hint (non-blocking, global-config mode only)
If `install.sh` AND `skills/` exist at the project root (i.e., the cwd is the `agent-config` meta-repo), append the following line to the `Warnings:` section of the case diagnosis output — regardless of which case was assigned:
```
- Run /claude-folder-audit to verify ~/.claude/ is in sync with this repo (installation drift check).
```
This check MUST NOT change the case assignment, alter the Recommended Command Sequence, or interrupt the existing 6-check waterfall. It is a hint only.
---
## Stale docs warning logic
After determining the primary case, check `ai-context/onboarding.md`, `ai-context/scenarios.md`, and `ai-context/quick-reference.md` for the `> Last verified:` field. If any file's date is more than 90 days from today, append to the Warnings section:
```
- [filename] is stale ([N] days since last verification). Run /project-update to refresh.
```
---
## Rules
- Do not ask the user any questions — detection is fully automatic from file-system state
- Detection is derived from real file presence/absence — no hardcoded case IDs or lookup tables
- Priority order is strict: once a case is assigned at check N, do not also assign a lower-priority case (exception: Check 4 local skill flag is always surfaceRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.