@cogit/cli 0.28.3 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/skills/record/SKILL.md
CHANGED
|
@@ -93,7 +93,9 @@ message's node, with the node's commit hashes:
|
|
|
93
93
|
|
|
94
94
|
Tools (at most three, the ones that say the most; never two that tell the same thing):
|
|
95
95
|
|
|
96
|
-
- `flow`: a path through code as JSON.
|
|
96
|
+
- `flow`: a path through code as JSON. Take it whenever data or control crosses more than one
|
|
97
|
+
file or layer, even when the change also reads like a list of steps — it is what the map
|
|
98
|
+
draws best. Every node has a `kind` from the table below and a
|
|
97
99
|
`label` in the project's own words; at most 12 nodes and 16 edges; ids are short lowercase
|
|
98
100
|
words (`a`, `hook`), unique, and every edge names two of them. Set `ordered: true` when
|
|
99
101
|
work is handed between parts over time (a hook → a job → a store, a client → a server): the
|
|
@@ -110,8 +112,9 @@ Tools (at most three, the ones that say the most; never two that tell the same t
|
|
|
110
112
|
`—` for nothing.
|
|
111
113
|
- `example`: one concrete case with real values, each result on its own line after `→`. A new
|
|
112
114
|
or changed command or flag always gets one that runs it.
|
|
113
|
-
- `pseudo`: numbered plain-language steps
|
|
114
|
-
|
|
115
|
+
- `pseudo`: numbered plain-language steps for logic that stays inside one function or module,
|
|
116
|
+
with no path across files to draw; each starts with the symbol of its kind after its number
|
|
117
|
+
(`1. ⚡ After a commit, …`), naming the functions and files.
|
|
115
118
|
|
|
116
119
|
Kinds (one per Flow node, and the symbol a step starts with; the map draws the symbol, you
|
|
117
120
|
never draw it):
|