@smicolon/ai-kit 0.3.2 → 0.4.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/README.md +73 -40
- package/dist/index.js +312 -127
- package/package.json +5 -5
- package/.claude-plugin/marketplace.json +0 -369
- package/packs/architect/CHANGELOG.md +0 -17
- package/packs/architect/README.md +0 -58
- package/packs/architect/agents/system-architect.md +0 -768
- package/packs/architect/commands/diagram-create.md +0 -300
- package/packs/better-auth/.mcp.json +0 -14
- package/packs/better-auth/CHANGELOG.md +0 -26
- package/packs/better-auth/README.md +0 -125
- package/packs/better-auth/agents/auth-architect.md +0 -278
- package/packs/better-auth/commands/auth-provider-add.md +0 -265
- package/packs/better-auth/commands/auth-setup.md +0 -298
- package/packs/better-auth/skills/auth-security/SKILL.md +0 -425
- package/packs/better-auth/skills/better-auth-patterns/SKILL.md +0 -455
- package/packs/dev-loop/CHANGELOG.md +0 -69
- package/packs/dev-loop/README.md +0 -155
- package/packs/dev-loop/commands/cancel-dev.md +0 -21
- package/packs/dev-loop/commands/dev-loop.md +0 -72
- package/packs/dev-loop/commands/dev-plan.md +0 -351
- package/packs/dev-loop/hooks/hooks.json +0 -15
- package/packs/dev-loop/hooks/stop-hook.sh +0 -178
- package/packs/dev-loop/scripts/setup-dev-loop.sh +0 -194
- package/packs/dev-loop/skills/tdd-planner/SKILL.md +0 -249
- package/packs/dev-loop/skills/tdd-planner/references/framework-patterns.md +0 -874
- package/packs/dev-loop/skills/tdd-planner/references/good-example.md +0 -260
- package/packs/dev-loop/skills/tdd-planner/references/plan-template.md +0 -275
- package/packs/django/CHANGELOG.md +0 -39
- package/packs/django/README.md +0 -92
- package/packs/django/agents/django-architect.md +0 -182
- package/packs/django/agents/django-builder.md +0 -250
- package/packs/django/agents/django-feature-based.md +0 -420
- package/packs/django/agents/django-reviewer.md +0 -253
- package/packs/django/agents/django-tester.md +0 -230
- package/packs/django/commands/api-endpoint.md +0 -285
- package/packs/django/commands/model-create.md +0 -178
- package/packs/django/commands/test-generate.md +0 -325
- package/packs/django/rules/migrations.md +0 -138
- package/packs/django/rules/models.md +0 -167
- package/packs/django/rules/serializers.md +0 -126
- package/packs/django/rules/services.md +0 -131
- package/packs/django/rules/tests.md +0 -140
- package/packs/django/rules/views.md +0 -102
- package/packs/django/skills/import-convention-enforcer/SKILL.md +0 -226
- package/packs/django/skills/import-convention-enforcer/patterns/django-imports.md +0 -343
- package/packs/django/skills/migration-safety-checker/SKILL.md +0 -375
- package/packs/django/skills/model-entity-validator/SKILL.md +0 -298
- package/packs/django/skills/performance-optimizer/SKILL.md +0 -447
- package/packs/django/skills/red-phase-verifier/SKILL.md +0 -180
- package/packs/django/skills/security-first-validator/SKILL.md +0 -435
- package/packs/django/skills/test-coverage-advisor/SKILL.md +0 -394
- package/packs/django/skills/test-validity-checker/SKILL.md +0 -194
- package/packs/failure-log/CHANGELOG.md +0 -20
- package/packs/failure-log/README.md +0 -168
- package/packs/failure-log/commands/failure-add.md +0 -106
- package/packs/failure-log/commands/failure-list.md +0 -89
- package/packs/failure-log/hooks/hooks.json +0 -16
- package/packs/failure-log/hooks/scripts/inject-failures.sh +0 -64
- package/packs/failure-log/skills/failure-log-manager/SKILL.md +0 -164
- package/packs/flutter/CHANGELOG.md +0 -19
- package/packs/flutter/README.md +0 -170
- package/packs/flutter/agents/flutter-architect.md +0 -166
- package/packs/flutter/agents/flutter-builder.md +0 -303
- package/packs/flutter/agents/release-manager.md +0 -355
- package/packs/flutter/commands/fastlane-setup.md +0 -188
- package/packs/flutter/commands/flutter-build.md +0 -90
- package/packs/flutter/commands/flutter-deploy.md +0 -133
- package/packs/flutter/commands/flutter-test.md +0 -117
- package/packs/flutter/commands/signing-setup.md +0 -209
- package/packs/flutter/hooks/hooks.json +0 -17
- package/packs/flutter/skills/fastlane-knowledge/SKILL.md +0 -193
- package/packs/flutter/skills/flutter-architecture/SKILL.md +0 -127
- package/packs/flutter/skills/store-publishing/SKILL.md +0 -163
- package/packs/hono/CHANGELOG.md +0 -19
- package/packs/hono/README.md +0 -143
- package/packs/hono/agents/hono-architect.md +0 -240
- package/packs/hono/agents/hono-builder.md +0 -285
- package/packs/hono/agents/hono-reviewer.md +0 -279
- package/packs/hono/agents/hono-tester.md +0 -346
- package/packs/hono/commands/middleware-create.md +0 -223
- package/packs/hono/commands/project-init.md +0 -306
- package/packs/hono/commands/route-create.md +0 -153
- package/packs/hono/commands/rpc-client.md +0 -263
- package/packs/hono/skills/cloudflare-bindings/SKILL.md +0 -408
- package/packs/hono/skills/hono-patterns/SKILL.md +0 -309
- package/packs/hono/skills/rpc-typesafe/SKILL.md +0 -388
- package/packs/hono/skills/zod-validation/SKILL.md +0 -332
- package/packs/nestjs/CHANGELOG.md +0 -29
- package/packs/nestjs/README.md +0 -75
- package/packs/nestjs/agents/nestjs-architect.md +0 -402
- package/packs/nestjs/agents/nestjs-builder.md +0 -301
- package/packs/nestjs/agents/nestjs-tester.md +0 -437
- package/packs/nestjs/commands/module-create.md +0 -369
- package/packs/nestjs/rules/controllers.md +0 -92
- package/packs/nestjs/rules/dto.md +0 -124
- package/packs/nestjs/rules/entities.md +0 -102
- package/packs/nestjs/rules/services.md +0 -106
- package/packs/nestjs/skills/barrel-export-manager/SKILL.md +0 -389
- package/packs/nestjs/skills/import-convention-enforcer/SKILL.md +0 -365
- package/packs/nextjs/CHANGELOG.md +0 -36
- package/packs/nextjs/README.md +0 -76
- package/packs/nextjs/agents/frontend-tester.md +0 -680
- package/packs/nextjs/agents/frontend-visual.md +0 -820
- package/packs/nextjs/agents/nextjs-architect.md +0 -331
- package/packs/nextjs/agents/nextjs-modular.md +0 -433
- package/packs/nextjs/commands/component-create.md +0 -398
- package/packs/nextjs/rules/api-routes.md +0 -129
- package/packs/nextjs/rules/components.md +0 -106
- package/packs/nextjs/rules/hooks.md +0 -132
- package/packs/nextjs/skills/accessibility-validator/SKILL.md +0 -445
- package/packs/nextjs/skills/import-convention-enforcer/SKILL.md +0 -399
- package/packs/nextjs/skills/react-form-validator/SKILL.md +0 -569
- package/packs/nuxtjs/CHANGELOG.md +0 -30
- package/packs/nuxtjs/README.md +0 -56
- package/packs/nuxtjs/agents/frontend-tester.md +0 -680
- package/packs/nuxtjs/agents/frontend-visual.md +0 -820
- package/packs/nuxtjs/agents/nuxtjs-architect.md +0 -537
- package/packs/nuxtjs/commands/component-create.md +0 -223
- package/packs/nuxtjs/rules/components.md +0 -101
- package/packs/nuxtjs/rules/composables.md +0 -118
- package/packs/nuxtjs/rules/server-routes.md +0 -127
- package/packs/nuxtjs/skills/accessibility-validator/SKILL.md +0 -183
- package/packs/nuxtjs/skills/import-convention-enforcer/SKILL.md +0 -196
- package/packs/nuxtjs/skills/veevalidate-form-validator/SKILL.md +0 -190
- package/packs/onboard/CHANGELOG.md +0 -22
- package/packs/onboard/README.md +0 -103
- package/packs/onboard/agents/onboard-guide.md +0 -118
- package/packs/onboard/commands/onboard.md +0 -313
- package/packs/onboard/skills/onboard-context-provider/SKILL.md +0 -98
- package/packs/tanstack-router/CHANGELOG.md +0 -30
- package/packs/tanstack-router/README.md +0 -113
- package/packs/tanstack-router/agents/tanstack-architect.md +0 -173
- package/packs/tanstack-router/agents/tanstack-builder.md +0 -360
- package/packs/tanstack-router/agents/tanstack-tester.md +0 -454
- package/packs/tanstack-router/commands/form-create.md +0 -313
- package/packs/tanstack-router/commands/query-create.md +0 -263
- package/packs/tanstack-router/commands/route-create.md +0 -190
- package/packs/tanstack-router/commands/table-create.md +0 -413
- package/packs/tanstack-router/skills/ai-patterns/SKILL.md +0 -370
- package/packs/tanstack-router/skills/db-patterns/SKILL.md +0 -346
- package/packs/tanstack-router/skills/devtools-patterns/SKILL.md +0 -415
- package/packs/tanstack-router/skills/form-patterns/SKILL.md +0 -425
- package/packs/tanstack-router/skills/pacer-patterns/SKILL.md +0 -341
- package/packs/tanstack-router/skills/query-patterns/SKILL.md +0 -359
- package/packs/tanstack-router/skills/router-patterns/SKILL.md +0 -285
- package/packs/tanstack-router/skills/store-patterns/SKILL.md +0 -351
- package/packs/tanstack-router/skills/table-patterns/SKILL.md +0 -531
- package/packs/tanstack-router/skills/tanstack-conventions/SKILL.md +0 -428
- package/packs/tanstack-router/skills/virtual-patterns/SKILL.md +0 -490
- package/packs/worktree/CHANGELOG.md +0 -45
- package/packs/worktree/README.md +0 -219
- package/packs/worktree/commands/wt.md +0 -93
- package/packs/worktree/scripts/wt.sh +0 -957
- package/packs/worktree/skills/worktree-manager/SKILL.md +0 -113
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: worktree-manager
|
|
3
|
-
description: This skill should be used when the user mentions "worktree", "wt", "new branch workspace", "parallel development", "feature branch setup", "work on multiple branches", "separate workspace for branch", "docker port conflict", "database isolation", "worktreeinclude", "env isolation", or wants to manage git worktrees for parallel feature development.
|
|
4
|
-
version: 2.0.0
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Git Worktree Manager Skill
|
|
8
|
-
|
|
9
|
-
Manages git worktrees for parallel development with automatic environment isolation.
|
|
10
|
-
|
|
11
|
-
## Activation Triggers
|
|
12
|
-
|
|
13
|
-
This skill activates when the user:
|
|
14
|
-
- Asks about "worktree" or "git worktree"
|
|
15
|
-
- Mentions "wt" in context of git/branches
|
|
16
|
-
- Wants to "work on multiple branches simultaneously"
|
|
17
|
-
- Needs a "separate workspace for a feature"
|
|
18
|
-
- Asks about "parallel development" setup
|
|
19
|
-
- Wants to "set up a new branch workspace"
|
|
20
|
-
- Has "docker port conflicts" between branches
|
|
21
|
-
- Needs "database isolation" for parallel work
|
|
22
|
-
- Asks about ".worktreeinclude" or "env isolation"
|
|
23
|
-
|
|
24
|
-
## Commands Reference
|
|
25
|
-
|
|
26
|
-
| Command | Alias | Description |
|
|
27
|
-
|---------|-------|-------------|
|
|
28
|
-
| `/wt create <branch>` | `/wt c` | Create worktree with full isolation |
|
|
29
|
-
| `/wt list` | `/wt ls` | Show all worktrees |
|
|
30
|
-
| `/wt remove <branch>` | `/wt rm` | Remove worktree (stops Docker first) |
|
|
31
|
-
| `/wt open <branch> [--editor]` | `/wt o` | Open (--cursor\|-c, --agy\|-a, --code\|-v) |
|
|
32
|
-
|
|
33
|
-
## Naming Convention
|
|
34
|
-
|
|
35
|
-
Worktrees are created as siblings with `--` separator:
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
~/[PARENT_DIRECTORY]/[REPO_NAME]/ # main repo
|
|
39
|
-
~/[PARENT_DIRECTORY]/[REPO_NAME]--[BRANCH_NAME]/ # worktree for [BRANCH_NAME]
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Three-Layer Isolation
|
|
43
|
-
|
|
44
|
-
### Layer 1: `.worktreeinclude` — File Selection
|
|
45
|
-
|
|
46
|
-
Gitignore-style file at repo root controlling which untracked files to copy. Auto-generated with sensible defaults on first `wt create`.
|
|
47
|
-
|
|
48
|
-
```ini
|
|
49
|
-
.env*
|
|
50
|
-
# apps/*/.env*
|
|
51
|
-
|
|
52
|
-
[rewrite]
|
|
53
|
-
auto
|
|
54
|
-
|
|
55
|
-
[docker]
|
|
56
|
-
auto
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### Layer 2: `[rewrite]` — Env Var Isolation
|
|
60
|
-
|
|
61
|
-
- **`auto`**: Suffixes DB_NAME, POSTGRES_DB, DATABASE_URL, COMPOSE_PROJECT_NAME with branch slug
|
|
62
|
-
- **`{{BRANCH}}`**: Template placeholder for custom vars
|
|
63
|
-
|
|
64
|
-
### Layer 3: `[docker]` — Docker Compose Override
|
|
65
|
-
|
|
66
|
-
- Generates `docker-compose.worktree.yml` with port offsets
|
|
67
|
-
- Sets `COMPOSE_FILE` and `COMPOSE_PROJECT_NAME` in `.env`
|
|
68
|
-
- Auto-creates databases in running Postgres
|
|
69
|
-
|
|
70
|
-
## Auto-Setup Features
|
|
71
|
-
|
|
72
|
-
When creating a worktree, the following happens automatically:
|
|
73
|
-
|
|
74
|
-
1. **Branch handling**: Creates new branch or checks out existing (local/remote)
|
|
75
|
-
2. **File copying**: Copies files matching `.worktreeinclude` patterns
|
|
76
|
-
3. **Env rewriting**: Suffixes database names and URLs with branch slug
|
|
77
|
-
4. **Docker isolation**: Generates port-offset override, sets compose config
|
|
78
|
-
5. **Database creation**: Creates database in running Postgres (idempotent)
|
|
79
|
-
6. **Package manager**: Detects bun/pnpm/yarn/npm from lockfiles
|
|
80
|
-
7. **Dependencies**: Runs install at root (monorepo-aware)
|
|
81
|
-
|
|
82
|
-
## Behavioral Expectations
|
|
83
|
-
|
|
84
|
-
When user asks about worktrees or parallel development:
|
|
85
|
-
|
|
86
|
-
1. Suggest using `/wt create <branch>` for new worktrees
|
|
87
|
-
2. Explain the three-layer isolation if they have Docker/database conflicts
|
|
88
|
-
3. Mention `.worktreeinclude` for customizing which files are copied
|
|
89
|
-
4. Show the `cd` command output for easy navigation
|
|
90
|
-
5. Explain that `wt remove` stops Docker containers but preserves databases
|
|
91
|
-
|
|
92
|
-
## Example Interactions
|
|
93
|
-
|
|
94
|
-
**User**: "I need to work on the auth feature while keeping my current work"
|
|
95
|
-
|
|
96
|
-
**Response**: Use `/wt create feature/auth` to create a parallel workspace. This will:
|
|
97
|
-
- Create `project--feature-auth/` as sibling directory
|
|
98
|
-
- Copy your `.env` files and rewrite DB names with `_feature_auth` suffix
|
|
99
|
-
- Generate Docker port offsets so both worktrees can run simultaneously
|
|
100
|
-
- Install dependencies
|
|
101
|
-
|
|
102
|
-
**User**: "My worktrees are conflicting on port 5432"
|
|
103
|
-
|
|
104
|
-
**Response**: The `.worktreeinclude` file's `[docker]` section handles this. With `auto` enabled, `wt create` generates a `docker-compose.worktree.yml` override that offsets all ports. Each worktree gets a deterministic offset based on the branch name. Run `docker compose config` to verify the merged ports.
|
|
105
|
-
|
|
106
|
-
**User**: "How do I customize which files are copied to worktrees?"
|
|
107
|
-
|
|
108
|
-
**Response**: Edit `.worktreeinclude` in your repo root. It uses gitignore-style patterns:
|
|
109
|
-
```
|
|
110
|
-
.env*
|
|
111
|
-
config/local.yml
|
|
112
|
-
apps/*/.env*
|
|
113
|
-
```
|