skill-system-coder-lifecycle
Deprecated compatibility shim for canonical coder/user/auto session management. skill-system-comms is now the merged owner; this skill remains available so existing commands and imports keep working during the merge window.
What this skill does
# Skill System Coder Lifecycle
Deprecated compatibility surface. `skill-system-comms` is now the merged owner of reviewer messaging plus session lifecycle management. This skill remains as a compatibility shim during the transition.
This skill owns the canonical opencode session convention for projects:
- `coder`
- `user`
- `auto`
It uses `opencode session list --format json -n 20` for discovery, supplements
that with SQLite reads from `opencode.db`, and never uses `opencode run --title`.
## Commands
```bash
python3 "{skill_dir}/scripts/coder_lifecycle.py" discover <project-dir>
python3 "{skill_dir}/scripts/coder_lifecycle.py" ensure <project-dir>
python3 "{skill_dir}/scripts/coder_lifecycle.py" cleanup <project-dir>
python3 "{skill_dir}/scripts/coder_lifecycle.py" restart <project-dir> <session-name>
python3 "{skill_dir}/scripts/coder_lifecycle.py" audit
```
## Rules
- Discovery is authoritative for command decisions.
- Cleanup only deletes non-canonical sessions.
- Ambiguous canonical matches fail closed.
- Known projects are configured in `config/coder-lifecycle.yaml`.
```skill-manifest
{
"schema_version": "2.0",
"id": "skill-system-coder-lifecycle",
"version": "1.0.0",
"capabilities": ["session-discover", "session-ensure", "session-cleanup", "session-restart", "session-audit"],
"effects": ["fs.read", "db.read", "db.write", "proc.exec"],
"operations": {
"discover": {
"description": "Discover canonical coder/user/auto sessions for one project.",
"input": {
"project_dir": { "type": "string", "required": true, "description": "Target project directory" }
},
"output": {
"description": "Canonical session status plus extras",
"fields": { "sessions": "array", "extras": "array" }
},
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/coder_lifecycle.py", "discover", "{project_dir}"]
}
},
"ensure": {
"description": "Ensure canonical coder/user/auto sessions exist for one project.",
"input": {
"project_dir": { "type": "string", "required": true, "description": "Target project directory" }
},
"output": {
"description": "Created sessions and final state",
"fields": { "created": "array", "sessions": "array" }
},
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/coder_lifecycle.py", "ensure", "{project_dir}"]
}
},
"cleanup": {
"description": "Delete non-canonical sessions from one project.",
"input": {
"project_dir": { "type": "string", "required": true, "description": "Target project directory" }
},
"output": {
"description": "Deleted extra sessions and final state",
"fields": { "deleted": "array", "sessions": "array" }
},
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/coder_lifecycle.py", "cleanup", "{project_dir}"]
}
},
"restart": {
"description": "Restart one canonical session for a project.",
"input": {
"project_dir": { "type": "string", "required": true, "description": "Target project directory" },
"session_name": { "type": "string", "required": true, "description": "Canonical session name" }
},
"output": {
"description": "Restart result and final state",
"fields": { "restarted": "boolean", "sessions": "array" }
},
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/coder_lifecycle.py", "restart", "{project_dir}", "{session_name}"]
}
},
"audit": {
"description": "Audit all known projects for session health.",
"input": {},
"output": {
"description": "Session health rows by project",
"fields": { "rows": "array" }
},
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/coder_lifecycle.py", "audit"]
}
}
},
"stdout_contract": {
"last_line_json": true
}
}
```
Related 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.