Iterating Code
Explore complex, multi-faceted topics requiring deep understanding through a three-round iterative strategy with parallel subagents.
What this skill does
# Iterating Code
Use for complex, multi-faceted topics requiring deep understanding, abstract/theoretical concepts, historical/academic subjects, or progressive knowledge building where synthesis is the goal.
## 3-Round Pattern
**Round 1: Foundation**
- Goal: Establish baseline understanding
- Explore: Core concepts, historical context, key figures
- Focus: Breadth over depth
- Output: Mental map
**Round 2: Deep Dive**
- Goal: Understand relationships and nuances
- Explore: How concepts relate, perspectives, debates
- Focus: Connections between Round 1 findings
- Output: Integrated understanding
**Round 3: Synthesis**
- Goal: Advanced understanding, critical evaluation
- Explore: Implications, contradictions, scholarly debates
- Focus: Evaluate competing interpretations
- Output: Sophisticated, multi-layered comprehension
## Subagent Coordination
**Parallel within rounds:**
```
Round Goal
├─→ Agent 1: Aspect A
├─→ Agent 2: Aspect B
└─→ Agent 3: Aspect C
└─→ Synthesis
```
**Sequential between rounds:**
```
Round 1: Foundation
↓ (synthesize)
Round 2: Connections
↓ (synthesize)
Round 3: Analysis
↓ (final synthesis)
Final Understanding
```
## Example: Chinese Women's History
**Round 1 - Foundation:**
- Agent 1: Historical context (Ming-Qing)
- Agent 2: Confucian patriarchy framework
- Agent 3: Women's educational access
**Round 2 - Connections:**
- Agent 1: Revisionist vs modernization narrative
- Agent 2: Ko's footbinding & agency reinterpretation
- Agent 3: Mann's "moral wives" & state ideology
**Round 3 - Synthesis:**
- Agent 1: Modernization vs revisionist debate
- Agent 2: Why "tradition" doesn't explain China's path
- Agent 3: Implications for patriarchy and agency
## Implementation Steps
1. **Define topic and angles**
- Round 1: 3 foundational aspects
- Round 2: 3 connection/debate aspects
- Round 3: 3 analytical/critical aspects
2. **Launch Round 1** (parallel agents)
3. **Synthesize Round 1** (patterns, connections)
4. **Launch Round 2** (refined by Round 1)
5. **Synthesize Round 2** (identify gaps)
6. **Launch Round 3** (critical analysis)
7. **Final synthesis** (integrate all rounds)
## Benefits
- Progressive complexity (Foundation → Connections → Analysis)
- Reduced cognitive load (focused rounds)
- Better retention (step-by-step mental models)
- Identifies gaps (each round reveals next steps)
- Parallel efficiency (simultaneous investigation)
- Synthesis moments (deliberate integration)
## Key Principles
1. Clear round objectives (one goal per round)
2. Parallel within, sequential between
3. Synthesize after each round
4. Refine based on findings
5. Document connections (Round 1 → 2 → 3)
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.