[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D79X9PMDFEKM358XMAPE2H":3,"skill-same:01M6D79X9PMDFEKM358XMAPE2H":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M6D79X9PMDFEKM358XMAPE2H","promote",null,"Graduate a proven pattern from auto-memory (MEMORY.md) to CLAUDE.md or .claude\u002Frules\u002F for permanent enforcement.","oabdelmaksoud\u002FSuperClaw","oabdelmaksoud","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50699149?v=4","01M6D5CVVN778ZCDP1WHS816SP","Omar Abdelmaksoud","01M6D5CW1RHNSKCJR85GJACBFT",2,"MIT","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fclaude-skills\u002Fengineering-team\u002Fself-improving-agent\u002Fskills\u002Fpromote\u002FSKILL.md",[],[5,19,20,21,22,23],"memory","Rules","auto","enforcement","pattern","2026-11-10 10:12:30",false,"---\nname: promote\ndescription: \"Graduate a proven pattern from auto-memory (MEMORY.md) to CLAUDE.md or .claude\u002Frules\u002F for permanent enforcement.\"\ncommand: \u002Fsi:promote\n---\n\n# \u002Fsi:promote — Graduate Learnings to Rules\n\nMoves a proven pattern from Claude's auto-memory into the project's rule system, where it becomes an enforced instruction rather than a background note.\n\n## Usage\n\n```\n\u002Fsi:promote \u003Cpattern description>                    # Auto-detect best target\n\u002Fsi:promote \u003Cpattern> --target claude.md             # Promote to CLAUDE.md\n\u002Fsi:promote \u003Cpattern> --target rules\u002Ftesting.md      # Promote to scoped rule\n\u002Fsi:promote \u003Cpattern> --target rules\u002Fapi.md --paths \"src\u002Fapi\u002F**\u002F*.ts\"  # Scoped with paths\n```\n\n## Workflow\n\n### Step 1: Understand the pattern\n\nParse the user's description. If vague, ask one clarifying question:\n- \"What specific behavior should Claude follow?\"\n- \"Does this apply to all files or specific paths?\"\n\n### Step 2: Find the pattern in auto-memory\n\n```bash\n# Search MEMORY.md for related entries\nMEMORY_DIR=\"$HOME\u002F.claude\u002Fprojects\u002F$(pwd | sed 's|\u002F|%2F|g; s|%2F|\u002F|; s|^\u002F||')\u002Fmemory\"\ngrep -ni \"\u003Ckeywords>\" \"$MEMORY_DIR\u002FMEMORY.md\"\n```\n\nShow the matching entries and confirm they're what the user means.\n\n### Step 3: Determine the right target\n\n| Pattern scope | Target | Example |\n|---|---|---|\n| Applies to entire project | `.\u002FCLAUDE.md` | \"Use pnpm, not npm\" |\n| Applies to specific file types | `.claude\u002Frules\u002F\u003Ctopic>.md` | \"API handlers need validation\" |\n| Applies to all your projects | `~\u002F.claude\u002FCLAUDE.md` | \"Prefer explicit error handling\" |\n\nIf the user didn't specify a target, recommend one based on scope.\n\n### Step 4: Distill into a concise rule\n\nTransform the learning from auto-memory's note format into CLAUDE.md's instruction format:\n\n**Before** (MEMORY.md — descriptive):\n> The project uses pnpm workspaces. When I tried npm install it failed. The lock file is pnpm-lock.yaml. Must use pnpm install for dependencies.\n\n**After** (CLAUDE.md — prescriptive):\n```markdown\n## Build & Dependencies\n- Package manager: pnpm (not npm). Use `pnpm install`.\n```\n\n**Rules for distillation:**\n- One line per rule when possible\n- Imperative voice (\"Use X\", \"Always Y\", \"Never Z\")\n- Include the command or example, not just the concept\n- No backstory — just the instruction\n\n### Step 5: Write to target\n\n**For CLAUDE.md:**\n1. Read existing CLAUDE.md\n2. Find the appropriate section (or create one)\n3. Append the new rule under the right heading\n4. If file would exceed 200 lines, suggest using `.claude\u002Frules\u002F` instead\n\n**For `.claude\u002Frules\u002F`:**\n1. Create the file if it doesn't exist\n2. Add YAML frontmatter with `paths` if scoped\n3. Write the rule content\n\n```markdown\n---\npaths:\n  - \"src\u002Fapi\u002F**\u002F*.ts\"\n  - \"tests\u002Fapi\u002F**\u002F*\"\n---\n\n# API Development Rules\n\n- All endpoints must validate input with Zod schemas\n- Use `ApiError` class for error responses (not raw Error)\n- Include OpenAPI JSDoc comments on handler functions\n```\n\n### Step 6: Clean up auto-memory\n\nAfter promoting, remove or mark the original entry in MEMORY.md:\n\n```bash\n# Show what will be removed\ngrep -n \"\u003Cpattern>\" \"$MEMORY_DIR\u002FMEMORY.md\"\n```\n\nAsk the user to confirm removal. Then edit MEMORY.md to remove the promoted entry. This frees space for new learnings.\n\n### Step 7: Confirm\n\n```\n✅ Promoted to {{target}}\n\nRule: \"{{distilled rule}}\"\nSource: MEMORY.md line {{n}} (removed)\nMEMORY.md: {{lines}}\u002F200 lines remaining\n\nThe pattern is now an enforced instruction. Claude will follow it in all future sessions.\n```\n\n## Promotion Decision Guide\n\n### Promote when:\n- Pattern appeared 3+ times in auto-memory\n- You corrected Claude about it more than once\n- It's a project convention that any contributor should know\n- It prevents a recurring mistake\n\n### Don't promote when:\n- It's a one-time debugging note (leave in auto-memory)\n- It's session-specific context (session memory handles this)\n- It might change soon (e.g., during a migration)\n- It's already covered by existing rules\n\n### CLAUDE.md vs .claude\u002Frules\u002F\n\n| Use CLAUDE.md for | Use .claude\u002Frules\u002F for |\n|---|---|\n| Global project rules | File-type-specific patterns |\n| Build commands | Testing conventions |\n| Architecture decisions | API design rules |\n| Team conventions | Framework-specific gotchas |\n\n## Tips\n\n- Keep CLAUDE.md under 200 lines — use rules\u002F for overflow\n- One rule per line is easier to maintain than paragraphs\n- Include the concrete command, not just the concept\n- Review promoted rules quarterly — remove what's no longer relevant\n","# \u002Fsi:promote — Graduate Learnings to Rules\n\nMoves a proven pattern from Claude's auto-memory into the project's rule system, where it becomes an enforced instruction rather than a background note.\n\n## Usage\n\n```\n\u002Fsi:promote \u003Cpattern description>                    # Auto-detect best target\n\u002Fsi:promote \u003Cpattern> --target claude.md             # Promote to CLAUDE.md\n\u002Fsi:promote \u003Cpattern> --target rules\u002Ftesting.md      # Promote to scoped rule\n\u002Fsi:promote \u003Cpattern> --target rules\u002Fapi.md --paths \"src\u002Fapi\u002F**\u002F*.ts\"  # Scoped with paths\n```\n\n## Workflow\n\n### Step 1: Understand the pattern\n\nParse the user's description. If vague, ask one clarifying question:\n- \"What specific behavior should Claude follow?\"\n- \"Does this apply to all files or specific paths?\"\n\n### Step 2: Find the pattern in auto-memory\n\n```bash\n# Search MEMORY.md for related entries\nMEMORY_DIR=\"$HOME\u002F.claude\u002Fprojects\u002F$(pwd | sed 's|\u002F|%2F|g; s|%2F|\u002F|; s|^\u002F||')\u002Fmemory\"\ngrep -ni \"\u003Ckeywords>\" \"$MEMORY_DIR\u002FMEMORY.md\"\n```\n\nShow the matching entries and confirm they're what the user means.\n\n### Step 3: Determine the right target\n\n| Pattern scope | Target | Example |\n|---|---|---|\n| Applies to entire project | `.\u002FCLAUDE.md` | \"Use pnpm, not npm\" |\n| Applies to specific file types | `.claude\u002Frules\u002F\u003Ctopic>.md` | \"API handlers need validation\" |\n| Applies to all your projects | `~\u002F.claude\u002FCLAUDE.md` | \"Prefer explicit error handling\" |\n\nIf the user didn't specify a target, recommend one based on scope.\n\n### Step 4: Distill into a concise rule\n\nTransform the learning from auto-memory's note format into CLAUDE.md's instruction format:\n\n**Before** (MEMORY.md — descriptive):\n> The project uses pnpm workspaces. When I tried npm install it failed. The lock file is pnpm-lock.yaml. Must use pnpm install for dependencies.\n\n**After** (CLAUDE.md — prescriptive):\n```markdown\n## Build & Dependencies\n- Package manager: pnpm (not npm). Use `pnpm install`.\n```\n\n**Rules for distillation:**\n- One line per rule when possible\n- Imperative voice (\"Use X\", \"Always Y\", \"Never Z\")\n- Include the command or example, not just the concept\n- No backstory — just the instruction\n\n### Step 5: Write to target\n\n**For CLAUDE.md:**\n1. Read existing CLAUDE.md\n2. Find the appropriate section (or create one)\n3. Append the new rule under the right heading\n4. If file would exceed 200 lines, suggest using `.claude\u002Frules\u002F` instead\n\n**For `.claude\u002Frules\u002F`:**\n1. Create the file if it doesn't exist\n2. Add YAML frontmatter with `paths` if scoped\n3. Write the rule content\n\n```markdown\n---\npaths:\n  - \"src\u002Fapi\u002F**\u002F*.ts\"\n  - \"tests\u002Fapi\u002F**\u002F*\"\n---\n\n# API Development Rules\n\n- All endpoints must validate input with Zod schemas\n- Use `ApiError` class for error responses (not raw Error)\n- Include OpenAPI JSDoc comments on handler functions\n```\n\n### Step 6: Clean up auto-memory\n\nAfter promoting, remove or mark the original entry in MEMORY.md:\n\n```bash\n# Show what will be removed\ngrep -n \"\u003Cpattern>\" \"$MEMORY_DIR\u002FMEMORY.md\"\n```\n\nAsk the user to confirm removal. Then edit MEMORY.md to remove the promoted entry. This frees space for new learnings.\n\n### Step 7: Confirm\n\n```\n✅ Promoted to {{target}}\n\nRule: \"{{distilled rule}}\"\nSource: MEMORY.md line {{n}} (removed)\nMEMORY.md: {{lines}}\u002F200 lines remaining\n\nThe pattern is now an enforced instruction. Claude will follow it in all future sessions.\n```\n\n## Promotion Decision Guide\n\n### Promote when:\n- Pattern appeared 3+ times in auto-memory\n- You corrected Claude about it more than once\n- It's a project convention that any contributor should know\n- It prevents a recurring mistake\n\n### Don't promote when:\n- It's a one-time debugging note (leave in auto-memory)\n- It's session-specific context (session memory handles this)\n- It might change soon (e.g., during a migration)\n- It's already covered by existing rules\n\n### CLAUDE.md vs .claude\u002Frules\u002F\n\n| Use CLAUDE.md for | Use .claude\u002Frules\u002F for |\n|---|---|\n| Global project rules | File-type-specific patterns |\n| Build commands | Testing conventions |\n| Architecture decisions | API design rules |\n| Team conventions | Framework-specific gotchas |\n\n## Tips\n\n- Keep CLAUDE.md under 200 lines — use rules\u002F for overflow\n- One rule per line is easier to maintain than paragraphs\n- Include the concrete command, not just the concept\n- Review promoted rules quarterly — remove what's no longer relevant\n",{"name":5,"command":29,"description":7},"\u002Fsi:promote","main","7b610356e36623652299fa2acb477ff821b1d920","upstream-sync\u002Fwork\u002Fclaude-skills\u002Fengineering-team\u002Fself-improving-agent\u002Fskills\u002Fpromote",0,"https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fo-abdelmaksoud\u002F","Full-Stack Engineer | AI Systems Architect | Building autonomous multi-agent systems","2026-03-08 21:12:53",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add oabdelmaksoud\u002FSuperClaw --skill promote",{"tool":45,"command":46},"bunx","bunx skills add oabdelmaksoud\u002FSuperClaw --skill promote",{"tool":48,"command":49},"pnpm","pnpm dlx skills add oabdelmaksoud\u002FSuperClaw --skill promote","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fclaude-skills\u002Fengineering-team\u002Fself-improving-agent\u002Fskills\u002Fpromote\u002FSKILL.md",true,[],[54,70,84,104,130,148],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":24},"01M6D88QCPTBZVCRED0NZ1Y8K8","visa-doc-translate","Translate visa application documents (images) to English and create a bilingual PDF with original and translation","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fvisa-doc-translate\u002FSKILL.md",[],[61,62,63,64,65,66,67,68,69],"translate","doc","visa doc translate","translation","application","create","images","PDF","documents",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":24},"01M6D88NBM95T3TFM50CYYAP65","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[77,78,79,80,81,82,83],"verification","loop","verification loop","sessions","code","claude code sessions","system",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":24},"01M6D88JFZ2P996GVRHJNSZSTM","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[91,92,93,94,95,96,81,97,98,99,100,101,102,103],"tdd","workflow","tdd workflow","e2e tests","e2e","integration","development","use","test","refactoring","coverage","tests","writing",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":24},"01M6D88FTHRRSVJMXF2G7MQAK3","swiftui-patterns","SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS\u002FmacOS UI best practices.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswiftui-patterns\u002FSKILL.md",[],[111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129],"patterns","swiftui","swiftui patterns","architecture","macos","performance","state management","best practices","state","ui","Optimization","ios","architecture patterns","Composition","performance optimization","view","management","swiftui architecture","navigation",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":24},"01M6D88D527QTQT9DKHTRFN6EA","swift-protocol-di-testing","Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-protocol-di-testing\u002FSKILL.md",[],[137,138,139,140,81,141,142,143,144,83,145,146,147],"swift protocol di testing","protocol","swift","testing","protocols","file","network","injection","dependency","swift testing","dependency injection",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":24},"01M6D88AJW8H2QNWSW5ZY82R43","swift-concurrency-6-2","Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types.","https:\u002F\u002Fgithub.com\u002Foabdelmaksoud\u002FSuperClaw\u002Fblob\u002Fmain\u002Fupstream-sync\u002Fwork\u002Fecc\u002Fskills\u002Fswift-concurrency-6-2\u002FSKILL.md",[],[155,156,139,157,158,30],"concurrency","swift concurrency","swift concurrency 6 2","default"]