palskills 1.0.6 → 1.0.7

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Palskills
2
2
 
3
- **AI-powered development pipeline** — a suite of 5 Hermes Agent skills that orchestrate the full development lifecycle: context retrievalplanningexecution via Codex CLI archival.
3
+ **AI-powered development pipeline** for any coding agent Codex, Cursor, Claude Code, and more. Five specialized skills orchestrate the full development lifecycle: learn the codebase plan with clarification execute with SOLID/SRPrecord to a knowledge graph.
4
4
 
5
5
  ![Palskills Pipeline](assets/pipeline.jpg?v=2)
6
6
 
@@ -8,37 +8,28 @@
8
8
 
9
9
  | Skill | Role | Key Trait |
10
10
  |-------|------|-----------|
11
- | **Astralym** | State machine orchestrator | Non-skip states, gate-keeps the flow |
12
- | **Lyleen** | Palbox reader & bootstrapper | Auto-creates `.palbox/` if missing |
13
- | **Jetdragon** | Planner | Asks until clear, generates Codex-ready prompts |
14
- | **Anubis** | Codex executor | SOLID + SRP enforced, English only |
15
- | **Panthalus** | Archivist | Records EVERY session to palbox |
11
+ | **Astralym** | Orchestrator | Runs the full pipeline, tracks progress in `state.md` |
12
+ | **Lyleen** | Knowledge Graph | Bootstraps `.palbox/` or traverses `[[wikilinks]]` for context |
13
+ | **Jetdragon** | Planner | Asks clarifying questions, generates detailed plans |
14
+ | **Anubis** | Developer | SOLID + SRP enforced, English only |
15
+ | **Panthalus** | Archivist | Records every session with bi-directional `[[wikilinks]]` |
16
16
 
17
17
  ## Prerequisites
18
18
 
