implementation
Implement the next pending feature from feature-list.json. Lean loop: pick feature, implement with tests, verify all checks pass, commit, mark done. Use when features are pending and you're ready to build. Also use when user says 'build next feature', 'implement', 'start coding', 'what's next', or after /init-project has created the feature list.
What this skill does
# Implementation Pick the next feature. Build it. Verify it. Ship it. ## Gotchas | Gotcha | What happens | Do instead | |--------|-------------|------------| | Committing before verify passes | Broken code lands in history, needs revert or fixup | Always run verify.sh first — commit only on exit 0 | | Reading full feature-list.json | Burns context tokens as feature list grows (33+ features) | Use `feature.py next` to get just the one feature you need | | Script fails, agent rewrites it | Loses project-specific customizations from /init-project | Read the script, fix the broken command — never recreate | | Forgetting to update AGENTS.md | Architecture/Key Files drift from actual codebase | Check if you added/removed modules — update if so | ## Workflow ### 1. Pick Feature ```bash python .codex/scripts/feature.py next ``` Returns the highest-priority pending feature whose dependencies are resolved. If no features ready, stop and tell the user. ### 2. Implement - Read the project AGENTS.md for architecture, key files, and conventions - Read existing code before modifying — understand the patterns in use - Write the implementation following project conventions - Write tests — happy path + at least one error path The goal is working code with tests, not perfect code. Ship, then iterate. ### 3. Verify ```bash bash .codex/scripts/verify.sh ``` Runs lint → test → build in order, stops at first failure. Fix the issue, rerun from top. Only proceed to commit when exit code is 0. If `verify.sh` is missing or stale, run the checks from AGENTS.md Commands table manually. ### 4. Commit Stage only the files you changed. Commit with the feature ID: ``` feat(FT-XXX): short description of what was built ``` ### 5. Update & Mark Done - If you added/removed modules, models, or key files → update AGENTS.md (Architecture, Key Files, Commands) - If the feature revealed new verification needs → update `.codex/scripts/verify.sh` - Mark done: ```bash python .codex/scripts/feature.py done FT-XXX ``` ## Scripts Reference Scripts live in `.codex/scripts/`. Created by `/init-project`, tailored per project. | Script | What it does | When to update | |--------|-------------|----------------| | `feature.py` | Feature CRUD: `next`, `get`, `done`, `add`, `list`, `summary`. Reads/writes `.codex/progress/feature-list.json`. | Never — project-agnostic | | `verify.sh` | Runs lint → test → build in order, `set -e` stops at first failure. Exit 0 = all pass. | When a feature adds a new check (e.g., type check, new linter, integration test command) | | `dev-server.sh` | Installs deps + starts dev server. | When dependencies change, entry point moves, or a new service is added | **If a script fails:** read it, fix the broken command, do NOT delete and rewrite. The structure (set -e, echo headers, command order) is intentional and project-specific. ## Rules - **Never commit with failing checks** — broken commits create revert churn that wastes more time than the fix - **Never skip tests for production code** — untested code is unverified code, and the agent can't self-correct without tests - **Read files before editing** — modifying code you haven't read produces wrong assumptions and wasted iterations - **One feature per cycle** — context switching mid-feature leads to half-finished work in both - **Never recreate scripts from scratch** — they contain project-specific customizations from /init-project that you can't rederive
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.