triz-solver
Skill2 starsChanged 10 days agoMITView on GitHub
Systematic problem-solving using TRIZ (Theory of Inventive Problem Solving) principles adapted for software engineering. Use when facing technical contradictions, optimizing system design, running a TRIZ audit, finding contradictions in a design, or seeking innovative solutions beyond trial-and-error — even if they just say "help me solve this contradiction" or "run a TRIZ audit". Prevents solving the wrong problem correctly. Not for goap-agent, delegate.
2 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- d-oit/rust-2026-templateedited, first seen Jun 16, 2026
- dawid-ai/SKILLStheir own version, first seen Feb 4, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- d-oit/rust-2026-template★ 1530% same
Wrote their own version · 1
- dawid-ai/SKILLS★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository63 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/avoid-ai-writing/AGENTS.mdAGENTS.md
- .agents/skills/do-web-doc-resolver/AGENTS.mdAGENTS.md
- .agents/skills/skill-evaluator/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- accessibility-auditorSkill
- agent-browserSkill
- agentic-abstentionSkill
- agents-mdSkill
- api-design-firstSkill
- architecture-diagramSkill
- avoid-ai-writingSkill
- cicd-pipelineSkill
- cloudflare-worker-apiSkill
- codacySkill
- codeberg-apiSkill
- code-review-assistantSkill
- css-render-performanceSkill
- database-devopsSkill
- debuggerSkill
- delegateSkill
- dependency-upgradesSkill
- dist-channel-selectionSkill
- docs-hookSkill
- document-rendering-and-locatorsSkill
- dogfoodSkill
- dora-reportSkill
- do-web-doc-resolverSkill
- durable-objectsSkill
- eu-ai-act-complianceSkill
- git-github-workflowSkill
- goap-agentSkill
- implementerSkill
- intent-classifierSkill
- iterative-refinementSkill
- jules-delegatorSkill
- learnSkill
- lifecycle-managementSkill
- local-context-sanitizationSkill
- memory-contextSkill
- migration-refactoringSkill
- nested-build-isolationSkill
- privacy-firstSkill
- progressive-deliverySkill
- pwa-offline-syncSkill
- reader-ui-uxSkill
- readme-best-practicesSkill
- secrets-managementSkill
- secure-invite-and-accessSkill
- security-code-auditorSkill
- shell-script-qualitySkill
- skill-creatorSkill
- skill-evaluatorSkill
- static-analysisSkill
- testing-strategySkill
- test-runnerSkill
- turso-dbSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 102
System-level: Add component that resolves both
- Very specific: line 151
REPORT: write findings to analysis/triz-<scope>-YYYY-MM-DD.md (e.g.
- Distinctive: line 158
goap-agent: Use TRIZ to identify contradictions before decomposing (Phase 2).
- Distinctive: line 159
iterative-refinement: Use contradiction analysis to guide refinement cycles
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TRIZ Problem Solver
Systematic innovation methodology for software engineering problems.
When to Use
- Complex problems with apparent trade-offs
- System design contradictions (improving X worsens Y)
- Architecture refactoring decisions
- Seeking innovative solutions beyond incremental improvement
- Agent instruction optimization
Core Protocol
Contradiction-First Approach
1. STATE the problem in one sentence
2. IDENTIFY contradiction: "Improving [X] causes [Y] to worsen"
3. CHECK if contradiction is real or apparent
4. RESOLVE using separation principles
5. VALIDATE no new contradictions introducedIdeal Final Result (IFR)
"The ideal solution delivers all benefits with zero cost"
1. What is the ideal outcome? (no implementation details)
2. What prevents reaching it? (constraints)
3. Which constraints are real vs assumed?
4. Can the system self-solve without added complexity?40 Inventive Principles (Software Edition)
Top 10 for Software
| # | Principle | Software Analogy | When to Apply |
| 1 | Segmentation | Split into modules/microservices | Monolithic code, complex functions |
| 2 | Taking out | Extract concerns, separate interfaces | Mixed responsibilities |
| 3 | Local quality | Single-purpose components | Generic implementations |
| 4 | Asymmetry | Context-specific solutions | One-size-fits-all antipattern |
| 5 | Merging | Combine operations, reduce round-trips | Excessive function calls |
| 6 | Universality | Shared interfaces, polymorphism | Duplicate implementations |
| 7 | Nesting | Hierarchical structures, inheritance | Flat complex structures |
| 12 | Inversion | IoC, reverse data flow, pull vs push | Current approach failing |
| 13 | Dynamics | Runtime config, hot-reload, adapters | Static rigid configurations |
| 17 | Another dimension | Add abstraction layer | Impasse at current level |
Extended Reference
See references/principles.md for all 40 principles with software examples.
Contradiction Matrix (Software)
Improving vs Worsening → Principle
──────────────────────────────────────────────────────────────
Functionality vs Complexity → #1, #9, #15
Performance vs Maintainability → #7, #13, #17
Flexibility vs Simplicity → #6, #2, #3
Security vs Usability → #12, #4, #17
Scalability vs Resource Cost → #1, #13, #35Decision Workflow
Step 1: Frame Problem
Problem: [One sentence]
Current approach: [What you're doing]
Stuck because: [Why it doesn't work]Step 2: Identify Contradiction
Improving: [Parameter that needs improvement]
Worsens: [Parameter that degrades]
Type: [Technical/Physical/Inherent]Step 3: Apply Resolution
Choose separation strategy:
- Time: Different behavior at different stages
- Space: Different behavior in different contexts
- Condition: Different behavior based on input type
- System-level: Add component that resolves both
Step 4: Validate
✓ Original problem solved
✓ No new contradictions introduced
✓ Solution approaches IFR (minimal complexity added)
✓ Tests passExamples
Example 1: Performance vs Maintainability
Problem: Caching improves speed but adds staleness complexity
Contradiction: Performance (improve) vs Maintainability (worsen)
Apply: #1 Segmentation → Cache with TTL per data type
Result: Speed improved, staleness bounded, complexity isolatedExample 2: Security vs Usability
Problem: Strong auth improves security but hurts UX
Contradiction: Security (improve) vs Usability (worsen)
Apply: #12 Inversion → Risk-based auth (challenge only suspicious)
Result: Security maintained, UX unaffected for legitimate usersExample 3: Agent Instruction Optimization
Problem: More instructions improve reliability but consume context
Contradiction: Completeness (improve) vs Token limits (worsen)
Apply: #4 Asymmetry → Heavy knowledge in references/, load lazily
Result: Reliability maintained, context efficiency improvedAudit Mode (absorbed from triz-analysis)
Same protocol, wider scope: audit a codebase, architecture, or workflow for hidden trade-offs instead of solving one problem.
- SCOPE SCAN: examine the target for pain points and trade-offs.
- CONTRADICTION DISCOVERY: state each as "Improving [X] worsens [Y]".
- PRINCIPLE MAPPING: map to inventive principles via the matrix above.
- INNOVATION ROADMAP: propose architectural or process changes.
- REPORT: write findings to
analysis/triz-<scope>-YYYY-MM-DD.md(e.g.analysis/triz-scripts-2025-05-20.md); use the audit IFR ("the ideal system performs its function with zero overhead") to separate real constraints from assumed ones.
Integration with Other Skills
- goap-agent: Use TRIZ to identify contradictions before decomposing (Phase 2); apply IFR to coordination strategy selection
- iterative-refinement: Use contradiction analysis to guide refinement cycles
Quality Checklist
✓ Contradiction explicitly stated before solution ✓ IFR defined before implementation ✓ Solution verified against contradiction matrix ✓ No new contradictions introduced ✓ Approaches ideal state (minimal added complexity)
See Also
goap-agent— Orchestrator that uses TRIZ problem-solvingiterative-refinement— Use contradiction analysis to guide refinement cycles
Rationalizations
| Rationalization | Reality |
| "I already know the solution, no need for TRIZ analysis" | Skipping contradiction analysis often means solving the wrong problem correctly, wasting implementation effort. |
| "This is just a minor tweak, not a real problem" | Minor tweaks can introduce new contradictions; validate that no new trade-offs are created. |
Red Flags
- Proposing a solution without explicitly stating the contradiction first
- Skipping IFR definition and jumping to implementation details
- Introducing new contradictions without validating the solution
References
references/principles.md- All 40 TRIZ principles with software examplesreferences/patterns.md- Common software contradiction patterns and resolutionsreferences/evolution.md- TRIZ evolution trends for system design
Voice & Context
- Default:
professional+blog - Reference:
voice-profilesskill for definitions and auto-detection.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

