claudekit-cli 1.0.0 → 1.0.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/CHANGELOG.md +7 -0
- package/README.md +41 -1
- package/biome.json +3 -0
- package/package.json +1 -1
- package/.claude/agents/brainstormer.md +0 -96
- package/.claude/agents/code-reviewer.md +0 -141
- package/.claude/agents/copywriter.md +0 -108
- package/.claude/agents/database-admin.md +0 -86
- package/.claude/agents/debugger.md +0 -124
- package/.claude/agents/docs-manager.md +0 -115
- package/.claude/agents/git-manager.md +0 -60
- package/.claude/agents/journal-writer.md +0 -111
- package/.claude/agents/planner.md +0 -87
- package/.claude/agents/project-manager.md +0 -113
- package/.claude/agents/researcher.md +0 -173
- package/.claude/agents/scout.md +0 -123
- package/.claude/agents/tester.md +0 -95
- package/.claude/agents/ui-ux-designer.md +0 -206
- package/.claude/commands/bootstrap.md +0 -104
- package/.claude/commands/brainstorm.md +0 -67
- package/.claude/commands/content/enhance.md +0 -13
- package/.claude/commands/content/fast.md +0 -11
- package/.claude/commands/content/good.md +0 -13
- package/.claude/commands/cook.md +0 -19
- package/.claude/commands/debug.md +0 -10
- package/.claude/commands/design/3d.md +0 -65
- package/.claude/commands/design/describe.md +0 -13
- package/.claude/commands/design/fast.md +0 -19
- package/.claude/commands/design/good.md +0 -23
- package/.claude/commands/design/screenshot.md +0 -23
- package/.claude/commands/design/video.md +0 -23
- package/.claude/commands/docs/init.md +0 -13
- package/.claude/commands/docs/summarize.md +0 -10
- package/.claude/commands/docs/update.md +0 -21
- package/.claude/commands/fix/ci.md +0 -11
- package/.claude/commands/fix/fast.md +0 -12
- package/.claude/commands/fix/hard.md +0 -18
- package/.claude/commands/fix/logs.md +0 -16
- package/.claude/commands/fix/test.md +0 -18
- package/.claude/commands/fix/types.md +0 -10
- package/.claude/commands/git/cm.md +0 -5
- package/.claude/commands/git/cp.md +0 -4
- package/.claude/commands/integrate/polar.md +0 -42
- package/.claude/commands/plan/ci.md +0 -12
- package/.claude/commands/plan/two.md +0 -13
- package/.claude/commands/plan.md +0 -10
- package/.claude/commands/scout.md +0 -29
- package/.claude/commands/test.md +0 -7
- package/.claude/commands/watzup.md +0 -8
- package/.claude/hooks/telegram_notify.sh +0 -136
- package/.claude/send-discord.sh +0 -64
- package/.claude/settings.json +0 -7
- package/.claude/statusline.sh +0 -143
- package/.claude/workflows/development-rules.md +0 -80
- package/.claude/workflows/documentation-management.md +0 -28
- package/.claude/workflows/orchestration-protocol.md +0 -16
- package/.claude/workflows/primary-workflow.md +0 -41
- package/.opencode/command/docs/init.md +0 -11
- package/.opencode/command/docs/summarize.md +0 -10
- package/.opencode/command/docs/update.md +0 -18
- package/docs/code-standards.md +0 -1128
- package/docs/codebase-summary.md +0 -821
- package/docs/github-setup.md +0 -176
- package/docs/project-pdr.md +0 -739
- package/docs/system-architecture.md +0 -950
- package/docs/tech-stack.md +0 -290
package/docs/github-setup.md
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
# GitHub Setup Guide
|
|
2
|
-
|
|
3
|
-
This document outlines the GitHub repository configuration required for the CI/CD pipeline.
|
|
4
|
-
|
|
5
|
-
## GitHub Actions Workflows
|
|
6
|
-
|
|
7
|
-
The project includes two GitHub Actions workflows:
|
|
8
|
-
|
|
9
|
-
### 1. CI Workflow (`.github/workflows/ci.yml`)
|
|
10
|
-
|
|
11
|
-
Runs on every pull request and push to `main`/`master` branches:
|
|
12
|
-
|
|
13
|
-
- Type checking
|
|
14
|
-
- Linting
|
|
15
|
-
- Tests
|
|
16
|
-
- Build verification
|
|
17
|
-
|
|
18
|
-
### 2. Release Workflow (`.github/workflows/release.yml`)
|
|
19
|
-
|
|
20
|
-
Runs on every push to the `main` branch:
|
|
21
|
-
|
|
22
|
-
- Full CI checks (type checking, linting, tests, build)
|
|
23
|
-
- Semantic release (version bump, changelog generation, npm publishing)
|
|
24
|
-
- Creates GitHub releases with auto-generated release notes
|
|
25
|
-
|
|
26
|
-
## Required GitHub Secrets
|
|
27
|
-
|
|
28
|
-
The following secrets must be configured in your GitHub repository:
|
|
29
|
-
|
|
30
|
-
1. **`NPM_TOKEN`** (Already configured)
|
|
31
|
-
- NPM authentication token for publishing packages
|
|
32
|
-
- Get from: https://www.npmjs.com/settings/YOUR_USERNAME/tokens
|
|
33
|
-
- Required permission: Automation (for CI/CD)
|
|
34
|
-
|
|
35
|
-
2. **`GITHUB_TOKEN`** (Automatically provided)
|
|
36
|
-
- Automatically provided by GitHub Actions
|
|
37
|
-
- Used for creating releases and updating repository
|
|
38
|
-
|
|
39
|
-
## Branch Protection Rules
|
|
40
|
-
|
|
41
|
-
To ensure code quality and prevent accidental direct pushes to main, configure the following branch protection rules for the `main` branch:
|
|
42
|
-
|
|
43
|
-
### Steps to Configure:
|
|
44
|
-
|
|
45
|
-
1. Go to **Settings** → **Branches** in your GitHub repository
|
|
46
|
-
2. Click **Add rule** under "Branch protection rules"
|
|
47
|
-
3. Enter `main` as the branch name pattern
|
|
48
|
-
4. Enable the following options:
|
|
49
|
-
|
|
50
|
-
#### Required Settings:
|
|
51
|
-
|
|
52
|
-
- ✅ **Require a pull request before merging**
|
|
53
|
-
- Require approvals: 1 (or more, based on team size)
|
|
54
|
-
- ✅ Dismiss stale pull request approvals when new commits are pushed
|
|
55
|
-
|
|
56
|
-
- ✅ **Require status checks to pass before merging**
|
|
57
|
-
- ✅ Require branches to be up to date before merging
|
|
58
|
-
- Required status checks:
|
|
59
|
-
- `test` (from CI workflow)
|
|
60
|
-
|
|
61
|
-
- ✅ **Require conversation resolution before merging**
|
|
62
|
-
|
|
63
|
-
- ✅ **Do not allow bypassing the above settings**
|
|
64
|
-
|
|
65
|
-
#### Optional but Recommended:
|
|
66
|
-
|
|
67
|
-
- ✅ **Require linear history** (keeps git history clean)
|
|
68
|
-
- ✅ **Restrict who can push to matching branches** (for larger teams)
|
|
69
|
-
|
|
70
|
-
### What This Achieves:
|
|
71
|
-
|
|
72
|
-
1. **PR Required**: Direct pushes to `main` are blocked
|
|
73
|
-
2. **Tests Must Pass**: PRs can only be merged after all CI checks pass
|
|
74
|
-
3. **Code Review**: At least one approval required before merging
|
|
75
|
-
4. **Clean History**: Linear git history for easier tracking
|
|
76
|
-
5. **Automatic Releases**: Merged PRs to `main` trigger semantic-release
|
|
77
|
-
|
|
78
|
-
## Semantic Release
|
|
79
|
-
|
|
80
|
-
The project uses [semantic-release](https://github.com/semantic-release/semantic-release) for automated versioning and package publishing.
|
|
81
|
-
|
|
82
|
-
### Commit Message Convention
|
|
83
|
-
|
|
84
|
-
Use [Conventional Commits](https://www.conventionalcommits.org/) format:
|
|
85
|
-
|
|
86
|
-
```
|
|
87
|
-
<type>[optional scope]: <description>
|
|
88
|
-
|
|
89
|
-
[optional body]
|
|
90
|
-
|
|
91
|
-
[optional footer(s)]
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
#### Commit Types:
|
|
95
|
-
|
|
96
|
-
- `feat:` - New feature (triggers minor version bump)
|
|
97
|
-
- `fix:` - Bug fix (triggers patch version bump)
|
|
98
|
-
- `docs:` - Documentation changes only
|
|
99
|
-
- `style:` - Code style changes (formatting, missing semicolons, etc.)
|
|
100
|
-
- `refactor:` - Code refactoring without feature changes
|
|
101
|
-
- `perf:` - Performance improvements
|
|
102
|
-
- `test:` - Adding or updating tests
|
|
103
|
-
- `chore:` - Maintenance tasks (dependencies, build config, etc.)
|
|
104
|
-
- `ci:` - CI/CD changes
|
|
105
|
-
|
|
106
|
-
#### Breaking Changes:
|
|
107
|
-
|
|
108
|
-
For breaking changes, add `BREAKING CHANGE:` in the commit body or use `!` after the type:
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
-
feat!: remove deprecated API endpoint
|
|
112
|
-
|
|
113
|
-
BREAKING CHANGE: The /api/v1/old endpoint has been removed. Use /api/v2/new instead.
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
This triggers a **major version bump**.
|
|
117
|
-
|
|
118
|
-
### Examples:
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
# Patch release (0.1.0 -> 0.1.1)
|
|
122
|
-
fix: resolve authentication token expiration issue
|
|
123
|
-
|
|
124
|
-
# Minor release (0.1.0 -> 0.2.0)
|
|
125
|
-
feat: add support for custom templates
|
|
126
|
-
|
|
127
|
-
# Major release (0.1.0 -> 1.0.0)
|
|
128
|
-
feat!: redesign CLI commands structure
|
|
129
|
-
|
|
130
|
-
BREAKING CHANGE: Command syntax has changed. Use 'ck create' instead of 'ck init'.
|
|
131
|
-
|
|
132
|
-
# No release
|
|
133
|
-
docs: update installation instructions
|
|
134
|
-
chore: upgrade dependencies
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
## Automated Changelog
|
|
138
|
-
|
|
139
|
-
The changelog is automatically generated based on commit messages and updated in `CHANGELOG.md` with each release.
|
|
140
|
-
|
|
141
|
-
## Workflow Summary
|
|
142
|
-
|
|
143
|
-
1. Developer creates a feature branch
|
|
144
|
-
2. Developer makes changes using conventional commits
|
|
145
|
-
3. Developer opens a PR to `main`
|
|
146
|
-
4. CI workflow runs automatically
|
|
147
|
-
5. Code review and approval required
|
|
148
|
-
6. PR is merged to `main`
|
|
149
|
-
7. Release workflow runs automatically:
|
|
150
|
-
- Analyzes commits since last release
|
|
151
|
-
- Determines version bump
|
|
152
|
-
- Generates changelog
|
|
153
|
-
- Creates GitHub release
|
|
154
|
-
- Publishes to npm
|
|
155
|
-
- Commits version and changelog updates
|
|
156
|
-
|
|
157
|
-
## Troubleshooting
|
|
158
|
-
|
|
159
|
-
### Release Not Triggering
|
|
160
|
-
|
|
161
|
-
- Ensure commits follow conventional commit format
|
|
162
|
-
- Check that `NPM_TOKEN` secret is configured
|
|
163
|
-
- Verify workflow permissions are correct
|
|
164
|
-
- Check GitHub Actions logs for errors
|
|
165
|
-
|
|
166
|
-
### NPM Publish Fails
|
|
167
|
-
|
|
168
|
-
- Verify `NPM_TOKEN` is valid and not expired
|
|
169
|
-
- Ensure package name is available or you own it
|
|
170
|
-
- Check npm registry permissions
|
|
171
|
-
|
|
172
|
-
### Tests Failing
|
|
173
|
-
|
|
174
|
-
- Run tests locally: `bun test`
|
|
175
|
-
- Check test output in GitHub Actions logs
|
|
176
|
-
- Ensure all dependencies are installed correctly
|