agentleFS
Signaturi4Signaturi4/triz-for-software/skills/triz-diagnose/SKILL.md

triz-diagnose

Skill0 starsChanged 35 days agoMITView on GitHub

Phase 1 of /triz. Frames any software/product goal, task, bug or trade-off the TRIZ way (mini-task, conflicting pair, technical and physical contradiction, ideal final result, resources, nine-screen view, problem level) and selects the 3–5 best TRIZ tools for it from the catalog. Use on its own when the user only wants the problem framed or wants to know "which TRIZ tool fits this".

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are 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.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read whatever the user pointed at (repo, docs, metrics, tickets).

    line 16
  2. Distinctive:

    Write: "Технical system for <main useful function> includes <elements>.

    line 24
  3. Distinctive:

    Keep the existing system. Do not add new subsystems in the statement.

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

triz-diagnose — frame the problem, choose the tools

Output: ./triz-runs/<slug>/PROBLEM_CARD.md. Source material: $TRIZ/references/TOOLS_CATALOG.md, $TRIZ/references/SELECTION_MATRIX.md, and for the framing procedure $TRIZ/references/tool-cards/problem-framing.md (гл. 3, 4, 8 and ARIZ part 1). Read the tool card first; it is the procedure. This file is the checklist.

Step 0 — Gather context

Read whatever the user pointed at (repo, docs, metrics, tickets). Note the stack, the users, the constraint that hurts most, and what has already been tried. Do not solve anything yet. If the input is a goal rather than a problem ("grow retention", "ship the AI assistant"), first turn it into the problem that blocks the goal: ask "what stops this from happening by itself?" and write that as the problem. A goal with no obstacle is not a TRIZ task; say so and offer the evolution tools (laws, nine screens) instead.

Step 1 — Mini-task (мини-задача)

Write: "Технical system for <main useful function> includes <elements>. Technical contradiction 1: <...>. Technical contradiction 2: <...>. We must, with minimal changes to the system, <get the result>." Keep the existing system. Do not add new subsystems in the statement. Replace jargon with plain words (ARIZ rule: terms carry psychological inertia).

Step 2 — Conflicting pair and contradictions

  • Product (изделие) = what is processed; tool (инструмент) = what acts on it. In software: data, user, request, document are products; service, UI, algorithm, pipeline are tools.
  • Administrative contradiction: "we need X and do not know how".
  • Technical contradiction (ТП): improving parameter A worsens parameter B. Write both directions, ТП-1 and ТП-2.
  • Physical contradiction (ФП): one element must have property P and property not-P. Push the ТП down to the element that carries the conflict. This is the hardest and most useful line in the card.
  • Choose the contradiction that keeps the main useful function (ARIZ 1.4).

Step 3 — Ideal final result (ИКР)

"The <X-element> itself, during the operative time, in the operative zone, provides <useful action> and removes <harmful action>, without complicating the system and without harmful side effects." Then strengthen it: the X-element is one of the resources already present, not a new component.

Step 4 — Resources

List substance/field resources in software terms: data already collected, events already emitted, idle compute, cache, the user's own actions, time between requests, existing integrations, logs, the error itself, the environment (OS, browser, network). Cheap, abundant, already-there resources first (ARIZ 2.3, гл. 4).

Step 5 — Nine screens and level

Fill the 3×3 grid (subsystem / system / supersystem × past / present / future) in one line per cell. Estimate the level (1: parameter tweak … 5: new principle) and the tool class that matches (гл. 3).

Step 6 — Select tools

Open SELECTION_MATRIX.md, find the problem types that match (usually 2–3 match), take the union of their recommended tools, then cut to 3–5 using the "when to use" column of TOOLS_CATALOG.md. Always include ideality-ifr unless the user forced tools. Include ariz when the physical contradiction is sharp and the problem is level 3+. Include evolution-laws when the ask is a roadmap, "what next", or a platform decision. Include imagination-rtv when the team has been circling the same ideas (psychological inertia). Include effects-pointer when the question is "is there a known mechanism/pattern that does this". Write one sentence of reasoning per chosen tool and one per rejected close candidate.

PROBLEM_CARD.md template

# Problem card — <slug>
Date · author · source links

## Original ask
## Mini-task
## Conflicting pair (product / tool)
## Contradictions
- Administrative:
- ТП-1: / ТП-2:
- ФП (physical):
## ИКР (ideal final result), strengthened form
## Resources (ranked: free & already present first)
## Nine screens
| | past | present | future |
| subsystem | | | |
| system | | | |
| supersystem | | | |
## Level estimate and why
## Already tried / known compromises
## Selected tools (with reasoning)  → feeds triz-apply
## Rejected tools (one line each)
## Open questions for the user

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.