@martinffx/atelier 1.2.2 → 1.4.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.
Files changed (59) hide show
  1. package/.codex-plugin/plugin.json +27 -0
  2. package/CHANGELOG.md +33 -0
  3. package/README.md +51 -59
  4. package/agents/architect.md +1 -1
  5. package/agents/oracle.md +1 -1
  6. package/dist/atelier.js +14171 -12949
  7. package/package.json +6 -1
  8. package/skills/code-commit/SKILL.md +77 -77
  9. package/skills/code-handoff/SKILL.md +1 -1
  10. package/skills/code-pull-request/SKILL.md +36 -0
  11. package/skills/code-pull-request/references/common.md +76 -0
  12. package/skills/code-pull-request/references/create-pr.md +122 -0
  13. package/skills/code-pull-request/references/default-template.md +25 -0
  14. package/skills/code-pull-request/references/leave-comment.md +53 -0
  15. package/skills/code-pull-request/references/merge-pr.md +94 -0
  16. package/skills/code-pull-request/references/read-comments.md +61 -0
  17. package/skills/code-pull-request/references/respond-to-comment.md +66 -0
  18. package/skills/code-review/SKILL.md +21 -12
  19. package/skills/code-review/references/reviewers.md +142 -41
  20. package/skills/code-review/references/rq.md +48 -32
  21. package/skills/oracle-debug/SKILL.md +218 -0
  22. package/skills/{code-debug → oracle-debug}/references/bug-patterns.md +3 -3
  23. package/skills/oracle-domain-modelling/SKILL.md +84 -0
  24. package/skills/oracle-grill-me/SKILL.md +20 -0
  25. package/skills/spec-brainstorm/SKILL.md +91 -71
  26. package/skills/spec-finish/SKILL.md +20 -14
  27. package/skills/spec-implement/SKILL.md +3 -2
  28. package/skills/spec-orchestrator/SKILL.md +4 -15
  29. package/skills/spec-plan/SKILL.md +1 -1
  30. package/agents/scout.md +0 -40
  31. package/skills/code-commit/references/pr-workflow.md +0 -145
  32. package/skills/code-debug/SKILL.md +0 -199
  33. package/skills/code-docs/SKILL.md +0 -171
  34. package/skills/code-docs/references/api-docs.md +0 -116
  35. package/skills/code-docs/references/changelog.md +0 -64
  36. package/skills/code-docs/references/readme-structure.md +0 -94
  37. package/skills/oracle-architect/SKILL.md +0 -327
  38. package/skills/oracle-architect/references/api-design.md +0 -345
  39. package/skills/oracle-architect/references/data-modeling.md +0 -318
  40. package/skills/oracle-architect/references/ddd-patterns.md +0 -348
  41. package/skills/oracle-architect/references/interface-design.md +0 -203
  42. package/skills/oracle-challenge/SKILL.md +0 -126
  43. package/skills/oracle-doubt/SKILL.md +0 -252
  44. package/skills/oracle-doubt/references/adversarial-prompt.md +0 -47
  45. package/skills/oracle-grillme/SKILL.md +0 -160
  46. package/skills/oracle-security/SKILL.md +0 -225
  47. package/skills/oracle-security/references/security-patterns.md +0 -236
  48. package/skills/oracle-security/references/threat-modeling-guide.md +0 -137
  49. package/skills/oracle-testing/SKILL.md +0 -237
  50. package/skills/oracle-testing/references/anti-patterns.md +0 -618
  51. package/skills/oracle-testing/references/boundaries.md +0 -579
  52. package/skills/oracle-testing/references/core-testing.md +0 -691
  53. package/skills/oracle-testing/references/edge-testing.md +0 -794
  54. package/skills/oracle-testing/references/stub-driven-tdd.md +0 -322
  55. package/skills/oracle-thinkdeep/SKILL.md +0 -164
  56. /package/skills/{code-debug → oracle-debug}/references/language-tools.md +0 -0
  57. /package/skills/{code-debug → oracle-debug}/references/techniques.md +0 -0
  58. /package/skills/{oracle-grillme → oracle-domain-modelling}/references/ADR-FORMAT.md +0 -0
  59. /package/skills/{oracle-grillme → oracle-domain-modelling}/references/CONTEXT-FORMAT.md +0 -0
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "atelier",
3
+ "version": "1.2.2",
4
+ "description": "Personal development toolkit - spec-driven development, code quality, deep thinking, and ecosystem patterns",
5
+ "author": {
6
+ "name": "Martin Richards"
7
+ },
8
+ "homepage": "https://github.com/martinffx/atelier",
9
+ "repository": "https://github.com/martinffx/atelier",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "spec-driven-development",
13
+ "code-quality",
14
+ "deep-thinking",
15
+ "typescript",
16
+ "python",
17
+ "codex"
18
+ ],
19
+ "skills": "./skills/",
20
+ "interface": {
21
+ "displayName": "Atelier",
22
+ "shortDescription": "Personal development toolkit - spec-driven development, code quality, deep thinking, and ecosystem patterns",
23
+ "developerName": "Martin Richards",
24
+ "category": "Developer Tools",
25
+ "capabilities": ["Read"]
26
+ }
27
+ }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.0](https://github.com/martinffx/atelier/compare/v1.3.0...v1.4.0) (2026-07-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * **code-commit:** improve commit workflow ([a5e8973](https://github.com/martinffx/atelier/commit/a5e89735ec8623ea24effec326010136cb546735))
9
+ * **codex:** add Codex harness support and refactor for multi-harness CLI ([#38](https://github.com/martinffx/atelier/issues/38)) ([ce381d2](https://github.com/martinffx/atelier/commit/ce381d25c8b91734bf84288e1c9522e1a914a5b9))
10
+ * **opencode:** add OpenAI provider support ([3f956bd](https://github.com/martinffx/atelier/commit/3f956bd0fb371a00147d2a92c5503d0c853215e2))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **code-handoff:** write handoffs to project directory ([abd6ec9](https://github.com/martinffx/atelier/commit/abd6ec90cbe614cedff3b0a2059ca9c6743d35ba))
16
+
17
+ ## [1.3.0](https://github.com/martinffx/atelier/compare/v1.2.2...v1.3.0) (2026-07-17)
18
+
19
+
20
+ ### Features
21
+
22
+ * **code-pull-request:** add comment and merge workflows with progressive disclosure ([53e8957](https://github.com/martinffx/atelier/commit/53e89574ae1c37d0c3e868c7bbecee560e38c573))
23
+ * **code:** add code-pull-request skill for PR creation ([62e32a6](https://github.com/martinffx/atelier/commit/62e32a6373be02cfad5fd3cb3fa248efcf3cc06c))
24
+ * **code:** add code-pull-request skill for PR creation ([e4d2475](https://github.com/martinffx/atelier/commit/e4d24752f610177d6706cf382f3db3c9f5406355))
25
+ * **skills:** split oracle-grillme into oracle-grill-me and oracle-domain-modelling ([#40](https://github.com/martinffx/atelier/issues/40)) ([e373c12](https://github.com/martinffx/atelier/commit/e373c12d05d9cde3ddb02fb0fc26ee770fb959a2))
26
+ * **spec-brainstorm:** add section-by-section design approval ([f66eb62](https://github.com/martinffx/atelier/commit/f66eb6275780768300218d329bff8882b6d20e5d))
27
+ * **spec-brainstorm:** add section-by-section design approval ([9cfb7e7](https://github.com/martinffx/atelier/commit/9cfb7e732fe20c546c2465218a8392dcba7859ad))
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * **code-pull-request:** correct description contract and base-branch detection ([73d48c6](https://github.com/martinffx/atelier/commit/73d48c6652f14bcc5224d91e546d219816d27e03))
33
+ * **code-pull-request:** resolve code-review findings ([fda9086](https://github.com/martinffx/atelier/commit/fda90860b99ef7ed2fd0731785af0b27251e5d1f))
34
+ * **skills:** address review findings from skill consolidation ([cccb1f8](https://github.com/martinffx/atelier/commit/cccb1f8430de7b699900c70d1b33207d771ac664))
35
+
3
36
  ## [1.2.2](https://github.com/martinffx/atelier/compare/v1.2.1...v1.2.2) (2026-05-23)
4
37
 
5
38
 
package/README.md CHANGED
@@ -8,30 +8,29 @@
8
8
 
9
9
  A personal development toolkit for AI agents - spec-driven development, code quality, deep thinking, and ecosystem patterns.
10
10
 
11
+ Atelier ships as a set of skills installed via `npx skills` plus a small CLI that generates harness-native agent definitions and configuration.
12
+
11
13
  ## Quick Start
12
14
 
13
- Install Atelier with a single command. It auto-detects your AI harness (Claude Code or OpenCode), configures agents, and sets up session hooks:
15
+ Install Atelier with a single command. It configures agents and harness-native settings for Claude Code, OpenCode, or Codex:
14
16
 
15
17
  ```bash
16
- # Initialize atelier in your project
17
- bunx atelier@latest init
18
-
19
- # Or install everything including skills
20
- bunx atelier@latest init --all
18
+ # Initialize atelier for your harness
19
+ npx @martinffx/atelier@latest init --harness <claude|opencode|codex>
21
20
 
22
21
  # Non-interactive mode (CI/CD)
23
- bunx atelier@latest init --yes
22
+ npx @martinffx/atelier@latest init --harness <claude|opencode|codex> --yes
24
23
  ```
25
24
 
26
25
  That's it. Your project is now configured for spec-driven development.
27
26
 
28
27
  ## What Gets Installed
29
28
 
30
- Atelier sets up three things in your project:
29
+ Atelier sets up two things:
31
30
 
32
- ### 1. Skills (34 available)
31
+ ### 1. Skills (28 available)
33
32
 
34
- Specialized knowledge modules that auto-invoke based on context. Install them via the CLI (`--all` flag) or separately:
33
+ Specialized knowledge modules that auto-invoke based on context. Install them separately:
35
34
 
36
35
  ```bash
37
36
  npx skills add martinffx/atelier
@@ -41,22 +40,15 @@ npx skills add martinffx/atelier
41
40
 
42
41
  Harness-agnostic agent definitions configured with appropriate models:
43
42
 
44
- | Agent | Role | Claude | OpenCode |
45
- |-------|------|--------|----------|
46
- | **Scout** | Fast codebase reconnaissance | haiku | deepseek-v4-flash |
47
- | **Oracle** | Strategic thinking, requirements, analysis | opus | kimi-k2.6 |
48
- | **Architect** | DDD, system design, architecture | opus | deepseek-v4-pro |
49
-
50
- Agents are generated into `.claude/agents/` or `.opencode/agents/` with harness-specific model identifiers.
51
-
52
- ### 3. Session Hooks
53
-
54
- Context injection that runs on every session start, clear, or compact:
43
+ | Agent | Role | Claude | OpenCode | Codex |
44
+ |-------|------|--------|----------|-------|
45
+ | **Recon** | Fast codebase reconnaissance | haiku | deepseek-v4-flash | gpt-5.6-luna |
46
+ | **Oracle** | Strategic thinking, requirements, analysis | opus | kimi-k2.6 | gpt-5.6-sol |
47
+ | **Architect** | DDD, system design, architecture | opus | deepseek-v4-pro | gpt-5.6-sol |
55
48
 
56
- - **Claude Code**: `hooks/atelier-session-start` outputs project context as JSON
57
- - **OpenCode**: `.opencode/plugins/atelier.js` provides config and transform hooks
49
+ Agents are generated into harness-specific locations (`.claude/agents/`, `.opencode/agent/`, `.codex/agents/`) with harness-native model identifiers.
58
50
 
59
- ### 4. Task Tracking (optional)
51
+ ### 3. Task Tracking (optional)
60
52
 
61
53
  The spec workflow skills support **beads** for dependency-aware task tracking:
62
54
 
@@ -69,20 +61,24 @@ npm install -g beads
69
61
 
70
62
  **Fallback:** If beads isn't installed, skills fall back to the harness's native todo system (TodoWrite for Claude Code, built-in todos for OpenCode).
71
63
 
72
- ### 5. Configuration
64
+ ### 4. Configuration
73
65
 
74
66
  Single source of truth in `.atelier/config.json`:
75
67
 
76
68
  ```json
77
69
  {
78
70
  "version": "1.0.0",
79
- "harness": "claude",
80
71
  "skills_source": "martinffx/atelier",
81
- "agents": [
82
- { "template": "scout", "model": "haiku" },
83
- { "template": "oracle", "model": "opus" },
84
- { "template": "architect", "model": "opus" }
85
- ]
72
+ "skills_path": "~/.agents/skills",
73
+ "claude": {
74
+ "provider": "anthropic",
75
+ "default_model": "opusplan",
76
+ "agents": [
77
+ { "template": "recon", "name": "recon", "model": "haiku" },
78
+ { "template": "oracle", "name": "oracle", "model": "opus" },
79
+ { "template": "architect", "name": "architect", "model": "opus" }
80
+ ]
81
+ }
86
82
  }
87
83
  ```
88
84
 
@@ -90,45 +86,43 @@ Single source of truth in `.atelier/config.json`:
90
86
 
91
87
  ### `init` (default)
92
88
 
93
- Initialize atelier in the current project.
89
+ Initialize atelier for a single harness. Each invocation configures one harness; run it multiple times to configure several.
94
90
 
95
91
  ```bash
96
- bunx atelier@latest init [options]
92
+ npx @martinffx/atelier@latest init --harness <claude|opencode|codex> [options]
97
93
  ```
98
94
 
99
95
  **Options:**
100
- - `--harness <type>` - Force harness type (`claude` or `opencode`)
101
- - `--all` - Also install skills via `npx skills add`
96
+ - `--harness <type>` - Harness type (`claude`, `opencode`, or `codex`)
102
97
  - `--yes` - Non-interactive mode with default models
103
- - `--project` - Install skills in project directory (default: global)
104
98
 
105
- **Idempotent**: Re-running `init` is safe. It regenerates files without deleting anything unless you switch harnesses.
99
+ **Idempotent**: Re-running `init` for the same harness is safe. It regenerates files without deleting anything unless you switch harnesses.
106
100
 
107
101
  ### `update`
108
102
 
109
- Refresh hooks and agents from the latest templates without touching skills:
103
+ Refresh agents and harness-native config for one harness without touching skills:
110
104
 
111
105
  ```bash
112
- bunx atelier@latest update
106
+ npx @martinffx/atelier@latest update --harness <claude|opencode|codex>
113
107
  ```
114
108
 
115
109
  ### `remove`
116
110
 
117
- Remove all atelier-generated files from the project:
111
+ Remove all atelier-generated files for one harness:
118
112
 
119
113
  ```bash
120
- bunx atelier@latest remove
114
+ npx @martinffx/atelier@latest remove --harness <claude|opencode|codex>
121
115
  ```
122
116
 
123
117
  Skills remain installed. Run `npx skills remove martinffx/atelier` to remove them separately.
124
118
 
125
119
  ## Skills
126
120
 
127
- This repository includes 34 skills that enhance AI agents with specialized knowledge and workflows.
121
+ This repository includes 28 skills that enhance AI agents with specialized knowledge and workflows.
128
122
 
129
123
  ### Installing Skills
130
124
 
131
- If you didn't use `--all` during init, install skills manually:
125
+ Install skills manually:
132
126
 
133
127
  ```bash
134
128
  # Install all skills
@@ -148,7 +142,7 @@ Skills fall into four categories based on what they do:
148
142
 
149
143
  Process-oriented skills that guide you through structured development workflows. These produce artifacts and should be followed step-by-step.
150
144
 
151
- - `spec-brainstorm` → `spec.md` — Discovery, requirements, architecture
145
+ - `spec-brainstorm` → `design.md` — Discovery, requirements, architecture
152
146
  - `spec-plan` → `plan.json` — Break spec into implementable tasks
153
147
  - `spec-implement` — Execute tasks with TDD
154
148
  - `spec-finish` — Validate, review, prepare for PR
@@ -158,13 +152,9 @@ Process-oriented skills that guide you through structured development workflows.
158
152
 
159
153
  Analytical skills that provide patterns, principles, and deep reasoning. These adapt to your specific situation.
160
154
 
161
- - `oracle-architect` — DDD, hexagonal architecture, component design
162
- - `oracle-challenge` — Challenge assumptions, validate decisions
163
- - `oracle-doubt` — Adversarial review of non-trivial decisions
164
- - `oracle-grillme` — Socratic interrogation of plans against domain model
165
- - `oracle-security` — Security architecture and threat modeling
166
- - `oracle-testing` — Stub-driven TDD, layer boundary testing
167
- - `oracle-thinkdeep` — Extended sequential reasoning for complex problems
155
+ - `oracle-debug` — Systematic debugging, root cause before fixes
156
+ - `oracle-grill-me` — Socratic interrogation of plans against domain model
157
+ - `oracle-domain-modelling` — Build and sharpen the project's domain model
168
158
 
169
159
  #### Domain Knowledge (`python:*`, `typescript:*`)
170
160
 
@@ -195,9 +185,8 @@ Technology-specific patterns and best practices. These are like having a senior
195
185
  Task-specific tools you invoke when you need them.
196
186
 
197
187
  - `code-commit` — Generate and validate conventional commits
198
- - `code-debug` — Systematic debugging workflow
199
- - `code-docs` — README, API docs, changelog generation
200
188
  - `code-handoff` — Compact conversation into handoff document
189
+ - `code-pull-request` — Create, comment on, and merge GitHub pull requests or GitLab merge requests
201
190
  - `code-review` — Multi-agent code review with specialized reviewers
202
191
  - `code-subagents` — Dispatch patterns for parallel implementation
203
192
 
@@ -227,9 +216,10 @@ Skills are organized into four categories based on their role:
227
216
 
228
217
  ```mermaid
229
218
  graph LR
230
- A[spec-brainstorm] -->|spec.md| B[spec-plan]
219
+ A[spec-brainstorm] -->|design.md| B[spec-plan]
231
220
  B -->|plan.json| C[spec-implement]
232
221
  C --> D[spec-finish]
222
+ D -.->|invokes| E[code-pull-request]
233
223
 
234
224
  B -.->|design flaw| A
235
225
  C -.->|missing tasks| B
@@ -238,10 +228,10 @@ graph LR
238
228
  ```
239
229
 
240
230
  **Standard flow:**
241
- 1. **Research** - Discovery + research + architecture → `spec.md`
231
+ 1. **Research** - Discovery + research + architecture → `design.md`
242
232
  2. **Plan** - Break into tasks → `plan.json`
243
233
  3. **Implement** - Execute with TDD
244
- 4. **Finish** - Validate and review
234
+ 4. **Finish** - Validate, review, and open the PR
245
235
 
246
236
  **Iteration is normal** - Backflows (dotted lines) are expected when:
247
237
  - Planning reveals design flaws → back to research
@@ -257,9 +247,11 @@ graph LR
257
247
  | "Write a plan" | spec-plan |
258
248
  | "Implement this" | spec-implement |
259
249
  | "Review this code" | code-review |
260
- | "Debug this" | code-debug |
261
- | "How should I test this" | oracle-testing |
262
- | "What's the architecture" | oracle-architect |
250
+ | "Open a PR" | code-pull-request |
251
+ | "Merge this PR" | code-pull-request |
252
+ | "Read PR comments" | code-pull-request |
253
+ | "Leave a comment on the PR" | code-pull-request |
254
+ | "Debug this" | oracle-debug |
263
255
 
264
256
  ## Development
265
257
 
@@ -25,7 +25,7 @@ Before finishing, confirm you have:
25
25
  - [ ] Specified API endpoints with methods, paths, and request/response contracts
26
26
  - [ ] Listed error cases and handling strategy
27
27
  - [ ] Broken work into dependency-ordered tasks (entity → repository → service → router)
28
- - [ ] Written or updated the Technical Design section in `spec.md`
28
+ - [ ] Written or updated the Technical Design section in `design.md`
29
29
  - [ ] Written or updated `plan.json` with the task breakdown
30
30
 
31
31
  ## Boundaries
package/agents/oracle.md CHANGED
@@ -28,7 +28,7 @@ Before finishing, confirm you have:
28
28
  - [ ] Documented business rules, validations, and limits
29
29
  - [ ] Defined scope—what is included and what is explicitly out of scope
30
30
  - [ ] Generated 2–3 alternative approaches with trade-offs if the problem is complex
31
- - [ ] Written or updated the Requirements section in `spec.md`
31
+ - [ ] Written or updated the Requirements section in `design.md`
32
32
 
33
33
  ## Boundaries
34
34