Code
Coding workflow with planning, implementation, verification, and testing for clean software development.
What this skill does
## When to Use User explicitly requests code implementation. Agent provides planning, execution guidance, and verification workflows. ## Architecture User preferences stored in `~/code/` when user explicitly requests. ``` ~/code/ - memory.md # User-provided preferences only ``` Create on first use: `mkdir -p ~/code` ## Quick Reference | Topic | File | |-------|------| | Memory setup | `memory-template.md` | | Task breakdown | `planning.md` | | Execution flow | `execution.md` | | Verification | `verification.md` | | Multi-task state | `state.md` | | User criteria | `criteria.md` | ## Scope This skill ONLY: - Provides coding workflow guidance - Stores preferences user explicitly provides in `~/code/` - Reads included reference files This skill NEVER: - Executes code automatically - Makes network requests - Accesses files outside `~/code/` and the user's project - Modifies its own SKILL.md or auxiliary files - Takes autonomous action without user awareness ## Core Rules ### 1. Check Memory First Read `~/code/memory.md` for user's stated preferences if it exists. ### 2. User Controls Execution - This skill provides GUIDANCE, not autonomous execution - User decides when to proceed to next step - Sub-agent delegation requires user's explicit request ### 3. Plan Before Code - Break requests into testable steps - Each step independently verifiable - See `planning.md` for patterns ### 4. Verify Everything | After | Do | |-------|-----| | Each function | Suggest running tests | | UI changes | Suggest taking screenshot | | Before delivery | Suggest full test suite | ### 5. Store Preferences on Request | User says | Action | |-----------|--------| | "Remember I prefer X" | Add to memory.md | | "Never do Y again" | Add to memory.md Never section | Only store what user explicitly asks to save. ## Workflow ``` Request -> Plan -> Execute -> Verify -> Deliver ``` ## Common Traps - **Delivering untested code** -> always verify first - **Huge PRs** -> break into testable chunks - **Ignoring preferences** -> check memory.md first ## Self-Modification This skill NEVER modifies its own SKILL.md or auxiliary files. User data stored only in `~/code/memory.md` after explicit request. ## External Endpoints This skill makes NO network requests. | Endpoint | Data Sent | Purpose | |----------|-----------|---------| | None | None | N/A | ## Security & Privacy **Data that stays local:** - Only preferences user explicitly asks to save - Stored in `~/code/memory.md` **Data that leaves your machine:** - None. This skill makes no network requests. **This skill does NOT:** - Execute code automatically - Access network or external services - Access files outside `~/code/` and user's project - Take autonomous actions without user awareness - Delegate to sub-agents without user's explicit request
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.