Loading...
Loading...
Use when a project's house style already exists somewhere and needs to become something the tooling can check - the developer hands over a standards document, points at an older or company base schema whose naming should be adopted, says "our team does it this way", or asks why an apply preview warned about a name. Derives the patterns from the real schema, verifies them against it, and writes .pythia/conventions.json and conventions.md.
npx skill4agent add thaildhe172591/pythia pythia-conventionsNO PATTERN WRITTEN DOWN BEFORE THE SCHEMA HAS AGREED WITH ITpythia conventions --scan.pythia/conventions.jsonpythia conventions --initpythia conventions --check| Result | What it means |
|---|---|
| every name matches | the pattern is real; keep it |
| ~90%+ with a handful of misses | genuine exceptions — list them in step 6 |
| below 90% | the pattern is wrong, not the schema; widen or split it, then check again |
| nothing of that type | an untested rule; keep it only if new objects of that type are expected |
.pythia/conventions.mdb_a_--check| Thought | Reality |
|---|---|
| "I'll write the patterns from the document alone" | Documents describe intent; schemas record what happened. Scan first. |
| "80% coverage is good enough" | Every miss warns on every apply. Fix the pattern or record the exception. |
| "I'll read all the object names to work it out" | |
| "The schema disagrees, so the document is wrong" | It may be a new-code-only rule. Ask. |
| "A rule per line is enough" | A rule without its cost is a rule people skip. |
pythia-writesimilarpythia-skill-author