@rowan-hiro/inkan 0.1.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/LICENSE +21 -0
- package/README.md +354 -0
- package/README.zh.md +239 -0
- package/bin/ink.js +2 -0
- package/bin/inkan.js +2 -0
- package/package.json +43 -0
- package/skills/use-inkan/SKILL.md +36 -0
- package/src/api.js +696 -0
- package/src/cli.js +351 -0
- package/src/decisions.js +169 -0
- package/src/fold.js +173 -0
- package/src/git.js +83 -0
- package/src/store.js +167 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: use-inkan
|
|
3
|
+
description: Follow Inkan-managed repository work when the repository's AGENTS.md requires `inkan`, or an interrupted outcome must be resumed. Use this skill to locate the agent protocol and re-anchor state after context loss.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Use Inkan
|
|
7
|
+
|
|
8
|
+
Treat the target repository's `AGENTS.md` as the only policy. This skill
|
|
9
|
+
helps locate and resume that workflow; it does not restate or extend the
|
|
10
|
+
protocol written there.
|
|
11
|
+
|
|
12
|
+
## Locate Inkan
|
|
13
|
+
|
|
14
|
+
Prefer `inkan` from `PATH`. In an Inkan source checkout, fall back to
|
|
15
|
+
`node bin/inkan.js`.
|
|
16
|
+
|
|
17
|
+
## Re-anchor after context loss
|
|
18
|
+
|
|
19
|
+
Run:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
inkan status
|
|
23
|
+
inkan log -n 3
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
An open outcome that is the work you were asked to do is the task at hand;
|
|
27
|
+
continue it exactly as `AGENTS.md` directs. An open outcome that is not your
|
|
28
|
+
work belongs to another session: leave it alone, as `AGENTS.md` directs. A
|
|
29
|
+
closed outcome is final: it is never re-checked or re-closed, no matter how
|
|
30
|
+
the work looks now.
|
|
31
|
+
|
|
32
|
+
For command syntax, run:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
inkan help
|
|
36
|
+
```
|