[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NVC3JA05MA9K7JDCH66C1Q":3,"skill-same:01M6NVC3JA05MA9K7JDCH66C1Q":75},{"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":23,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6NVC3JA05MA9K7JDCH66C1Q","reflexion",null,"Use for self-correcting implementation. Implements the reflexion loop: implement, validate, self-critique, retry (max 3 iterations).","haabe\u002Fmycelium","haabe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2988921?v=4","01M6NTRKFVVHQG4RF09EB5FRB4","Håvard Bartnes","01M6NTRKKSM94X8BRYCYE2D80Y",54,"MIT","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Fplugins\u002Fmycelium\u002Fskills\u002Freflexion\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[5,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"use","for","standalone","retry","Self-Critique","gates","mycelium","self","max","canvas","install","loop","critique","harness","framework","state","run","plugin","implement","2026-11-10 10:12:30",false,"---\nname: reflexion\ndescription: \"Use for self-correcting implementation. Implements the reflexion loop: implement, validate, self-critique, retry (max 3 iterations).\"\nmetadata:\n  instruction_budget: \"52\"\n  framework_dependency: \"mycelium\"\n  framework_dependency_note: \"This skill is designed to run within the Mycelium framework (https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium). Standalone use will skip the canvas state, theory gates, and harness behavior the skill assumes. Install: \u002Fplugin install mycelium@haabe-mycelium.\"\n---\n\n# Reflexion Skill\n\nSelf-correcting implementation loop from the n-trax pattern.\n\n## Workflow\n\n### Iteration Loop (max 3)\n\n**Step 1: Implement**\n- Create the deliverable according to the specification\u002Facceptance criteria.\n  - Software: write code. Content: write\u002Fproduce content. AI tool: write prompts\u002Fconfigs. Service: document workflow.\n- Follow ${CLAUDE_PLUGIN_ROOT}\u002Fharness\u002Fengineering-principles.md (principles apply to all product types).\n- Apply patterns from patterns.md.\n- Check corrections.md for relevant past mistakes.\n\n**Step 2: Validate**\n- Software: Run tests, linter, type checker, security scan, accessibility checks (if UI).\n  - **Security validation (OWASP)**: Check input validation, output encoding, parameterized queries, no hardcoded secrets, authentication\u002Fauthorization patterns, dependency vulnerabilities. Reference OWASP Top 10:2025 categories for each check.\n- Content: Review against learning objectives\u002Feditorial standards, check accessibility (captions, alt text), fact-check claims.\n- AI tool: Run eval test cases, red-team testing, bias assessment.\n- Service: Walk through the service blueprint end-to-end, verify documentation completeness.\n- All: Verify acceptance criteria.\n\n**Step 3: Self-Critique**\nReview the implementation against (select items relevant to product_type):\n- [ ] Engineering principles: DRY, KISS, YAGNI, SoC (apply to all product types)\n- [ ] Security: Input validation, output encoding, no secrets, parameterized queries (software, ai_tool)\n- [ ] Accessibility: Semantic HTML, keyboard nav, contrast, screen reader (software); captions, transcripts, alt text (content)\n- [ ] Edge cases: What happens with unexpected input? Empty? Adversarial? (software, ai_tool)\n- [ ] Error handling \u002F user recovery: Are errors handled gracefully? Can users recover? (software, service)\n- [ ] Quality: Factual accuracy, style consistency, source attribution (content); eval scores, safety scores (ai_tool)\n- [ ] Naming \u002F clarity: Do names reveal intent? Would a new reader understand this? (all)\n- [ ] Completeness: Is anything missing that the user would expect? (all)\n\n**Step 4: Decide**\n- If all validations pass AND self-critique finds no issues: **DONE**\n- If issues found AND iteration \u003C 3: **FIX and return to Step 1**\n- If iteration = 3 AND issues remain: **ESCALATE** with documented issues\n\n### Escalation Protocol\nWhen max iterations reached without full resolution:\n1. Document what was attempted in each iteration.\n2. Document remaining issues with severity assessment.\n3. Recommend: fix now (blocking) vs. fix later (non-blocking) vs. accept risk.\n4. Update corrections.md with learnings.\n\n## Verification Modes\n\nThe validate step in the reflexion loop should use the appropriate verification mode:\n\n### Rules-Based (deterministic)\n- Linters, formatters, schema validators, type checkers\n- Pass\u002Ffail is unambiguous — no judgment needed\n- Always run first — fastest and cheapest\n- Examples: `eslint`, `mypy`, `yamllint`, YAML schema validation against ${CLAUDE_PLUGIN_ROOT}\u002Fengine\u002Fcanvas-guidance.yml\n\n### Computational (deterministic)\n- Test runners, build systems, security scanners\n- Requires executing code — slower than rules-based\n- Results are objective but may need interpretation (flaky tests)\n- Examples: `pytest`, `npm test`, `cargo clippy`, OWASP dependency check\n\n### Inferential (probabilistic)\n- LLM-as-judge, peer review, heuristic evaluation\n- Used when rules-based and computational verification are insufficient\n- Results require confidence scoring — never treat as definitive\n- Examples: `\u002Fmycelium:devils-advocate`, `\u002Fmycelium:usability-check`, auto-dogfood evaluation, design review\n- The auto-dogfood system is an inferential verification loop\n\n**Order**: Always attempt rules-based → computational → inferential. Only escalate to the next mode when the previous mode cannot verify the property in question.\n\n*Source: Trivedy (Anatomy of an Agent Harness, LangChain blog). Three-mode taxonomy adapted from Böckeler (Harness Engineering, martinfowler.com — computational vs inferential distinction). Note: harnesses continue to matter even as models improve — they engineer systems around model intelligence, not just patch deficiencies.*\n\n## Rules\n- Each iteration must show measurable improvement over the previous.\n- If the same issue recurs across iterations, investigate root cause rather than patching symptoms.\n- Never skip the self-critique step, even if tests pass.\n- Log the reflexion loop outcome in delivery-journal.md.\n- **NUDGE-AT-FAILURE** (4-layer JIT composition): if the failure being reflexed on is a class a standard tool (linter, SAST, secrets scanner, dep audit) would have caught automatically, append a single-line nudge to the reflexion output: *\"This class of failure is what `{tool}` catches automatically — want help wiring it up now?\"* Never auto-install. Per `feedback-jit-nudge-not-push` (founder principle, 2026-05-26).\n\n## Theory Citations\n- Reflexion pattern (Shinn et al.)\n- Clean Code (Martin)\n- OWASP secure coding\n- WCAG 2.1 AA\n","# Reflexion Skill\n\nSelf-correcting implementation loop from the n-trax pattern.\n\n## Workflow\n\n### Iteration Loop (max 3)\n\n**Step 1: Implement**\n- Create the deliverable according to the specification\u002Facceptance criteria.\n  - Software: write code. Content: write\u002Fproduce content. AI tool: write prompts\u002Fconfigs. Service: document workflow.\n- Follow ${CLAUDE_PLUGIN_ROOT}\u002Fharness\u002Fengineering-principles.md (principles apply to all product types).\n- Apply patterns from patterns.md.\n- Check corrections.md for relevant past mistakes.\n\n**Step 2: Validate**\n- Software: Run tests, linter, type checker, security scan, accessibility checks (if UI).\n  - **Security validation (OWASP)**: Check input validation, output encoding, parameterized queries, no hardcoded secrets, authentication\u002Fauthorization patterns, dependency vulnerabilities. Reference OWASP Top 10:2025 categories for each check.\n- Content: Review against learning objectives\u002Feditorial standards, check accessibility (captions, alt text), fact-check claims.\n- AI tool: Run eval test cases, red-team testing, bias assessment.\n- Service: Walk through the service blueprint end-to-end, verify documentation completeness.\n- All: Verify acceptance criteria.\n\n**Step 3: Self-Critique**\nReview the implementation against (select items relevant to product_type):\n- [ ] Engineering principles: DRY, KISS, YAGNI, SoC (apply to all product types)\n- [ ] Security: Input validation, output encoding, no secrets, parameterized queries (software, ai_tool)\n- [ ] Accessibility: Semantic HTML, keyboard nav, contrast, screen reader (software); captions, transcripts, alt text (content)\n- [ ] Edge cases: What happens with unexpected input? Empty? Adversarial? (software, ai_tool)\n- [ ] Error handling \u002F user recovery: Are errors handled gracefully? Can users recover? (software, service)\n- [ ] Quality: Factual accuracy, style consistency, source attribution (content); eval scores, safety scores (ai_tool)\n- [ ] Naming \u002F clarity: Do names reveal intent? Would a new reader understand this? (all)\n- [ ] Completeness: Is anything missing that the user would expect? (all)\n\n**Step 4: Decide**\n- If all validations pass AND self-critique finds no issues: **DONE**\n- If issues found AND iteration \u003C 3: **FIX and return to Step 1**\n- If iteration = 3 AND issues remain: **ESCALATE** with documented issues\n\n### Escalation Protocol\nWhen max iterations reached without full resolution:\n1. Document what was attempted in each iteration.\n2. Document remaining issues with severity assessment.\n3. Recommend: fix now (blocking) vs. fix later (non-blocking) vs. accept risk.\n4. Update corrections.md with learnings.\n\n## Verification Modes\n\nThe validate step in the reflexion loop should use the appropriate verification mode:\n\n### Rules-Based (deterministic)\n- Linters, formatters, schema validators, type checkers\n- Pass\u002Ffail is unambiguous — no judgment needed\n- Always run first — fastest and cheapest\n- Examples: `eslint`, `mypy`, `yamllint`, YAML schema validation against ${CLAUDE_PLUGIN_ROOT}\u002Fengine\u002Fcanvas-guidance.yml\n\n### Computational (deterministic)\n- Test runners, build systems, security scanners\n- Requires executing code — slower than rules-based\n- Results are objective but may need interpretation (flaky tests)\n- Examples: `pytest`, `npm test`, `cargo clippy`, OWASP dependency check\n\n### Inferential (probabilistic)\n- LLM-as-judge, peer review, heuristic evaluation\n- Used when rules-based and computational verification are insufficient\n- Results require confidence scoring — never treat as definitive\n- Examples: `\u002Fmycelium:devils-advocate`, `\u002Fmycelium:usability-check`, auto-dogfood evaluation, design review\n- The auto-dogfood system is an inferential verification loop\n\n**Order**: Always attempt rules-based → computational → inferential. Only escalate to the next mode when the previous mode cannot verify the property in question.\n\n*Source: Trivedy (Anatomy of an Agent Harness, LangChain blog). Three-mode taxonomy adapted from Böckeler (Harness Engineering, martinfowler.com — computational vs inferential distinction). Note: harnesses continue to matter even as models improve — they engineer systems around model intelligence, not just patch deficiencies.*\n\n## Rules\n- Each iteration must show measurable improvement over the previous.\n- If the same issue recurs across iterations, investigate root cause rather than patching symptoms.\n- Never skip the self-critique step, even if tests pass.\n- Log the reflexion loop outcome in delivery-journal.md.\n- **NUDGE-AT-FAILURE** (4-layer JIT composition): if the failure being reflexed on is a class a standard tool (linter, SAST, secrets scanner, dep audit) would have caught automatically, append a single-line nudge to the reflexion output: *\"This class of failure is what `{tool}` catches automatically — want help wiring it up now?\"* Never auto-install. Per `feedback-jit-nudge-not-push` (founder principle, 2026-05-26).\n\n## Theory Citations\n- Reflexion pattern (Shinn et al.)\n- Clean Code (Martin)\n- OWASP secure coding\n- WCAG 2.1 AA\n",{"name":5,"metadata":48,"description":7},{"instruction_budget":49,"framework_dependency":30,"framework_dependency_note":50},"52","This skill is designed to run within the Mycelium framework (https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium). Standalone use will skip the canvas state, theory gates, and harness behavior the skill assumes. Install: \u002Fplugin install mycelium@haabe-mycelium.","main","d44421b0667bb71ad515ae7576dfc0f47b00504f","plugins\u002Fmycelium\u002Fskills\u002Freflexion",6,"https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Fdocs\u002Fget-started.md","https:\u002F\u002Fgithub.com\u002Fhaabe","https:\u002F\u002Feccera.com\u002F","Building platform tooling for AI-assisted product development.","2026-11-13 22:01:28",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add haabe\u002Fmycelium --skill reflexion",{"tool":67,"command":68},"bunx","bunx skills add haabe\u002Fmycelium --skill reflexion",{"tool":70,"command":71},"pnpm","pnpm dlx skills add haabe\u002Fmycelium --skill reflexion","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Fplugins\u002Fmycelium\u002Fskills\u002Freflexion\u002FSKILL.md",true,[],[76,88,101,112,118,125],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":83,"publishedAt":43},"01M6NVR17TVR7WM0MJD1TPY0CW","good_skill","Valid frontmatter.","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_8\u002Fvalid\u002Fplugins\u002Fmycelium\u002Fskills\u002Fgood_skill\u002FSKILL.md",[82],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[84,85,86,87],"good skill","good","frontmatter","valid",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":95,"publishedAt":43},"01M6NVQPDAP1S4JQ5XFCT6P4PG","bad_skill","Has description but no name field.","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_8\u002Fmissing_name\u002Fplugins\u002Fmycelium\u002Fskills\u002Fbad_skill\u002FSKILL.md",[94],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[96,97,98,99,100],"bad skill","bad","name","but","no name",{"skillNo":102,"name":103,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":109,"publishedAt":43},"01M6NVQHEZAMP2JB45CA6Y3G1B","canvas-update","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_5\u002Fmissing_canvas_in_mapping\u002Fplugins\u002Fmycelium\u002Fskills\u002Fcanvas-update\u002FSKILL.md",[106],{"categoryNo":107,"categoryName":108,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",[33,110,111],"update","canvas update",{"skillNo":113,"name":103,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":117,"publishedAt":43},"01M6NVQDX6GEEHJ48WEPK0EG1Q","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_5\u002Fall_present\u002Fplugins\u002Fmycelium\u002Fskills\u002Fcanvas-update\u002FSKILL.md",[116],{"categoryNo":107,"categoryName":108,"taxonomyType":21,"taxonomyTypeDesc":22},[33,110,111],{"skillNo":119,"name":120,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":43},"01M6NVQ5BH3VN7P9Q185Z2TMRN","ice-score","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_45\u002Fmissing_marker\u002Fplugins\u002Fmycelium\u002Fskills\u002Fice-score\u002FSKILL.md",[],[124],"ice score",{"skillNo":126,"name":127,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":43},"01M6NVPTQY2QMDABA1GJW5H1EG","bvssh-check","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_45\u002Fmissing_marker\u002Fplugins\u002Fmycelium\u002Fskills\u002Fbvssh-check\u002FSKILL.md",[],[131,132],"bvssh check","check"]