19
- - [Hermes Agent](https://github.com/nousresearch/hermes-agent)
20
- - [Codex CLI](https://github.com/openai/codex) (`npm install -g @openai/codex`)
19
+ - Node.js 18+
21
20
  - Git (all work happens in git repositories)
21
+ - Any AI coding agent: [Codex CLI](https://github.com/openai/codex), [Cursor](https://cursor.com), or [Claude Code](https://docs.anthropic.com/en/docs/claude-code)
22
22
 
23
23
  ## Install
24
24
 
25
- ### npm (recommended)
26
25
  ```bash
27
26
  npm install -g palskills
28
- # Skills auto-installed to ~/.hermes/skills/palskills/
29
27
  ```
30
28
 
31
- ### Git
32
- ```bash
33
- git clone https://github.com/faizalardhi16/palskills.git
34
- cd palskills
35
- ./install.sh
36
- ```
37
-
38
- ## Usage
29
+ ## Quick Start
39
30
 
40
- ### Interactive CLI
41
31
  ```bash
32
+ cd your-project
42
33
  palskills
43
34
  ```
44
35
 
@@ -51,36 +42,72 @@ palskills
51
42
  What do you want to do?
52
43
 
53
44
  [1] Learn Project → bootstrap .palbox/ (Lyleen)
54
- [2] Codex CLI → .codex.md
55
- [3] Cursor → .cursorrules
56
- [4] Claude Code → CLAUDE.md
45
+ [2] Codex CLI → .codex/skills/
46
+ [3] Cursor → .cursor/skills/
47
+ [4] Claude Code → .claude/skills/
57
48
  [5] All Agents → generate all configs
58
49
 
59
50
  Choose [1-5]:
60
51
  ```
61
52
 
62
- **Step 1:** Pick `[1]` to analyze the project and create a `.palbox/` knowledge graph.
63
- **Step 2:** Pick `[2-5]` to generate agent configs with SOLID + SRP + palbox conventions.
53
+ ### Step 1 Learn the project
54
+
55
+ Pick `[1]`. Lyleen scans your codebase and creates `.palbox/` — a knowledge graph with project identity, architecture map, and conventions.
56
+
57
+ ### Step 2 — Generate agent skills
58
+
59
+ Pick your agent `[2-4]`, or `[5]` for all. Each agent gets 5 skill files ready to use.
60
+
61
+ ## How to Develop with Palskills
62
+
63
+ Once skills are generated, open your AI coding agent and start a prompt with a skill name:
64
+
65
+ ### Full Pipeline (recommended)
64
66
 
65
- ### One-shot (without installing)
66
- ```bash
67
- npx palskills
67
+ ```
68
+ Astralym: build a PDF export feature for the reports module
69
+ ```
70
+
71
+ Astralym runs all 5 steps: learns the codebase → plans with your input → executes code → records everything. Tracks progress in `.palbox/state.md` with checkboxes — resumable if interrupted.
72
+
73
+ ### Individual Skills
74
+
75
+ | Prompt | What happens |
76
+ |--------|-------------|
77
+ | `Lyleen: learn the auth module` | Reads or bootstraps `.palbox/`, returns relevant context |
78
+ | `Jetdragon: plan a forgot-password feature` | Creates `.palbox/plans/` plan, asks clarifying questions. Say **"Gas"** when ready |
79
+ | `Anubis: implement the approved plan` | Executes the plan with SOLID + SRP, all code in English |
80
+ | `Panthalus: record this session` | Saves to `.palbox/history/` with bi-directional `[[wikilinks]]` |
81
+
82
+ ### Flow
83
+
84
+ ```
85
+ Lyleen (context) → Jetdragon (plan) → "Gas" → Anubis (code) → Panthalus (record)
68
86
  ```
69
87
 
70
88
  ## Palbox
71
89
 
72
- Palskills creates a `.palbox/` second brain in every project:
90
+ The `.palbox/` knowledge graph grows with every session:
73
91
 
74
92
  ```
75
93
  .palbox/
76
- ├── README.md # Project identity & tech stack
77
- ├── architecture.md # Folder map & design patterns
78
- ├── methods.md # Conventions & standards
79
- ├── flows/ # Feature workflow docs
80
- ├── plans/ # Active plans (Jetdragon)
81
- └── history/ # Past executions (Panthalus)
94
+ ├── state.md # Pipeline progress tracker
95
+ ├── README.md # Project identity & tech stack
96
+ ├── architecture.md # Folder map & design patterns
97
+ ├── methods.md # Conventions & standards
98
+ ├── flows/ # Feature workflow docs
99
+ ├── plans/ # Active plans
100
+ └── history/ # Past sessions with [[wikilinks]]
82
101
  ```
83
102
 
103
+ ## Supported Agents
104
+
105
+ | Agent | Skills Directory | Config Format |
106
+ |-------|-----------------|---------------|
107
+ | Codex CLI | `.codex/skills/` | Markdown skill files |
108
+ | Cursor | `.cursor/skills/` | Markdown skill files |
109
+ | Claude Code | `.claude/skills/` | Markdown skill files |
110
+
84
111
  ## License
85
112
 
86
113
  MIT
package/bin/palskills.js CHANGED
@@ -343,7 +343,7 @@ Record sessions to .palbox/ with bi-directional [[wikilinks]].
343
343
  **Agent:** ${agent === 'codex' ? 'Codex' : agent === 'cursor' ? 'Cursor' : 'Claude Code'}
344
344
 
345
345
  ## Role
346
- Run the full development pipeline automatically.
346
+ Run the full development pipeline. Track every step in .palbox/state.md.
347
347
 
348
348
  ## Pipeline
349
349
  1. **CHECK_GRAPH** → Lyleen: bootstrap or retrieve context
@@ -352,9 +352,71 @@ Run the full development pipeline automatically.
352
352
  4. **RECORDING** → Panthalus: record with backlinks
353
353
  5. **DONE** → Summary with graph stats
354
354
 
355
+ ## CRITICAL: state.md
356
+
357
+ ON LOAD: Create or read .palbox/state.md. This file tracks pipeline progress with checkboxes.
358
+
359
+ ### state.md Template
360
+ Create this file IMMEDIATELY when Astralym is activated:
361
+
362
+ \`\`\`markdown
363
+ # Astralym Pipeline State
364
+ **Feature:** [extract from user prompt]
365
+ **Started:** [current datetime]
366
+ **Last Updated:** [current datetime]
367
+
368
+ ## Progress
369
+ - [ ] CHECK_GRAPH — Lyleen: bootstrap or retrieve context
370
+ - [ ] PLANNING — Jetdragon: create plan, ask questions
371
+ - [ ] DEVELOPING — Anubis: execute with SOLID + SRP
372
+ - [ ] RECORDING — Panthalus: record with backlinks
373
+ - [ ] DONE — Report summary
374
+
375
+ ## Plan
376
+ pending
377
+
378
+ ## Context
379
+ pending
380
+ \`\`\`
381
+
382
+ ### Rules for state.md
383
+ 1. **Create BEFORE running any step.** The file must exist from the start.
384
+ 2. **Checkmark [x] each step IMMEDIATELY after completion.** Do not batch.
385
+ 3. **Add notes after each step:**
386
+ - CHECK_GRAPH: "Retrieved [N] relevant nodes" or "Bootstrapped palbox"
387
+ - PLANNING: Link to plan file: [[plans/YYYY-MM-DD-feature]]
388
+ - DEVELOPING: "Implemented: [files changed], [N] commits"
389
+ - RECORDING: Link to history: [[history/YYYY-MM-DD-feature]]
390
+ - DONE: "Completed at [datetime]. [N] files, [M] commits."
391
+ 4. **If a step fails or is interrupted,** mark it with [!] and note why.
392
+ 5. **Update "Last Updated"** every time you touch the file.
393
+ 6. **On resume:** Read state.md first. Skip completed steps. Continue from first unchecked.
394
+
395
+ ### Example After Completion
396
+ \`\`\`markdown
397
+ # Astralym Pipeline State
398
+ **Feature:** Export Laporan PDF
399
+ **Started:** 2026-07-19 16:30
400
+ **Last Updated:** 2026-07-19 17:15
401
+
402
+ ## Progress
403
+ - [x] CHECK_GRAPH — Lyleen: Retrieved 3 nodes ([[flows/export]], [[architecture]], [[methods]])
404
+ - [x] PLANNING — Jetdragon: [[plans/2026-07-19-export-pdf]]
405
+ - [x] DEVELOPING — Anubis: src/export/pdf.py, src/export/templates/, 4 commits
406
+ - [x] RECORDING — Panthalus: [[history/2026-07-19-export-pdf]]
407
+ - [x] DONE — Completed at 2026-07-19 17:15. 3 files, 4 commits.
408
+
409
+ ## Plan
410
+ [[plans/2026-07-19-export-pdf]]
411
+
412
+ ## Context
413
+ - [[flows/export]] — existing export pipeline
414
+ - [[architecture]] — module structure
415
+ - [[methods]] — testing conventions
416
+ \`\`\`
417
+
355
418
  ## Usage
356
- User says "Astralym: build feature X" → full pipeline runs.
357
- `
419
+ User says "Astralym: build feature X" → create state.md → run pipeline step by step → checkmark progress.`
358
420
  };
359
421
  return skills[skill] || '';
360
422
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palskills",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "AI-powered development pipeline — 5 Hermes Agent skills orchestrated as a knowledge graph",
5
5
  "keywords": [
6
6
  "hermes-agent",
@@ -86,6 +86,45 @@ Astralym is the central orchestrator of the palskills development system. It rou
86
86
  | `RECORDING` | Panthalus | Create history node → add `[[wikilinks]]` → create backlinks → enrich graph |
87
87
  | `DONE` | Astralym | Report summary + graph stats; return to IDLE |
88
88
 
89
+ ## CRITICAL: state.md
90
+
91
+ ON LOAD: Astralym MUST create or read `.palbox/state.md`. This file tracks pipeline progress with checkboxes and makes the state machine visible, resumable, and auditable.
92
+
93
+ ### state.md Template
94
+
95
+ ```markdown
96
+ # Astralym Pipeline State
97
+ **Feature:** [extract from user prompt]
98
+ **Started:** [current datetime]
99
+ **Last Updated:** [current datetime]
100
+
101
+ ## Progress
102
+ - [ ] CHECK_GRAPH — Lyleen: bootstrap or retrieve context
103
+ - [ ] PLANNING — Jetdragon: create plan, ask questions
104
+ - [ ] DEVELOPING — Anubis → Codex: execute with SOLID + SRP
105
+ - [ ] RECORDING — Panthalus: record with backlinks
106
+ - [ ] DONE — Report summary
107
+
108
+ ## Plan
109
+ pending
110
+
111
+ ## Context
112
+ pending
113
+ ```
114
+
115
+ ### Rules for state.md
116
+ 1. **Create BEFORE running any step.** The file must exist from the start.
117
+ 2. **Checkmark `[x]` each step IMMEDIATELY after completion.** Do not batch.
118
+ 3. **Add notes after each step:**
119
+ - CHECK_GRAPH: "Retrieved [N] relevant nodes" or "Bootstrapped palbox with [N] files"
120
+ - PLANNING: Link to plan: `[[plans/YYYY-MM-DD-feature]]`
121
+ - DEVELOPING: "Implemented: [files changed], [N] commits"
122
+ - RECORDING: Link to history: `[[history/YYYY-MM-DD-feature]]`
123
+ - DONE: "Completed at [datetime]. [N] files, [M] commits."
124
+ 4. **If a step fails or is interrupted,** mark it with `[!]` and note why.
125
+ 5. **Update "Last Updated"** every time you touch the file.
126
+ 6. **On resume:** Read state.md first. Skip `[x]` completed steps. Continue from first `[ ]`.
127
+
89
128
  ## Palbox Knowledge Graph Structure
90
129
 
91
130
  ```
@@ -101,6 +140,30 @@ Astralym is the central orchestrator of the palskills development system. It rou
101
140
  └── YYYY-MM-DD-*.md
102
141
  ```
103
142
 
143
+ ## Usage Modes
144
+
145
+ Palskills works in **two environments**, not just Hermes:
146
+
147
+ ### A. Hermes (native)
148
+ ```
149
+ "Load astralym, build a user dashboard"
150
+ ```
151
+ Astralym orchestrates: Lyleen → Jetdragon → Anubis → Panthalus, enforcing state transitions.
152
+
153
+ ### B. Any coding agent (via CLI-generated configs)
154
+ ```bash
155
+ npm i -g palskills
156
+ palskills # generates .codex.md / .cursorrules / CLAUDE.md
157
+ ```
158
+ Then in Codex, Cursor, or Claude Code:
159
+ ```
160
+ Lyleen: learn the auth module
161
+ Astralym: build a forgot-password feature
162
+ ```
163
+ The agent reads the config and follows the skill's step-by-step instructions. Full 5-mode system embedded. See `references/cli-integration.md` for details.
164
+
165
+ **Design rule:** every agent config MUST contain the complete multi-mode skill system, not just static rules. The user explicitly rejected rules-only configs.
166
+
104
167
  ## Rules
105
168
 
106
169
  1. **Never skip states** — every prompt flows through the full pipeline
@@ -109,3 +172,7 @@ Astralym is the central orchestrator of the palskills development system. It rou
109
172
  4. **Recording is mandatory** — every session enriches the graph
110
173
  5. **Links over repetition** — use `[[wikilinks]]` instead of duplicating content
111
174
  6. **Bidirectional links** — every edge should have a backlink (Panthalus enforces this)
175
+
176
+ ## See Also
177
+
178
+ - `references/cli-integration.md` — How the `palskills` CLI generates agent configs (`.codex.md`, `.cursorrules`, `CLAUDE.md`) that integrate with this pipeline