@hopla/claude-setup 1.1.7 → 1.1.9

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/cli.js CHANGED
@@ -173,6 +173,7 @@ const HOPLA_PERMISSIONS = [
173
173
  "Bash(cat *)",
174
174
  "Bash(head *)",
175
175
  "Bash(tail *)",
176
+ "Bash(echo *)",
176
177
  ];
177
178
 
178
179
  async function setupPermissions() {
@@ -1,8 +1,10 @@
1
1
  ---
2
- description: Create a Product Requirements Document (PRD) for a project through guided questions
2
+ description: Create or update the PRD for this project through guided questions
3
3
  ---
4
4
 
5
- Create a PRD for this project following the Layer 1 Planning approach: an exploratory conversation that defines scope, reduces assumptions, and generates both a `PRD.md` and supporting on-demand context documents.
5
+ Create or update a `PRD.md` for this project following the Layer 1 Planning approach: an exploratory conversation that defines scope, reduces assumptions, and generates both a `PRD.md` and supporting on-demand context documents.
6
+
7
+ **If a `PRD.md` already exists**, this command will read it first and only ask about what's missing, outdated, or changing — it will not start from scratch.
6
8
 
7
9
  > Layer 1 Planning = Global Rules + On-Demand Context + PRD
8
10
 
@@ -11,7 +13,9 @@ Create a PRD for this project following the Layer 1 Planning approach: an explor
11
13
  Before asking anything, read what already exists:
12
14
  - `CLAUDE.md` or `AGENTS.md` — extract product name, tech stack, business context
13
15
  - `README.md` — extract any existing product description
14
- - Any existing `PRD.md` — understand what's already defined
16
+ - Any existing `PRD.md` — understand what's already defined and what needs updating
17
+
18
+ If a `PRD.md` exists, tell the user: "I found an existing PRD. I'll update it rather than start from scratch — only asking about what's missing or has changed."
15
19
 
16
20
  Use this to avoid asking questions that are already answered.
17
21
 
@@ -196,7 +200,7 @@ Show the draft PRD to the user and ask:
196
200
  > "Does this accurately reflect the product? Any corrections before I save it?"
197
201
 
198
202
  Once confirmed:
199
- 1. Save `PRD.md` to the project root
203
+ 1. Save `PRD.md` to the project root (overwrite if it existed)
200
204
  2. Save any on-demand context documents created in Step 3
201
- 3. List all files created
205
+ 3. List all files created or updated
202
206
  4. Suggest running `/hopla-commit` to save everything to the repository
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hopla/claude-setup",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Hopla team agentic coding system for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {