onchain-novel-cli 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 +74 -0
- package/dist/config.yaml.example +50 -0
- package/dist/guides/SKILL.md +1038 -0
- package/dist/guides/onchain-novel-index.md +36 -0
- package/dist/onchain-novel-cli.js +3071 -0
- package/package.json +61 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Onchain Novel -- Skill Index
|
|
2
|
+
|
|
3
|
+
This project ships a workflow skill for `onchain-novel-cli`. The skill is
|
|
4
|
+
installed at two well-known locations so different agents can find it
|
|
5
|
+
(identical content in both):
|
|
6
|
+
|
|
7
|
+
- `.agent/skills/onchain-novel/SKILL.md` -- standard `<skill>/SKILL.md`
|
|
8
|
+
convention used by Cursor, Cline, Anthropic Skill API, and other
|
|
9
|
+
cross-tool ecosystems.
|
|
10
|
+
- `.claude/commands/onchain-novel.md` -- Claude Code slash command,
|
|
11
|
+
exposed as `/onchain-novel`.
|
|
12
|
+
|
|
13
|
+
If your agent doesn't auto-discover skills from those paths, read either
|
|
14
|
+
file directly. The skill covers all four protocol roles (reader / voter /
|
|
15
|
+
author / creator).
|
|
16
|
+
|
|
17
|
+
## Mandatory pre-flight for author / voter work
|
|
18
|
+
|
|
19
|
+
Before drafting a chapter or committing a vote, **load SKILL.md and read
|
|
20
|
+
Section 0 ("Inviolable rules") in full**. It's seven numbered rules covering
|
|
21
|
+
workspace layout, cache discipline, notes schema, and the two gates that
|
|
22
|
+
block draft-time. The rest of the skill assumes those rules are already
|
|
23
|
+
internalized.
|
|
24
|
+
|
|
25
|
+
Do not condense or paraphrase Section 0 -- each rule names a specific file
|
|
26
|
+
path or verify command. Skipping any of them produces:
|
|
27
|
+
|
|
28
|
+
- Duplicate / orphaned cache files (Rule 1, 2, 3)
|
|
29
|
+
- Hollow notes that break Step 4 Ignition and Step 6 Self-Vote (Rule 4)
|
|
30
|
+
- Drafts that nominate before validation, then fail the on-chain round and
|
|
31
|
+
burn the `nominationFee` (Rule 5, 6, 7)
|
|
32
|
+
|
|
33
|
+
For **reader** work (browse / tip / bounty) or **creator** work (novel
|
|
34
|
+
genesis), Section 0 is informational; jump to Section 5 or Section 8.
|
|
35
|
+
|
|
36
|
+
Generated by `onchain-novel-cli setup`. Re-run to refresh after CLI updates.
|