@gonzih/skills-product 1.0.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 gonzih
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # @gonzih/skills-product
2
+
3
+ Claude Code skill suite for product managers and product owners. Four skills, one install.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npx @gonzih/skills-product
9
+ ```
10
+
11
+ Or install globally:
12
+
13
+ ```bash
14
+ npm install -g @gonzih/skills-product
15
+ ```
16
+
17
+ Restart Claude Code after installing.
18
+
19
+ ## Skills
20
+
21
+ ### `/prd-writer`
22
+ Write a Product Requirements Document from a feature description. Produces a complete PRD with problem statement, target users, user stories, success metrics, scope, and open questions.
23
+
24
+ ```
25
+ /prd-writer Add a dark mode toggle to the settings page
26
+ ```
27
+
28
+ ### `/user-story-generator`
29
+ Generate a full sprint's worth of user stories with acceptance criteria from a feature description. Stories are sized, prioritized, and packaged into a suggested sprint plan.
30
+
31
+ ```
32
+ /user-story-generator User authentication with SSO support
33
+ ```
34
+
35
+ ### `/roadmap-builder`
36
+ Build a quarterly roadmap from a list of initiatives. Organizes work into themes, applies RICE prioritization, and maps dependencies between initiatives.
37
+
38
+ ```
39
+ /roadmap-builder Q2 goals: improve onboarding, launch API v2, reduce churn
40
+ ```
41
+
42
+ ### `/release-notes`
43
+ Write polished release notes from a raw list of changes. Rewrites implementation details into user-facing language, categorizes changes, and adds a narrative header.
44
+
45
+ ```
46
+ /release-notes v2.4.0 - fixed login bug, added CSV export, deprecated v1 API
47
+ ```
48
+
49
+ ## License
50
+
51
+ MIT
package/install.js ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ import { copyFileSync, mkdirSync, existsSync } from 'fs';
3
+ import { join } from 'path';
4
+ import { homedir } from 'os';
5
+
6
+ const skillsDir = join(homedir(), '.claude', 'skills');
7
+ const skills = ['prd-writer', 'user-story-generator', 'roadmap-builder', 'release-notes'];
8
+
9
+ for (const skill of skills) {
10
+ const dest = join(skillsDir, skill);
11
+ if (!existsSync(dest)) mkdirSync(dest, { recursive: true });
12
+ copyFileSync(new URL(`./skills/${skill}/SKILL.md`, import.meta.url).pathname, join(dest, 'SKILL.md'));
13
+ console.log(`✓ Installed /${skill}`);
14
+ }
15
+ console.log('\nSkills installed! Restart Claude Code to use them.');
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@gonzih/skills-product",
3
+ "version": "1.0.0",
4
+ "description": "Claude Code skill suite for product managers and product owners",
5
+ "type": "module",
6
+ "bin": {
7
+ "skills-product": "./install.js"
8
+ },
9
+ "scripts": {
10
+ "postinstall": "node install.js"
11
+ },
12
+ "files": [
13
+ "skills/",
14
+ "install.js",
15
+ "README.md",
16
+ "LICENSE"
17
+ ],
18
+ "keywords": [
19
+ "claude",
20
+ "claude-code",
21
+ "skills",
22
+ "product-management",
23
+ "prd",
24
+ "user-stories",
25
+ "roadmap",
26
+ "release-notes"
27
+ ],
28
+ "author": "gonzih",
29
+ "license": "MIT",
30
+ "engines": {
31
+ "node": ">=18"
32
+ }
33
+ }
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: prd-writer
3
+ description: Write a Product Requirements Document with problem statement, user stories, success metrics, scope, and open questions.
4
+ triggers: ["write a PRD", "product requirements document", "write requirements for"]
5
+ ---
6
+
7
+ # PRD Writer
8
+
9
+ ## What this skill does
10
+ Generates a structured Product Requirements Document (PRD) from a feature or product description. Covers the problem being solved, target users, user stories, measurable success metrics, in/out of scope, and open questions that need resolution before work begins.
11
+
12
+ ## How to invoke
13
+ /prd-writer [feature or product description]
14
+
15
+ ## Workflow steps
16
+
17
+ ### Step 1 — Gather context
18
+ Ask clarifying questions if the description is vague: Who are the target users? What problem does this solve? Are there any known constraints or existing systems involved? If the description is sufficiently detailed, proceed directly.
19
+
20
+ ### Step 2 — Draft the PRD
21
+ Produce a document with the following sections:
22
+ - **Overview** — One-paragraph summary of the feature and its purpose
23
+ - **Problem Statement** — What pain point or opportunity is being addressed, and why it matters now
24
+ - **Target Users** — Personas or segments who will use this feature
25
+ - **User Stories** — Written as "As a [user], I want to [action] so that [benefit]", covering the primary flows
26
+ - **Success Metrics** — Quantifiable outcomes (e.g., conversion rate, error rate, time-on-task) with baseline and target values where possible
27
+ - **Scope** — Explicit list of what is in scope and what is explicitly out of scope for this version
28
+ - **Open Questions** — Unresolved decisions, dependencies, or assumptions that need answers before development begins
29
+
30
+ ### Step 3 — Review and refine
31
+ Invite the user to review the draft. Offer to expand any section, add technical constraints, or adjust the tone for the intended audience (engineering, executive, or external stakeholder).
32
+
33
+ ## Example outputs
34
+ A complete PRD markdown document, typically 400–800 words, ready to paste into Notion, Confluence, or a GitHub issue. Sections are clearly headed and the open questions section flags blockers proactively.
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: release-notes
3
+ description: Write polished release notes from a list of changes with user-facing framing, what changed, and why it matters.
4
+ triggers: ["write release notes", "release notes for", "changelog for release"]
5
+ ---
6
+
7
+ # Release Notes
8
+
9
+ ## What this skill does
10
+ Transforms a raw list of changes (commits, tickets, or a changelog dump) into polished, user-facing release notes. Focuses on what changed and why it matters to the user — not internal implementation details. Adapts tone to match the audience (end users, developers, or enterprise customers).
11
+
12
+ ## How to invoke
13
+ /release-notes [version number or release name, list of changes]
14
+
15
+ ## Workflow steps
16
+
17
+ ### Step 1 — Categorize changes
18
+ Group changes into standard release note categories: **New Features**, **Improvements**, **Bug Fixes**, **Deprecations**, and **Breaking Changes**. Discard internal-only changes (refactors, test updates, CI changes) unless they affect observable behavior.
19
+
20
+ ### Step 2 — Reframe for users
21
+ Rewrite each change from the user's perspective. Replace implementation language ("refactored the auth module") with benefit language ("Sign-in is now 40% faster"). For bug fixes, describe what was broken and what the experience is like now. For breaking changes, clearly state what will stop working and what users must do.
22
+
23
+ ### Step 3 — Write the release header
24
+ Produce a short (2–3 sentence) summary paragraph for the release that highlights the most significant changes and the overall theme of the release (e.g., "performance quarter", "enterprise readiness"). Include the version number and release date.
25
+
26
+ ### Step 4 — Format and finalize
27
+ Assemble the full release notes document with the header, categorized changes, and any migration notes for breaking changes. Offer a short version (one-liner per change) and a detailed version (with context) if the audience or channel requires different lengths.
28
+
29
+ ## Example outputs
30
+ A formatted release notes document with a narrative header, categorized bullet points written in plain language, and a migration guide section if breaking changes are present. Suitable for a changelog page, email announcement, or in-app notification.
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: roadmap-builder
3
+ description: Build a quarterly roadmap with themes, initiatives, prioritization rationale, and a dependency map.
4
+ triggers: ["build a roadmap", "quarterly roadmap", "product roadmap"]
5
+ ---
6
+
7
+ # Roadmap Builder
8
+
9
+ ## What this skill does
10
+ Constructs a structured quarterly roadmap from a list of initiatives, goals, or feature ideas. Organizes work into themes, applies a prioritization framework, surfaces dependencies between initiatives, and produces a format suitable for sharing with leadership, engineering, or customers.
11
+
12
+ ## How to invoke
13
+ /roadmap-builder [list of initiatives, goals, or context about the product and quarter]
14
+
15
+ ## Workflow steps
16
+
17
+ ### Step 1 — Establish context
18
+ Identify the planning horizon (default: one quarter), the primary audience for the roadmap (internal team, executives, customers), and any fixed constraints such as hard deadlines, compliance requirements, or team capacity. Ask for clarification if these are not provided.
19
+
20
+ ### Step 2 — Define themes
21
+ Group initiatives into 2–4 strategic themes that reflect the product's goals for the quarter (e.g., "Reliability", "Growth", "Developer Experience"). Each theme should have a one-sentence rationale explaining why it matters this quarter.
22
+
23
+ ### Step 3 — Prioritize initiatives
24
+ Apply an explicit prioritization framework — default to RICE (Reach, Impact, Confidence, Effort) unless the user specifies another (MoSCoW, Value vs. Effort, etc.). For each initiative, provide:
25
+ - **Theme** — Which theme it belongs to
26
+ - **Initiative** — Brief name and description
27
+ - **Priority** — High / Medium / Low with a one-line rationale
28
+ - **Rough size** — S / M / L / XL
29
+ - **Quarter placement** — Now / Next / Later, or specific month
30
+
31
+ ### Step 4 — Map dependencies
32
+ Identify initiatives that must be completed before others can start. Produce a simple dependency list (e.g., "Initiative B requires Initiative A to be complete") and flag any critical path items that could block the quarter's goals.
33
+
34
+ ## Example outputs
35
+ A roadmap document with a theme overview, a prioritized initiative table, and a dependency list. Optionally formatted as a now/next/later grid. Suitable for presenting in a planning meeting or embedding in a strategy doc.
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: user-story-generator
3
+ description: Generate a full sprint's worth of user stories with acceptance criteria from a feature description.
4
+ triggers: ["generate user stories", "write user stories", "break into stories"]
5
+ ---
6
+
7
+ # User Story Generator
8
+
9
+ ## What this skill does
10
+ Takes a feature description and produces a prioritized backlog of user stories sized for a sprint, each with a clear title, narrative, and acceptance criteria. Stories follow standard Agile conventions and are scoped to be independently shippable where possible.
11
+
12
+ ## How to invoke
13
+ /user-story-generator [feature description]
14
+
15
+ ## Workflow steps
16
+
17
+ ### Step 1 — Decompose the feature
18
+ Identify the distinct user-facing capabilities implied by the feature description. Group them by user type or workflow stage. Flag any that are likely epics (too large for a single story) and break them down further.
19
+
20
+ ### Step 2 — Write the stories
21
+ For each story, produce:
22
+ - **Story ID** — Sequential identifier (e.g., US-01)
23
+ - **Title** — Short imperative phrase (e.g., "Filter search results by date range")
24
+ - **Narrative** — "As a [persona], I want to [goal] so that [benefit]"
25
+ - **Acceptance Criteria** — Bulleted list of testable conditions using Given/When/Then or plain-language checklist format
26
+ - **Story Points** — Rough estimate using Fibonacci (1, 2, 3, 5, 8) with a brief rationale
27
+ - **Dependencies** — Any other stories or external work this story depends on
28
+
29
+ ### Step 3 — Prioritize and package
30
+ Order stories by business value and dependency chain. Group into a suggested sprint plan that fits a standard 2-week sprint (assume ~30–40 points of velocity unless the user specifies otherwise). Highlight the MVP slice — the minimum set of stories that delivers end-to-end value.
31
+
32
+ ## Example outputs
33
+ A numbered backlog of 8–15 user stories in a table or structured list, with each story fully specified and a sprint grouping at the end. Output is ready to copy into Jira, Linear, or any sprint planning tool.