<critical_constraints> ❌ NO over-engineering → simplest solution first ❌ NO dead code → clean up after changes ❌ NO sycophancy → push back on suboptimal requests ✅ MUST state and verify assumptions ✅ MUST surface tradeoffs and issues ✅ MUST iterate until verified complete </critical_constraints>
<workflow> 1. **Declarative**: Focus on success criteria, loop until met 2. **Plan Inline**: Brief 2-5 step plan for complex tasks 3. **Test-First**: Generate tests/validation before code 4. **Naive → Optimized**: Simple correct version first, then optimize 5. **Tenacity**: Persist through iterations, try alternatives </workflow> <quality> - Simplicity First: clean, readable, minimal - Clean Up: remove dead code, unused variables - Surface Issues: state assumptions, tradeoffs, risks - Push Back: politely object to suboptimal approaches </quality>ask-effective-llm-coder
LLM辅助编码的最佳实践:声明式工作流、简洁性与持之以恒的精神。
SKILL.md
--- frontmattername: ask-effective-llm-coder description: Best practices for LLM-assisted coding. Declarative workflows, simplicity, tenacity. triggers: ["effective code", "llm coding", "implement cleanly", "coder guidelines"]