[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77W8SN9V7N3T8DFP6FG60ZQ":3,"skill-same:01M77W8SN9V7N3T8DFP6FG60ZQ":42},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":27,"install":28,"resources":41},"01M77W8SN9V7N3T8DFP6FG60ZQ","plan",null,"johnson-cooper\u002Fsolara","johnson-cooper","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F129237833?v=4","01M77W77NPX34PNKYKJGW9GHE8","Cooper Johnson","01M77W77PE71KVTKQCGJYV7Z0X",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplan\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# SKILL: ARCHITECTURE & PLANNING\n**Goal:** Define DSP architecture, complexity assessment, and implementation strategy\n**Trigger:** `\u002Fplan [Name]`\n**Input:** Reads `plugins\u002F[Name]\u002F.ideas\u002Fcreative-brief.md` and `parameter-spec.md`\n**Output Location:** `plugins\u002F[Name]\u002F.ideas\u002F`\n\n---\n\n## 🎯 PHASE 2: PLAN (Architecture & Strategy)\n\n**Prerequisites:**\n- `plugins\u002F[Name]\u002F.ideas\u002Fcreative-brief.md` exists\n- `plugins\u002F[Name]\u002F.ideas\u002Fparameter-spec.md` exists\n- Phase 1 (DREAM) complete\n\n**Output Files:**\n- `plugins\u002F[Name]\u002F.ideas\u002Farchitecture.md` - DSP component design\n- `plugins\u002F[Name]\u002F.ideas\u002Fplan.md` - Implementation strategy and complexity assessment\n\n---\n\n## 📋 STEP 1: ARCHITECTURE DEFINITION\n\n### 1.1 Read Input Contracts\nRead these files in parallel:\n- `plugins\u002F[Name]\u002F.ideas\u002Fcreative-brief.md` - Plugin concept and behavior\n- `plugins\u002F[Name]\u002F.ideas\u002Fparameter-spec.md` - Parameter definitions and ranges\n\n### 1.2 Define DSP Architecture\nCreate `plugins\u002F[Name]\u002F.ideas\u002Farchitecture.md` with this structure:\n\n```markdown\n# DSP Architecture Specification\n\n## Core Components\nList the main DSP building blocks needed:\n\n**Example for a compressor:**\n- Input gain stage\n- Sidechain detection (RMS\u002FPeak)\n- Gain computer (log\u002Flinear)\n- Lookahead delay buffer\n- Output gain stage\n\n**Example for a delay:**\n- Input buffer management\n- Delay line (circular buffer)\n- Feedback processing\n- Mix control\n- Output processing\n\n## Processing Chain\nDefine the signal flow:\n\n```\nInput → [Component 1] → [Component 2] → ... → Output\n```\n\n**Example:**\n```\nInput → Input Gain → Sidechain → Detector → Gain Computer → Lookahead → Output Gain → Output\n```\n\n## Parameter Mapping\nMap each parameter to DSP components:\n\n| Parameter | Component | Function | Range |\n|-----------|-----------|----------|-------|\n| Threshold | Detector | Sets detection level | -60dB to 0dB |\n| Ratio | Gain Computer | Sets compression ratio | 1:1 to 20:1 |\n| Attack | Detector | Sets attack time | 0.1ms to 100ms |\n\n## Complexity Assessment\nRate the plugin complexity (1-5):\n\n**Level 1 (Simple):** Basic gain, simple filter, single parameter\n**Level 2 (Moderate):** Multi-parameter, basic dynamics, simple modulation\n**Level 3 (Advanced):** Multi-band processing, complex algorithms, state management\n**Level 4 (Expert):** Synthesis engines, complex feedback, real-time analysis\n**Level 5 (Research):** Machine learning, complex modeling, advanced DSP\n\n**Score: [1-5]**\n**Rationale: [Explain the complexity factors]**\n```\n\n---\n\n## 📊 STEP 2: IMPLEMENTATION PLANNING\n\n### 2.1 Create Implementation Plan\nCreate `plugins\u002F[Name]\u002F.ideas\u002Fplan.md` with this structure:\n\n```markdown\n# Implementation Plan\n\n## Complexity Score: [1-5]\n\n## Implementation Strategy\n\n### Single-Pass Implementation (Score ≤2)\nExecute all DSP components in one implementation session:\n- Core processing logic\n- Parameter binding\n- Basic optimization\n\n**Example for simple gain plugin:**\n- Implement gain calculation\n- Connect to parameter\n- Add smoothing\n\n### Phased Implementation (Score ≥3)\nBreak implementation into logical phases:\n\n**Phase 2.1.1: Core Processing**\n- [ ] Basic signal path\n- [ ] Core DSP algorithm\n- [ ] Parameter integration\n\n**Phase 2.1.2: Optimization**\n- [ ] Real-time safety\n- [ ] Memory management\n- [ ] Performance tuning\n\n**Phase 2.1.3: Polish**\n- [ ] Edge case handling\n- [ ] State management\n- [ ] Testing integration\n\n## Dependencies\nList required JUCE modules and external dependencies:\n\n**Required JUCE Modules:**\n- juce_audio_basics\n- juce_audio_processors\n- juce_dsp\n\n**Optional Modules:**\n- juce_gui_basics (for custom UI)\n- juce_audio_formats (for file I\u002FO)\n\n## Risk Assessment\nIdentify potential implementation challenges:\n\n**High Risk:**\n- [List complex algorithms or real-time constraints]\n\n**Medium Risk:**\n- [List parameter smoothing or state management issues]\n\n**Low Risk:**\n- [List straightforward components]\n```\n\n---\n\n## 🎨 STEP 3: UI FRAMEWORK SELECTION\n\n### 3.1 Framework Decision\nBased on the architecture complexity and plugin requirements:\n\n**Visage Framework (Recommended for):**\n- Simple to moderate complexity (Score 1-3)\n- Performance-critical plugins\n- Minimal UI requirements\n- Pure C++ development preference\n\n**WebView Framework (Recommended for):**\n- Complex UI requirements\n- Rich visualizations\n- Interactive controls\n- Web-based design workflow\n\n**If user has not explicitly chosen a UI framework, ask this question before deciding:**\n\"Do you want WebView2 (HTML\u002FJS UI) or Visage (native C++) for this plugin?\"\n\n**Decision: [visage\u002Fwebview]**\n**Rationale: [Explain the choice based on plugin requirements]**\n\n### 3.2 Update Project State\nUse the state management system to update project state:\n\n**Import state management:**\n```powershell\n# Import state management module\n. \"$PSScriptRoot\\..\\scripts\\state-management.ps1\"\n```\n\n**Validate prerequisites:**\n```powershell\n# Check that ideation phase is complete\nif (-not (Test-PluginState -PluginPath \"plugins\\[Name]\" -RequiredPhase \"ideation_complete\" -RequiredFiles @(\".ideas\u002Fcreative-brief.md\", \".ideas\u002Fparameter-spec.md\"))) {\n    Write-Error \"Prerequisites not met. Complete ideation phase first.\"\n    exit 1\n}\n```\n\n**Update state with framework selection:**\n```powershell\n# Use centralized framework selection\nSet-PluginFramework -PluginPath \"plugins\\[Name]\" -Framework \"[visage\u002Fwebview]\" -Rationale \"[Explain framework choice]\"\n\n# Update state with planning completion\nComplete-Phase -PluginPath \"plugins\\[Name]\" -Phase \"plan\" -Updates @{\n  \"complexity_score\" = [1-5]\n  \"framework_selection.implementation_strategy\" = \"[single-pass\u002Fphased]\"\n  \"validation.architecture_defined\" = $true\n  \"validation.ui_framework_selected\" = $true\n}\n```\n\n**State schema after planning:**\n```json\n{\n  \"plugin_name\": \"[Name]\",\n  \"version\": \"v0.0.0\",\n  \"current_phase\": \"plan_complete\",\n  \"ui_framework\": \"[visage\u002Fwebview]\",\n  \"complexity_score\": [1-5],\n  \"created_at\": \"2026-01-04T20:20:00Z\",\n  \"last_modified\": \"2026-01-04T20:20:00Z\",\n  \"phase_history\": [\n    {\n      \"phase\": \"ideation_complete\",\n      \"completed_at\": \"2026-01-04T20:20:00Z\",\n      \"framework_selected\": null\n    },\n    {\n      \"phase\": \"plan_complete\",\n      \"completed_at\": \"2026-01-04T20:20:00Z\",\n      \"framework_selected\": \"[visage\u002Fwebview]\"\n    }\n  ],\n  \"validation\": {\n    \"creative_brief_exists\": true,\n    \"parameter_spec_exists\": true,\n    \"architecture_defined\": true,\n    \"ui_framework_selected\": true,\n    \"design_complete\": false,\n    \"code_complete\": false,\n    \"tests_passed\": false,\n    \"ship_ready\": false\n  },\n  \"framework_selection\": {\n    \"decision\": \"[visage\u002Fwebview]\",\n    \"rationale\": \"[Framework choice explanation]\",\n    \"implementation_strategy\": \"[single-pass\u002Fphased]\"\n  },\n  \"error_recovery\": {\n    \"last_backup\": null,\n    \"rollback_available\": false,\n    \"error_log\": []\n  }\n}\n```\n\n---\n\n## 🔄 STEP 4: VALIDATION & CONTINUATION\n\n### 4.1 Validation Checklist\nVerify all required files exist:\n- [ ] `plugins\u002F[Name]\u002F.ideas\u002Farchitecture.md` created\n- [ ] `plugins\u002F[Name]\u002F.ideas\u002Fplan.md` created\n- [ ] `plugins\u002F[Name]\u002Fstatus.json` updated with framework selection\n- [ ] Complexity score assigned and justified\n\n### 4.2 Decision Menu\nPresent user with next steps:\n\n```\n✓ Architecture & Planning Complete\n\nPlugin: [Name]\nComplexity: [Score]\u002F5\nFramework: [visage\u002Fwebview]\n\nWhat's next?\n1. Start DESIGN phase - Create UI mockups and specifications\n2. Review architecture - Examine DSP design and implementation plan\n3. Modify plan - Adjust complexity assessment or framework choice\n4. Pause here\n\nChoose (1-4): _\n```\n\n### 4.3 Routing Logic\n- **Option 1:** Proceed to Phase 3 (DESIGN) - invoke `skill_design.md`\n- **Option 2:** Read and display architecture.md, plan.md, parameter-spec.md\n- **Option 3:** Allow user to modify plan.md and re-run validation\n- **Option 4:** Save state and exit skill\n\n---\n\n## 📚 INTEGRATION\n\n**Invoked by:**\n- Natural language: \"Plan architecture for [Name]\", \"Research DSP for [Name]\"\n- After Phase 1 (DREAM) complete\n- Manual trigger via `\u002Fplan [Name]`\n\n**Creates:**\n- `plugins\u002F[Name]\u002F.ideas\u002Farchitecture.md` - DSP component design\n- `plugins\u002F[Name]\u002F.ideas\u002Fplan.md` - Implementation strategy\n- Updates `plugins\u002F[Name]\u002Fstatus.json` - Framework selection\n\n**Next phase:**\n- Phase 3: DESIGN (if user chooses to continue)\n\n---\n\n## ⚠️ CRITICAL RULES\n\n1. **Architecture First:** Always define DSP components before implementation\n2. **Complexity Assessment:** Be honest about complexity - affects implementation approach\n3. **Framework Selection:** Choose based on plugin requirements, not preference\n4. **State Management:** Always update status.json with framework selection\n5. **Validation:** Verify all contracts exist before proceeding\n6. **User Choice:** Present clear options for continuation\n\n---\n\n## 🛠️ TROUBLESHOOTING\n\n**Missing creative brief:**\n- Error: \"Creative brief required. Run \u002Fdream [Name] first.\"\n- Solution: Ensure Phase 1 is complete\n\n**Missing parameter spec:**\n- Error: \"Parameter specification required.\"\n- Solution: Create parameter-spec.md from creative brief\n\n**Architecture validation fails:**\n- Check all required sections exist\n- Verify parameter mapping is complete\n- Ensure complexity score is justified\n\n**Framework selection unclear:**\n- Re-evaluate plugin requirements\n- Consider performance vs. UI complexity trade-offs\n- Default to Visage for simpler plugins\n",{},"main","12b9e0c7363e91ca0140b9c7f1c6c37c10d2eafb",".claude\u002Fskills\u002Fplan","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper","2026-07-01 07:58:33",{"source":7,"skillName":5,"commands":29,"prompt":39,"zipAvailable":40},[30,33,36],{"tool":31,"command":32},"npx","npx skills add johnson-cooper\u002Fsolara --skill plan",{"tool":34,"command":35},"bunx","bunx skills add johnson-cooper\u002Fsolara --skill plan",{"tool":37,"command":38},"pnpm","pnpm dlx skills add johnson-cooper\u002Fsolara --skill plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplan\u002FSKILL.md",true,[],[43,49,55,61,67,73],{"skillNo":44,"name":45,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":46,"categories":47,"keywords":48,"publishedAt":18},"01M77WA1DG7127E93ZCEJN9920","skill_troubleshooting","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara\u002Fblob\u002Fmain\u002F.kilocode\u002Fskills\u002Fskill_troubleshooting\u002FSKILL.md",[],[],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M77WA08NK9TBCTFKVHBD5Z2Q","skill_testing","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara\u002Fblob\u002Fmain\u002F.kilocode\u002Fskills\u002Fskill_testing\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M77W9Y67EC89BY21MYH3ZE34","skill_planning","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara\u002Fblob\u002Fmain\u002F.kilocode\u002Fskills\u002Fskill_planning\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M77W9TKWJN8QQWHJNNJM27NH","skill_packaging","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara\u002Fblob\u002Fmain\u002F.kilocode\u002Fskills\u002Fskill_packaging\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M77W9NG6DFVNY6PMPM09VHEE","skill_implementation","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara\u002Fblob\u002Fmain\u002F.kilocode\u002Fskills\u002Fskill_implementation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M77W9KCB9VRE83Q6PHK6RDMK","skill_ideation","https:\u002F\u002Fgithub.com\u002Fjohnson-cooper\u002Fsolara\u002Fblob\u002Fmain\u002F.kilocode\u002Fskills\u002Fskill_ideation\u002FSKILL.md",[],[]]