@maggit/claude-workspace 0.1.1
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 +228 -0
- package/assets/claude-md/default.md +34 -0
- package/assets/claude-md/engineering-exec.md +34 -0
- package/assets/claude-md/indie-maker.md +33 -0
- package/assets/claude-md/marketing.md +33 -0
- package/assets/profiles/default.json +46 -0
- package/assets/profiles/engineering-exec.json +42 -0
- package/assets/profiles/indie-maker.json +32 -0
- package/assets/profiles/marketing.json +27 -0
- package/assets/skills/adr/SKILL.md +66 -0
- package/assets/skills/apidoc/SKILL.md +78 -0
- package/assets/skills/changelog/SKILL.md +54 -0
- package/assets/skills/commit/SKILL.md +18 -0
- package/assets/skills/completetodo/SKILL.md +75 -0
- package/assets/skills/createtodo/SKILL.md +79 -0
- package/assets/skills/deadcode/SKILL.md +56 -0
- package/assets/skills/debug/SKILL.md +62 -0
- package/assets/skills/deps/SKILL.md +66 -0
- package/assets/skills/e2e/SKILL.md +68 -0
- package/assets/skills/eng-spec/SKILL.md +93 -0
- package/assets/skills/envcheck/SKILL.md +65 -0
- package/assets/skills/explain/SKILL.md +52 -0
- package/assets/skills/landing-page-copy/SKILL.md +95 -0
- package/assets/skills/meeting-notes/SKILL.md +90 -0
- package/assets/skills/migration/SKILL.md +61 -0
- package/assets/skills/openpr/SKILL.md +143 -0
- package/assets/skills/opentodos/SKILL.md +79 -0
- package/assets/skills/perf/SKILL.md +58 -0
- package/assets/skills/prd/SKILL.md +71 -0
- package/assets/skills/readme/SKILL.md +55 -0
- package/assets/skills/rebase/SKILL.md +59 -0
- package/assets/skills/release/SKILL.md +64 -0
- package/assets/skills/release-plan/SKILL.md +107 -0
- package/assets/skills/requirements/SKILL.md +77 -0
- package/assets/skills/seo-brief/SKILL.md +88 -0
- package/assets/skills/standup/SKILL.md +48 -0
- package/assets/skills/storecontext/SKILL.md +76 -0
- package/assets/skills/summary/SKILL.md +72 -0
- package/assets/skills/test/SKILL.md +55 -0
- package/assets/skills/testcoverage/SKILL.md +57 -0
- package/assets/skills/todo/SKILL.md +84 -0
- package/assets/templates/DECISION_RECORD_TEMPLATE.md +59 -0
- package/assets/templates/ENG_SPEC_TEMPLATE.md +84 -0
- package/assets/templates/PRD_TEMPLATE.md +72 -0
- package/assets/templates/PROJECT_INDEX_TEMPLATE.md +65 -0
- package/assets/templates/WEEKLY_REVIEW_TEMPLATE.md +57 -0
- package/assets/vault/README.md +34 -0
- package/assets/vault/_index.md +27 -0
- package/dist/bin.js +888 -0
- package/dist/bin.js.map +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: readme
|
|
3
|
+
description: "Generate or update a README.md for a project. Use when the user says /readme, asks to create a README, update project documentation, or add a project overview. Triggers: readme, README, project docs, project documentation, getting started guide, how to use."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# README Generator
|
|
7
|
+
|
|
8
|
+
Generate a comprehensive, well-structured README for any project.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. **Analyze the project:**
|
|
13
|
+
- Read `package.json`, `pyproject.toml`, `Cargo.toml`, `go.mod`, `Makefile`, or similar.
|
|
14
|
+
- Scan directory structure for major components.
|
|
15
|
+
- Check for existing README to update rather than replace.
|
|
16
|
+
- Identify the language, framework, and project type.
|
|
17
|
+
|
|
18
|
+
2. **Gather information:**
|
|
19
|
+
- Project name and description from manifest files.
|
|
20
|
+
- Installation steps from lockfiles and config.
|
|
21
|
+
- Available scripts/commands from `package.json scripts`, `Makefile` targets, etc.
|
|
22
|
+
- Environment variables from `.env.example`, `.env.template`, or code references.
|
|
23
|
+
- License from `LICENSE` file.
|
|
24
|
+
- CI/CD configuration for badges.
|
|
25
|
+
|
|
26
|
+
3. **Generate the README with these sections:**
|
|
27
|
+
|
|
28
|
+
### Required Sections
|
|
29
|
+
|
|
30
|
+
- **Title** — Project name, one-line description, badges (CI, coverage, license, version).
|
|
31
|
+
- **Overview** — 2-3 sentences on what the project does and why it exists.
|
|
32
|
+
- **Getting Started** — Prerequisites, installation, and first-run instructions.
|
|
33
|
+
- **Usage** — Key commands, API examples, or configuration.
|
|
34
|
+
|
|
35
|
+
### Optional Sections (include if relevant)
|
|
36
|
+
|
|
37
|
+
- **Architecture** — High-level diagram or description for larger projects.
|
|
38
|
+
- **Configuration** — Environment variables, config files.
|
|
39
|
+
- **Development** — How to set up a dev environment, run tests, lint, build.
|
|
40
|
+
- **Deployment** — How to deploy (if applicable).
|
|
41
|
+
- **Contributing** — Guidelines for contributors.
|
|
42
|
+
- **License** — License type and link.
|
|
43
|
+
|
|
44
|
+
4. **If updating an existing README:**
|
|
45
|
+
- Preserve custom content the user has written.
|
|
46
|
+
- Update auto-detectable sections (install steps, commands, env vars).
|
|
47
|
+
- Flag sections that may be outdated.
|
|
48
|
+
|
|
49
|
+
## Guidelines
|
|
50
|
+
|
|
51
|
+
- Write for a developer who has never seen the project before.
|
|
52
|
+
- Include copy-pasteable commands (with proper shell syntax).
|
|
53
|
+
- Use real values from the project, not placeholder text.
|
|
54
|
+
- Keep it concise — a README is a quick-start guide, not full documentation.
|
|
55
|
+
- Match the tone and style of the existing project documentation.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rebase
|
|
3
|
+
description: "Help with git rebase operations, including squashing, reordering, and cleaning up commit history. Use when the user says /rebase, asks to rebase a branch, squash commits, clean up history, fixup commits, or reorganize their git log. Triggers: rebase, squash, fixup, clean up commits, reorder commits, interactive rebase."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Rebase Assistant
|
|
7
|
+
|
|
8
|
+
Guide and execute git rebase operations safely.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Assess the current state:
|
|
13
|
+
- `git status` — ensure working tree is clean (stash if needed).
|
|
14
|
+
- `git log --oneline -20` — show recent history.
|
|
15
|
+
- `git branch -vv` — identify tracking branch.
|
|
16
|
+
2. Determine the rebase target:
|
|
17
|
+
- If user says "squash last N commits" → use `HEAD~N`.
|
|
18
|
+
- If user says "rebase onto main" → use `main` (or `master`).
|
|
19
|
+
- If user says "clean up" → find the merge base with the default branch.
|
|
20
|
+
3. Plan the rebase:
|
|
21
|
+
- Show the user exactly which commits will be affected.
|
|
22
|
+
- Propose a plan (pick, squash, fixup, reword, drop).
|
|
23
|
+
- Get user confirmation before executing.
|
|
24
|
+
4. Execute:
|
|
25
|
+
- For squashing: use `git rebase` with the appropriate flags.
|
|
26
|
+
- For rebase onto branch: `git rebase <target>`.
|
|
27
|
+
- IMPORTANT: never use `-i` flag as it requires interactive input. Instead use `git rebase` with `--autosquash`, environment variables like `GIT_SEQUENCE_EDITOR`, or sequential cherry-pick operations.
|
|
28
|
+
5. Handle conflicts:
|
|
29
|
+
- Show conflicting files with `git diff --name-only --diff-filter=U`.
|
|
30
|
+
- Show each conflict with context.
|
|
31
|
+
- Suggest resolutions and apply with user approval.
|
|
32
|
+
- `git add <file>` then `git rebase --continue`.
|
|
33
|
+
6. Verify the result:
|
|
34
|
+
- `git log --oneline` to show the new history.
|
|
35
|
+
- `git diff <original-ref>..HEAD` to confirm no content was lost.
|
|
36
|
+
|
|
37
|
+
## Safety Rules
|
|
38
|
+
|
|
39
|
+
- Always create a backup ref: `git branch backup-<branch>-<date>` before rebasing.
|
|
40
|
+
- Never force-push without explicit user permission.
|
|
41
|
+
- Warn if rebasing commits that are already pushed to a shared branch.
|
|
42
|
+
- If rebase goes wrong, guide recovery with `git rebase --abort` or the backup branch.
|
|
43
|
+
|
|
44
|
+
## Common Patterns
|
|
45
|
+
|
|
46
|
+
**Squash last N into one:**
|
|
47
|
+
```bash
|
|
48
|
+
git reset --soft HEAD~N && git commit
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**Rebase onto updated main:**
|
|
52
|
+
```bash
|
|
53
|
+
git fetch origin && git rebase origin/main
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Fixup a specific commit:**
|
|
57
|
+
```bash
|
|
58
|
+
git commit --fixup=<sha> && GIT_SEQUENCE_EDITOR=: git rebase --autosquash <sha>~1
|
|
59
|
+
```
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: release
|
|
3
|
+
description: "Create release notes, prepare releases, and manage versioning. Use when the user says /release, asks to prepare a release, draft release notes, bump a version, create a git tag, or publish a GitHub release. Triggers: release, version bump, tag, release notes, ship it, cut a release."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Release Manager
|
|
7
|
+
|
|
8
|
+
Prepare releases with proper versioning, tags, and release notes.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Detect the current version:
|
|
13
|
+
- Check `package.json`, `pyproject.toml`, `Cargo.toml`, `version.txt`, or latest git tag.
|
|
14
|
+
- If no version found, ask the user.
|
|
15
|
+
2. Determine the bump type:
|
|
16
|
+
- Analyze commits since last release using conventional commits.
|
|
17
|
+
- `BREAKING CHANGE` or `!` → major
|
|
18
|
+
- `feat` → minor
|
|
19
|
+
- `fix`, `perf`, `refactor` → patch
|
|
20
|
+
- Allow user override.
|
|
21
|
+
3. Generate release notes:
|
|
22
|
+
- Group commits by category (same as changelog skill).
|
|
23
|
+
- Highlight breaking changes prominently at the top.
|
|
24
|
+
- Include contributor list via `git shortlog -sne <range>`.
|
|
25
|
+
4. Prepare the release:
|
|
26
|
+
- Update version in manifest files (package.json, pyproject.toml, etc.).
|
|
27
|
+
- Update CHANGELOG.md if it exists.
|
|
28
|
+
- Create a git tag with `git tag -a v<version> -m "Release v<version>"`.
|
|
29
|
+
5. Optionally create a GitHub release via `gh release create` if `gh` CLI is available.
|
|
30
|
+
|
|
31
|
+
## Version Format
|
|
32
|
+
|
|
33
|
+
Follow [Semantic Versioning](https://semver.org/): `MAJOR.MINOR.PATCH`
|
|
34
|
+
|
|
35
|
+
- Pre-release: `v1.2.3-beta.1`
|
|
36
|
+
- Build metadata: `v1.2.3+build.123`
|
|
37
|
+
|
|
38
|
+
## Release Notes Template
|
|
39
|
+
|
|
40
|
+
```markdown
|
|
41
|
+
## v<version> - YYYY-MM-DD
|
|
42
|
+
|
|
43
|
+
### Breaking Changes
|
|
44
|
+
- Description
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
- Description
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
- Description
|
|
51
|
+
|
|
52
|
+
### Other Changes
|
|
53
|
+
- Description
|
|
54
|
+
|
|
55
|
+
### Contributors
|
|
56
|
+
- @name (N commits)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Guidelines
|
|
60
|
+
|
|
61
|
+
- Always confirm the version bump with the user before making changes.
|
|
62
|
+
- Never push tags or create GitHub releases without explicit permission.
|
|
63
|
+
- If CI/CD config exists (`.github/workflows/`, `.gitlab-ci.yml`), mention relevant release pipelines.
|
|
64
|
+
- Support `--dry-run` style behavior: show what would change before changing it.
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: release-plan
|
|
3
|
+
description: "Create a release plan. Use when the user says /release-plan, asks to plan a release, create a rollout strategy, or document a deployment plan. Triggers: release-plan, release plan, rollout plan, deployment plan, launch plan, ship plan."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Release Plan
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Create a structured release plan that documents what is shipping, how to deploy it safely, and how to communicate changes to users. The plan serves as an operational checklist for the release process.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Preparing a software release for deployment
|
|
15
|
+
- Coordinating a launch across engineering, product, and marketing
|
|
16
|
+
- Documenting the rollout strategy for a significant feature or version
|
|
17
|
+
|
|
18
|
+
## Inputs
|
|
19
|
+
|
|
20
|
+
- **Release name/version**: Identifier for this release
|
|
21
|
+
- **Features and changes**: List of what is included
|
|
22
|
+
- **Target release date**: When this should ship (optional)
|
|
23
|
+
- **Audience**: Internal tool, B2B, B2C, open source, etc. (optional)
|
|
24
|
+
- **Risk level**: Low, medium, or high based on scope of changes (optional)
|
|
25
|
+
|
|
26
|
+
## Output Format
|
|
27
|
+
|
|
28
|
+
Produce a markdown document with the following sections:
|
|
29
|
+
|
|
30
|
+
### Header Block
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
# Release Plan: [Name / Version]
|
|
34
|
+
**Target date**: [Date]
|
|
35
|
+
**Release owner**: [Name or TBD]
|
|
36
|
+
**Risk level**: [Low / Medium / High]
|
|
37
|
+
**Status**: [Draft / In Review / Approved / Released]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### 1. Release Summary
|
|
41
|
+
2-3 sentences describing the release at a high level. What is the headline?
|
|
42
|
+
|
|
43
|
+
### 2. Features Included
|
|
44
|
+
Bulleted list of features and changes, grouped by category:
|
|
45
|
+
- **New features**: Entirely new capabilities
|
|
46
|
+
- **Improvements**: Enhancements to existing functionality
|
|
47
|
+
- **Bug fixes**: Issues resolved
|
|
48
|
+
- **Internal changes**: Refactors, dependency updates, tooling
|
|
49
|
+
|
|
50
|
+
### 3. Breaking Changes
|
|
51
|
+
List any changes that will break existing behavior, APIs, or integrations. For each:
|
|
52
|
+
- What changed
|
|
53
|
+
- Who is affected
|
|
54
|
+
- What they need to do
|
|
55
|
+
|
|
56
|
+
If there are no breaking changes, state that explicitly.
|
|
57
|
+
|
|
58
|
+
### 4. Migration Steps
|
|
59
|
+
Step-by-step instructions for users or operators to transition:
|
|
60
|
+
1. Pre-migration checklist (backups, notifications)
|
|
61
|
+
2. Migration procedure
|
|
62
|
+
3. Post-migration verification
|
|
63
|
+
|
|
64
|
+
### 5. Rollout Strategy
|
|
65
|
+
Define how the release will be deployed:
|
|
66
|
+
- **Rollout method**: Big bang, percentage rollout, feature flags, canary
|
|
67
|
+
- **Rollout phases**: Who gets it first and on what timeline
|
|
68
|
+
- **Success criteria**: What signals confirm the release is healthy
|
|
69
|
+
- **Monitoring**: What dashboards and alerts to watch
|
|
70
|
+
|
|
71
|
+
### 6. Rollback Plan
|
|
72
|
+
- Trigger conditions: What signals indicate a rollback is needed
|
|
73
|
+
- Rollback procedure: Step-by-step instructions
|
|
74
|
+
- Data considerations: Any data changes that complicate rollback
|
|
75
|
+
- Communication: Who to notify if a rollback occurs
|
|
76
|
+
|
|
77
|
+
### 7. Communication Plan
|
|
78
|
+
| Audience | Channel | Message | Timing |
|
|
79
|
+
|----------|---------|---------|--------|
|
|
80
|
+
| Internal team | Slack | Release notification | Day of |
|
|
81
|
+
| Users | Email / Changelog | What's new | Day of |
|
|
82
|
+
| Affected users | Direct outreach | Breaking change notice | 1 week before |
|
|
83
|
+
|
|
84
|
+
### 8. Pre-Release Checklist
|
|
85
|
+
- [ ] All features code-complete and merged
|
|
86
|
+
- [ ] QA sign-off obtained
|
|
87
|
+
- [ ] Staging environment validated
|
|
88
|
+
- [ ] Documentation updated
|
|
89
|
+
- [ ] Changelog written
|
|
90
|
+
- [ ] Rollback procedure tested
|
|
91
|
+
- [ ] Stakeholder approval received
|
|
92
|
+
- [ ] Monitoring and alerts configured
|
|
93
|
+
|
|
94
|
+
## Example
|
|
95
|
+
|
|
96
|
+
**Input**: "Plan the release for v2.4.0 which includes the new search feature, three bug fixes, and a database migration. Medium risk."
|
|
97
|
+
|
|
98
|
+
**Output**: A release plan documenting the search feature and bug fixes, noting the database migration as the primary risk factor, defining a phased rollout (internal first, then 10% of users, then full), rollback steps that account for the migration (reverse migration script prepared), communication plan targeting both internal teams and end users, and a pre-release checklist tailored to the database migration requirements.
|
|
99
|
+
|
|
100
|
+
## Guidelines
|
|
101
|
+
|
|
102
|
+
- Scale the plan to the risk level -- a low-risk patch needs less ceremony than a major version
|
|
103
|
+
- Always include a rollback plan, even for low-risk releases
|
|
104
|
+
- Be specific about migration steps -- vague instructions cause incidents
|
|
105
|
+
- Communication timing matters: notify about breaking changes well before the release
|
|
106
|
+
- The pre-release checklist should be treated as a gate, not a formality
|
|
107
|
+
- Include monitoring expectations so the team knows what "healthy" looks like post-release
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: requirements
|
|
3
|
+
description: "Gather and structure requirements from raw input. Use when the user says /requirements, asks to extract requirements, organize requirements from notes, or formalize feature requirements. Triggers: requirements, gather requirements, extract requirements, requirements doc, formalize requirements."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Requirements Gathering
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Extract, organize, and formalize requirements from unstructured conversations, notes, or rough ideas. Produce a clean requirements document that can feed into PRDs, engineering specs, or project plans.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Processing raw meeting notes or stakeholder interviews into structured requirements
|
|
15
|
+
- Consolidating scattered feedback into a single source of truth
|
|
16
|
+
- Validating completeness of requirements before starting design or engineering
|
|
17
|
+
|
|
18
|
+
## Inputs
|
|
19
|
+
|
|
20
|
+
- **Raw material**: Conversation transcript, meeting notes, brainstorm output, or rough feature description
|
|
21
|
+
- **Domain context**: What product or system this relates to (optional)
|
|
22
|
+
- **Existing requirements**: Any previously documented requirements to build on (optional)
|
|
23
|
+
|
|
24
|
+
## Output Format
|
|
25
|
+
|
|
26
|
+
Produce a markdown document with the following sections:
|
|
27
|
+
|
|
28
|
+
### 1. Summary
|
|
29
|
+
A 2-3 sentence overview of what the requirements cover and their scope.
|
|
30
|
+
|
|
31
|
+
### 2. Functional Requirements
|
|
32
|
+
Numbered list of what the system must do. Each requirement should:
|
|
33
|
+
- Start with "The system shall..." or "Users shall be able to..."
|
|
34
|
+
- Be specific enough to test
|
|
35
|
+
- Include a priority tag: `[P0]` `[P1]` `[P2]`
|
|
36
|
+
|
|
37
|
+
### 3. Non-Functional Requirements
|
|
38
|
+
Cover relevant quality attributes:
|
|
39
|
+
- **Performance**: Response times, throughput targets
|
|
40
|
+
- **Scalability**: Growth expectations
|
|
41
|
+
- **Reliability**: Uptime, recovery objectives
|
|
42
|
+
- **Security**: Access control, data protection
|
|
43
|
+
- **Usability**: Accessibility standards, device support
|
|
44
|
+
- **Compliance**: Regulatory or policy requirements
|
|
45
|
+
|
|
46
|
+
### 4. Constraints
|
|
47
|
+
List technical, business, or organizational constraints that limit solution options. Examples: must use existing database, must ship before Q3, budget cap of $X.
|
|
48
|
+
|
|
49
|
+
### 5. Assumptions
|
|
50
|
+
Explicitly state assumptions made while interpreting the raw input. Flag any that need stakeholder validation.
|
|
51
|
+
|
|
52
|
+
### 6. Dependencies
|
|
53
|
+
Identify external dependencies:
|
|
54
|
+
- Other teams or services
|
|
55
|
+
- Third-party APIs or tools
|
|
56
|
+
- Prerequisite work that must complete first
|
|
57
|
+
|
|
58
|
+
### 7. Acceptance Criteria
|
|
59
|
+
For each major functional requirement, define clear pass/fail criteria using the format:
|
|
60
|
+
- **Given** [context], **when** [action], **then** [expected result]
|
|
61
|
+
|
|
62
|
+
### 8. Gaps and Open Questions
|
|
63
|
+
List areas where the raw input was ambiguous, contradictory, or incomplete. Frame each as a question that needs an answer before requirements are final.
|
|
64
|
+
|
|
65
|
+
## Example
|
|
66
|
+
|
|
67
|
+
**Input**: A pasted Slack thread where a PM, designer, and engineer discuss adding team billing to a SaaS product.
|
|
68
|
+
|
|
69
|
+
**Output**: A structured requirements document extracting: functional requirements (team admin can add seats, billing rolls up to a single invoice, prorated charges for mid-cycle changes), non-functional requirements (PCI compliance, 99.9% uptime for billing operations), constraints (must integrate with Stripe, cannot change existing individual billing flow), assumptions (teams are capped at 500 seats based on PM's comment), dependencies (Stripe Connect API, identity service for role management), acceptance criteria for each requirement, and flagged gaps (no mention of how to handle downgrades or what happens to data when a team is deleted).
|
|
70
|
+
|
|
71
|
+
## Guidelines
|
|
72
|
+
|
|
73
|
+
- Preserve the intent of the original input even when restructuring
|
|
74
|
+
- Do not invent requirements -- if something is unclear, put it in Gaps
|
|
75
|
+
- Distinguish between what was explicitly stated and what was inferred
|
|
76
|
+
- Use consistent language and numbering for traceability
|
|
77
|
+
- When the input contains conflicting statements, flag the conflict rather than picking a side
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: seo-brief
|
|
3
|
+
description: "Generate an SEO content brief. Use when the user says /seo-brief, asks to create an SEO brief, plan content for search, or optimize content strategy. Triggers: seo-brief, seo brief, seo content, content brief, keyword targeting, search optimization, content strategy."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SEO Content Brief
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Create a comprehensive content brief that guides a writer to produce a piece of content optimized for search engines while delivering genuine value to readers. The brief ensures content is strategically targeted and well-structured before writing begins.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Planning a new blog post, article, or landing page targeting organic search
|
|
15
|
+
- Briefing a content writer or freelancer on what to produce
|
|
16
|
+
- Auditing existing content for SEO improvements
|
|
17
|
+
|
|
18
|
+
## Inputs
|
|
19
|
+
|
|
20
|
+
- **Target keyword or topic**: The primary search term to target
|
|
21
|
+
- **Content type**: Blog post, guide, landing page, comparison, etc. (optional)
|
|
22
|
+
- **Target audience**: Who this content is for (optional)
|
|
23
|
+
- **Business goal**: What action the reader should take (optional)
|
|
24
|
+
- **Competitors or references**: URLs of competing content to consider (optional)
|
|
25
|
+
|
|
26
|
+
## Output Format
|
|
27
|
+
|
|
28
|
+
Produce a markdown document with the following sections:
|
|
29
|
+
|
|
30
|
+
### 1. Target Keyword
|
|
31
|
+
- **Primary keyword**: The main keyword to optimize for
|
|
32
|
+
- **Secondary keywords**: 3-5 related terms to incorporate naturally
|
|
33
|
+
- **Long-tail variations**: 3-5 longer, more specific search queries
|
|
34
|
+
|
|
35
|
+
### 2. Search Intent
|
|
36
|
+
Identify the dominant search intent:
|
|
37
|
+
- **Intent type**: Informational, navigational, transactional, or commercial investigation
|
|
38
|
+
- **What the searcher wants**: One sentence describing the searcher's goal
|
|
39
|
+
- **Content format expectation**: What format searchers expect (how-to guide, list, comparison table, etc.)
|
|
40
|
+
|
|
41
|
+
### 3. Content Specifications
|
|
42
|
+
- **Recommended title**: A working title (include primary keyword, under 60 characters)
|
|
43
|
+
- **Meta description**: 150-160 characters summarizing the page for search results
|
|
44
|
+
- **Recommended word count**: Based on the topic's depth requirements
|
|
45
|
+
- **Tone**: Formal, conversational, technical, etc.
|
|
46
|
+
|
|
47
|
+
### 4. Content Outline
|
|
48
|
+
A detailed H2/H3 heading structure for the article:
|
|
49
|
+
```
|
|
50
|
+
## H2: Section Title
|
|
51
|
+
### H3: Subsection
|
|
52
|
+
### H3: Subsection
|
|
53
|
+
## H2: Section Title
|
|
54
|
+
```
|
|
55
|
+
Include brief notes under each heading about what to cover.
|
|
56
|
+
|
|
57
|
+
### 5. Key Points to Cover
|
|
58
|
+
Bulleted list of specific facts, arguments, or angles the content must address. These are non-negotiable elements that make the content comprehensive.
|
|
59
|
+
|
|
60
|
+
### 6. Internal Linking Suggestions
|
|
61
|
+
- Pages on the site to link from this content
|
|
62
|
+
- Pages on the site to link to from this content
|
|
63
|
+
- Suggested anchor text for each link
|
|
64
|
+
|
|
65
|
+
If site structure is unknown, provide guidance on types of pages to link (e.g., "link to your pricing page when mentioning plans").
|
|
66
|
+
|
|
67
|
+
### 7. Call to Action
|
|
68
|
+
- Primary CTA: What the reader should do after reading
|
|
69
|
+
- CTA placement: Where in the content to position it
|
|
70
|
+
- Supporting CTAs: Secondary actions (newsletter signup, related content)
|
|
71
|
+
|
|
72
|
+
### 8. Competitive Notes
|
|
73
|
+
Brief observations on what competing content does well and where this piece can differentiate. If no competitors were provided, suggest what to look for.
|
|
74
|
+
|
|
75
|
+
## Example
|
|
76
|
+
|
|
77
|
+
**Input**: "SEO brief for the keyword 'how to write a project proposal'"
|
|
78
|
+
|
|
79
|
+
**Output**: A brief targeting the primary keyword with secondary keywords (project proposal template, proposal writing tips, project proposal example), informational intent analysis, a recommended title ("How to Write a Project Proposal: A Step-by-Step Guide"), a content outline covering (what a project proposal is, when you need one, step-by-step writing process, common mistakes, template/example), key points (include real examples, address both internal and client-facing proposals, cover budget and timeline sections), internal linking suggestions (link to project management tools, templates page), and CTA (download a project proposal template).
|
|
80
|
+
|
|
81
|
+
## Guidelines
|
|
82
|
+
|
|
83
|
+
- Prioritize search intent over keyword density -- the content must answer what the searcher is looking for
|
|
84
|
+
- Keep the outline actionable: a writer should be able to produce the content from this brief alone
|
|
85
|
+
- Include secondary keywords naturally in the outline -- do not force them
|
|
86
|
+
- The meta description should compel clicks, not just contain keywords
|
|
87
|
+
- Base word count recommendations on topic complexity, not arbitrary targets
|
|
88
|
+
- Focus on creating content that is genuinely more useful than existing results
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: standup
|
|
3
|
+
description: "Generate a standup report from recent git activity. Use when the user says /standup, asks for a standup update, daily summary, what they worked on yesterday, or a status report based on recent commits. Triggers: standup, daily update, what did I do, status report, yesterday's work, daily summary."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Standup Report Generator
|
|
7
|
+
|
|
8
|
+
Generate a concise standup report from recent git activity.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Identify the user:
|
|
13
|
+
- `git config user.name` and `git config user.email`.
|
|
14
|
+
2. Determine the time range:
|
|
15
|
+
- Default: since last business day (skip weekends).
|
|
16
|
+
- Monday → since Friday.
|
|
17
|
+
- Other days → since yesterday.
|
|
18
|
+
- Allow user override (e.g., "last 3 days", "this week").
|
|
19
|
+
3. Gather activity:
|
|
20
|
+
- Commits: `git log --author="<email>" --since="<date>" --pretty=format:"%h %s (%ar)" --all`
|
|
21
|
+
- Branches touched: `git branch --sort=-committerdate --format="%(refname:short) %(committerdate:relative)" | head -10`
|
|
22
|
+
- If multiple repos, offer to scan them.
|
|
23
|
+
4. Summarize into standup format.
|
|
24
|
+
|
|
25
|
+
## Output Format
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
## Standup — YYYY-MM-DD
|
|
29
|
+
|
|
30
|
+
### Yesterday
|
|
31
|
+
- Worked on <feature/area>: <concise summary of commits>
|
|
32
|
+
- Fixed <bug>: <summary>
|
|
33
|
+
|
|
34
|
+
### Today
|
|
35
|
+
- Plan to continue <work in progress>
|
|
36
|
+
- [Suggested based on open branches and recent context]
|
|
37
|
+
|
|
38
|
+
### Blockers
|
|
39
|
+
- [Any merge conflicts, failing CI, or stale PRs detected]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Guidelines
|
|
43
|
+
|
|
44
|
+
- Group related commits into logical work items rather than listing each commit.
|
|
45
|
+
- Use natural language, not commit hashes.
|
|
46
|
+
- Keep it concise — a real standup is 30 seconds.
|
|
47
|
+
- If `gh` CLI is available, include open PRs authored by the user.
|
|
48
|
+
- Detect and mention any unfinished work (branches with no PR, uncommitted stashes).
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: storecontext
|
|
3
|
+
description: "Store a context summary of the current session to ContextDB. Use when the user says /storecontext, asks to save context, log the session, store a summary, checkpoint the conversation, or persist what was discussed. Triggers: storecontext, store context, save context, log session, checkpoint, save progress, session summary."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Store Context
|
|
7
|
+
|
|
8
|
+
Capture a summary of the current conversation session and persist it as a Markdown file in `ContextDB/context/` for future reference by humans and LLM tools.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. **Determine the summary window:**
|
|
13
|
+
- Check `ContextDB/context/` for the most recent existing summary file.
|
|
14
|
+
- If a previous summary exists, this new summary should cover everything **since that summary was written** (avoid duplicating what was already captured).
|
|
15
|
+
- If no previous summary exists, summarize the **entire session from the beginning**.
|
|
16
|
+
|
|
17
|
+
2. **Gather what happened in the window:**
|
|
18
|
+
- What did the user ask for?
|
|
19
|
+
- What decisions were made?
|
|
20
|
+
- What was built, changed, or configured?
|
|
21
|
+
- What files were created, modified, or deleted?
|
|
22
|
+
- What problems were encountered and how were they resolved?
|
|
23
|
+
- Any open questions, next steps, or TODOs that remain?
|
|
24
|
+
|
|
25
|
+
3. **Create the summary file:**
|
|
26
|
+
- **Directory:** `ContextDB/context/`
|
|
27
|
+
- **Filename:** `YYYY-MM-DD-HHMMSS-summary.md` using the current timestamp.
|
|
28
|
+
- Example: `2026-02-07-143022-summary.md`
|
|
29
|
+
- Include time (HHMMSS) so multiple summaries on the same day don't collide.
|
|
30
|
+
- Get the current timestamp via `date "+%Y-%m-%d-%H%M%S"` in bash.
|
|
31
|
+
|
|
32
|
+
4. **Write the file using this structure:**
|
|
33
|
+
|
|
34
|
+
```markdown
|
|
35
|
+
# Session Summary — YYYY-MM-DD HH:MM
|
|
36
|
+
|
|
37
|
+
## Overview
|
|
38
|
+
<1-3 sentence high-level summary of what this session accomplished.>
|
|
39
|
+
|
|
40
|
+
## What Was Done
|
|
41
|
+
- <Concise bullet for each meaningful action, grouped logically.>
|
|
42
|
+
- <Include file paths for anything created or modified.>
|
|
43
|
+
|
|
44
|
+
## Decisions Made
|
|
45
|
+
- <Any technical or design decisions, with brief rationale.>
|
|
46
|
+
|
|
47
|
+
## Key Files
|
|
48
|
+
| File | Action | Description |
|
|
49
|
+
|------|--------|-------------|
|
|
50
|
+
| `path/to/file` | created / modified / deleted | Brief note |
|
|
51
|
+
|
|
52
|
+
## Open Items
|
|
53
|
+
- <Anything unfinished, deferred, or flagged for follow-up.>
|
|
54
|
+
- <Known issues or blockers.>
|
|
55
|
+
|
|
56
|
+
## Context for Next Session
|
|
57
|
+
<Paragraph aimed at a future Claude or human picking up where this left off. What should they know? What's the current state of things? What was the user's intent or direction?>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
5. **Confirm to the user:**
|
|
61
|
+
- Show the filename and path.
|
|
62
|
+
- Give a one-line summary of what was captured.
|
|
63
|
+
|
|
64
|
+
## Guidelines
|
|
65
|
+
|
|
66
|
+
- Write for a future reader (human or LLM) who has **zero context** about this session.
|
|
67
|
+
- Be specific: include file paths, command names, config values — not vague descriptions.
|
|
68
|
+
- Keep it concise but complete. Aim for a summary that can be scanned in under 60 seconds.
|
|
69
|
+
- Use the project's actual file paths relative to the repo root.
|
|
70
|
+
- Do NOT include sensitive data (API keys, secrets, passwords) in the summary.
|
|
71
|
+
- Do NOT duplicate content already captured in a previous summary — reference it instead (e.g., "Continued from `2026-02-07-100000-summary.md`").
|
|
72
|
+
- Respect ContextDB conventions: plain Markdown, no proprietary formats, append-friendly.
|
|
73
|
+
|
|
74
|
+
## For LLM Tools Reading Context
|
|
75
|
+
|
|
76
|
+
When starting a new session or needing project context, read the files in `ContextDB/context/` in chronological order. The most recent summary represents the latest known state. Combine with `CLAUDE.md` and `ContextLoom.md` for full project understanding.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: summary
|
|
3
|
+
description: "Generate a summary or recap of content. Use when the user says /summary, asks to summarize a document, recap a session, create an executive summary, or distill information. Triggers: summary, recap, summarize, executive summary, tldr, distill, key takeaways."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Summary / Recap
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Produce a concise, well-structured summary of a document, conversation, work session, or any body of content. Capture what matters without burying the reader in details.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Summarizing a long document or thread for stakeholders
|
|
15
|
+
- Recapping a work session or sprint
|
|
16
|
+
- Creating an executive summary from detailed material
|
|
17
|
+
- Distilling a conversation into its essential outcomes
|
|
18
|
+
|
|
19
|
+
## Inputs
|
|
20
|
+
|
|
21
|
+
- **Source material**: The document, transcript, conversation, or notes to summarize
|
|
22
|
+
- **Audience**: Who will read this summary (e.g., executives, engineers, full team) (optional)
|
|
23
|
+
- **Focus area**: Any specific aspect to emphasize (optional)
|
|
24
|
+
- **Length preference**: Brief (1 paragraph), standard (half page), or detailed (full page) (optional, defaults to standard)
|
|
25
|
+
|
|
26
|
+
## Output Format
|
|
27
|
+
|
|
28
|
+
Produce a markdown document with the following sections:
|
|
29
|
+
|
|
30
|
+
### 1. TL;DR
|
|
31
|
+
2-3 sentences capturing the absolute essence. A reader who only reads this should understand the core message.
|
|
32
|
+
|
|
33
|
+
### 2. Key Points
|
|
34
|
+
Bulleted list of the 3-7 most important facts, findings, or themes. Each point should be one concise sentence. Order by importance, not chronology.
|
|
35
|
+
|
|
36
|
+
### 3. Decisions Made
|
|
37
|
+
List any decisions that were reached, along with brief rationale. If no decisions were made, note that explicitly. Format:
|
|
38
|
+
- **Decision**: What was decided
|
|
39
|
+
- **Rationale**: Why (one sentence)
|
|
40
|
+
|
|
41
|
+
### 4. Action Items
|
|
42
|
+
List concrete next steps with owners (if known) and deadlines (if stated):
|
|
43
|
+
- [ ] Action item description -- **Owner** (by Date)
|
|
44
|
+
|
|
45
|
+
If no action items exist, state "No action items identified."
|
|
46
|
+
|
|
47
|
+
### 5. Open Questions
|
|
48
|
+
List unresolved questions or topics that need further discussion. These are loose threads the reader should be aware of.
|
|
49
|
+
|
|
50
|
+
### 6. Context and Detail
|
|
51
|
+
Optional section for readers who want more depth. Include relevant background, nuances, or supporting details that did not fit in the sections above. Keep this section to 1-3 short paragraphs.
|
|
52
|
+
|
|
53
|
+
## Example
|
|
54
|
+
|
|
55
|
+
**Input**: A 45-minute product team meeting transcript discussing the Q2 roadmap.
|
|
56
|
+
|
|
57
|
+
**Output**:
|
|
58
|
+
- TL;DR: The team aligned on three Q2 priorities (search improvements, onboarding redesign, API v2) and deferred the mobile app to Q3 due to resource constraints.
|
|
59
|
+
- Key Points: search is the top revenue driver, onboarding drop-off is at 40%, API v2 has two enterprise customers waiting, mobile deferred but design work can start
|
|
60
|
+
- Decisions: Committed to search as the #1 priority; chose incremental API migration over big-bang rewrite
|
|
61
|
+
- Action Items: PM to draft search PRD by Friday, engineering lead to scope API v2 migration, design to start mobile exploration
|
|
62
|
+
- Open Questions: Hiring timeline for the second frontend engineer, whether to build or buy the search indexing layer
|
|
63
|
+
|
|
64
|
+
## Guidelines
|
|
65
|
+
|
|
66
|
+
- Lead with the most important information -- do not bury the headline
|
|
67
|
+
- Be faithful to the source material; do not add opinions or inferences
|
|
68
|
+
- Use the audience context to calibrate the level of technical detail
|
|
69
|
+
- Keep bullet points to one sentence each; elaborate only in the Context section
|
|
70
|
+
- If the source material is contradictory, note the contradiction rather than resolving it
|
|
71
|
+
- Attribute action items to specific people when that information is available
|
|
72
|
+
- Distinguish between decisions (settled) and open questions (unsettled)
|