reflexion

Solid

Use for self-correcting implementation. Implements the reflexion loop: implement, validate, self-critique, retry (max 3 iterations).

AI & Automation 41 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
54
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Reflexion Skill Self-correcting implementation loop from the n-trax pattern. ## Workflow ### Iteration Loop (max 3) **Step 1: Implement** - Create the deliverable according to the specification/acceptance criteria. - Software: write code. Content: write/produce content. AI tool: write prompts/configs. Service: document workflow. - Follow ${CLAUDE_PLUGIN_ROOT}/harness/engineering-principles.md (principles apply to all product types). - Apply patterns from patterns.md. - Check corrections.md for relevant past mistakes. **Step 2: Validate** - Software: Run tests, linter, type checker, security scan, accessibility checks (if UI). - **Security validation (OWASP)**: Check input validation, output encoding, parameterized queries, no hardcoded secrets, authentication/authorization patterns, dependency vulnerabilities. Reference OWASP Top 10:2025 categories for each check. - Content: Review against learning objectives/editorial standards, check accessibility (captions, alt text), fact-check claims. - AI tool: Run eval test cases, red-team testing, bias assessment. - Service: Walk through the service blueprint end-to-end, verify documentation completeness. - All: Verify acceptance criteria. **Step 3: Self-Critique** Review the implementation against (select items relevant to product_type): - [ ] Engineering principles: DRY, KISS, YAGNI, SoC (apply to all product types) - [ ] Security: Input validation, output encoding, no secrets, parameterized queries (software, ai_tool) -...

Details

Author
haabe
Repository
haabe/mycelium
Created
3 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category