Triz refactor
Refactors a module by applying a chosen TRIZ principle or auditing for ideality gaps.From its SKILL.md
npx -y skills add christianmerkwirth/triz-skills --skill triz-refactorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.3 KB, 257 tokens by cl100k_base, as published. Nobody here has run it
When to invoke
Invoke this skill to refactor existing code to improve ideality (reduce waste, complexity, harmful effects) or to apply a specific TRIZ principle to resolve a known issue.
Inputs needed
A module path AND either (a) a stated contradiction, or (b) a request to "audit for ideality gaps".
Reference data used
reference/principles.mdreference/matrix.json(if a contradiction is provided)
Procedure
- Receive the module path and the specific contradiction or the request to audit for ideality gaps.
- If auditing for ideality gaps, identify areas of waste, unnecessary complexity, or harmful side-effects. If a contradiction was stated, resolve it using
reference/matrix.json. - Propose a refactoring plan that cites the specific TRIZ principle to be applied.
- Stop. Ask the user to confirm. Do not proceed until they reply.
- Apply the edits strictly scoped to the specified module.
- Confirm separately before performing any destructive operation. Do not add any new major dependencies.
Output format
A diff summary of the proposed changes, a citation of the applied principle, and a brief rationale explaining how it improves ideality or resolves the contradiction.
What ships with it: 1 file
15 B alongside SKILL.md
- reference15 B