@codihaus/claude-skills 1.6.20 → 1.6.22

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.
@@ -1,173 +0,0 @@
1
- # File Patterns for Codebase Discovery
2
-
3
- Patterns for lightweight scanning of existing codebases.
4
-
5
- ## Frontend File Patterns
6
-
7
- ### Include
8
-
9
- ```
10
- # Vue.js
11
- **/*.vue
12
-
13
- # React / Next.js
14
- **/*.tsx
15
- **/*.jsx
16
- **/pages/**/*.ts
17
- **/pages/**/*.tsx
18
- **/app/**/page.tsx
19
- **/app/**/layout.tsx
20
-
21
- # Svelte
22
- **/*.svelte
23
-
24
- # Angular
25
- **/*.component.ts
26
-
27
- # General
28
- **/views/**/*
29
- **/screens/**/*
30
- ```
31
-
32
- ### Exclude
33
-
34
- ```
35
- # Dependencies
36
- node_modules/**
37
- vendor/**
38
- bower_components/**
39
-
40
- # Build output
41
- dist/**
42
- build/**
43
- .next/**
44
- .nuxt/**
45
- .output/**
46
- out/**
47
-
48
- # Bundled files
49
- *.min.js
50
- *.bundle.js
51
- *.chunk.js
52
-
53
- # Tests
54
- __tests__/**
55
- **/*.test.*
56
- **/*.spec.*
57
- **/test/**
58
- **/tests/**
59
-
60
- # Config & misc
61
- .git/**
62
- coverage/**
63
- .cache/**
64
- ```
65
-
66
- ## Documentation Patterns
67
-
68
- Look for existing docs:
69
-
70
- ```
71
- # Root docs
72
- README.md
73
- CLAUDE.md
74
- CONTRIBUTING.md
75
-
76
- # Doc folders
77
- docs/**/*.md
78
- documentation/**/*.md
79
- plans/**/*.md
80
- specifications/**/*.md
81
- specs/**/*.md
82
- .github/**/*.md
83
- ```
84
-
85
- ## Feature Inference
86
-
87
- Map file/folder names to features:
88
-
89
- | Pattern | Feature |
90
- |---------|---------|
91
- | `auth/`, `login.*`, `signin.*`, `signup.*` | Authentication |
92
- | `user/`, `users/`, `profile.*`, `account.*` | User Management |
93
- | `dashboard.*`, `dashboard/` | Dashboard |
94
- | `payment/`, `payments/`, `checkout.*`, `billing.*` | Payments |
95
- | `subscription/`, `subscriptions/`, `plans.*` | Subscriptions |
96
- | `settings.*`, `settings/`, `preferences.*` | Settings |
97
- | `admin/`, `admin.*` | Admin Panel |
98
- | `notification/`, `notifications/`, `alerts/` | Notifications |
99
- | `search.*`, `search/` | Search |
100
- | `cart.*`, `cart/`, `basket.*` | Shopping Cart |
101
- | `order/`, `orders/` | Orders |
102
- | `product/`, `products/`, `catalog/` | Products |
103
- | `message/`, `messages/`, `chat/`, `inbox/` | Messaging |
104
- | `report/`, `reports/`, `analytics/` | Reporting |
105
- | `upload/`, `files/`, `media/` | File Management |
106
- | `team/`, `teams/`, `organization/` | Team Management |
107
- | `onboarding/`, `wizard/`, `setup/` | Onboarding |
108
- | `help/`, `support/`, `faq/` | Help/Support |
109
-
110
- ## Tech Stack Detection
111
-
112
- ### Package Managers
113
-
114
- ```
115
- # Check for these files
116
- package.json → Node.js / JavaScript
117
- requirements.txt → Python
118
- Gemfile → Ruby
119
- go.mod → Go
120
- Cargo.toml → Rust
121
- composer.json → PHP
122
- ```
123
-
124
- ### Framework Detection (from package.json)
125
-
126
- | Dependency | Framework |
127
- |------------|-----------|
128
- | `next` | Next.js |
129
- | `nuxt` | Nuxt.js |
130
- | `vue` | Vue.js |
131
- | `react` | React |
132
- | `@angular/core` | Angular |
133
- | `svelte` | Svelte |
134
- | `express` | Express.js |
135
- | `fastify` | Fastify |
136
- | `nestjs` | NestJS |
137
-
138
- ## Folder Structure Hints
139
-
140
- ```
141
- # Next.js App Router
142
- app/
143
- ├── page.tsx → Home page
144
- ├── layout.tsx → Root layout
145
- ├── (auth)/ → Auth group
146
- │ ├── login/
147
- │ └── register/
148
- └── dashboard/ → Dashboard
149
-
150
- # Nuxt.js
151
- pages/
152
- ├── index.vue → Home
153
- ├── login.vue → Login
154
- └── dashboard/
155
- └── index.vue → Dashboard
156
-
157
- # Standard React
158
- src/
159
- ├── pages/ → Routes
160
- ├── components/ → UI components
161
- ├── hooks/ → Custom hooks
162
- ├── services/ → API calls
163
- └── utils/ → Helpers
164
- ```
165
-
166
- ## Scan Strategy
167
-
168
- 1. **Find package.json** → Detect framework
169
- 2. **Glob for frontend files** → List all pages/components
170
- 3. **Group by folder** → pages/, components/, views/
171
- 4. **Match patterns** → Infer features
172
- 5. **Check for docs** → Read README, CLAUDE.md
173
- 6. **Summarize** → Create feature table
@@ -1,72 +0,0 @@
1
- # Use Case Group Codes
2
-
3
- Standard codes for grouping use cases. Use these for consistency across BRDs.
4
-
5
- ## Standard Codes
6
-
7
- | Code | Domain | Examples |
8
- |------|--------|----------|
9
- | **AUTH** | Authentication | Login, logout, password reset, SSO |
10
- | **USER** | User Management | Registration, profile, settings |
11
- | **PAY** | Payments | Checkout, refunds, payment methods |
12
- | **SUB** | Subscriptions | Plans, upgrades, cancellation |
13
- | **BILL** | Billing | Invoices, receipts, statements |
14
- | **NOTIF** | Notifications | Email, push, in-app alerts |
15
- | **ADMIN** | Administration | Dashboard, settings, config |
16
- | **RPT** | Reporting | Analytics, exports, dashboards |
17
- | **INTG** | Integrations | API, webhooks, third-party |
18
- | **SRCH** | Search | Search, filters, browse |
19
- | **INV** | Inventory | Stock, catalog, products |
20
- | **ORD** | Orders | Cart, checkout, order history |
21
- | **SHIP** | Shipping | Delivery, tracking, returns |
22
- | **MSG** | Messaging | Chat, comments, threads |
23
- | **FILE** | Files | Upload, storage, sharing |
24
- | **TEAM** | Teams | Organizations, roles, permissions |
25
- | **ONBD** | Onboarding | Setup, tutorials, first-run |
26
- | **SUPP** | Support | Help, tickets, FAQ |
27
-
28
- ## Choosing Codes
29
-
30
- 1. **Use existing code** if it fits
31
- 2. **Create new code** if domain is distinct
32
- 3. **Keep codes 3-5 characters**
33
- 4. **Make it obvious** - anyone should guess the domain
34
-
35
- ## Custom Codes
36
-
37
- For project-specific domains, define in BRD README:
38
-
39
- ```markdown
40
- ## Custom Group Codes
41
-
42
- | Code | Domain | Description |
43
- |------|--------|-------------|
44
- | PROP | Properties | Real estate listings |
45
- | BOOK | Bookings | Reservation system |
46
- ```
47
-
48
- ## Grouping Strategy
49
-
50
- **Group by user intent**, not by feature:
51
-
52
- Good:
53
- - `UC-PAY-001-checkout.md` - User paying
54
- - `UC-PAY-002-refund-request.md` - User requesting money back
55
-
56
- Avoid:
57
- - `UC-STRIPE-001-...` - Implementation detail, not user intent
58
- - `UC-BUTTON-001-...` - UI element, not user goal
59
-
60
- ## Cross-Group Dependencies
61
-
62
- Note dependencies in use case files:
63
-
64
- ```markdown
65
- > **Related**: [UC-AUTH-001](./UC-AUTH-001-login.md), [UC-PAY-001](./UC-PAY-001-checkout.md)
66
- ```
67
-
68
- Common patterns:
69
- - AUTH → all authenticated features
70
- - USER → TEAM (user creates team)
71
- - PAY → SUB (payment enables subscription)
72
- - ORD → SHIP (order triggers shipping)
@@ -1,106 +0,0 @@
1
- # Research Query Templates
2
-
3
- Use these to gather **references for engineers**, not to prescribe solutions.
4
-
5
- ## Goal
6
-
7
- Populate `references.md` with:
8
- - Official documentation links
9
- - Industry examples
10
- - Implementation case studies
11
- - Compliance/standards resources
12
-
13
- ## Query Templates
14
-
15
- ### Documentation
16
- ```
17
- "{feature} official documentation"
18
- "{service} API documentation"
19
- "{feature} developer guide"
20
- "{service} SDK documentation"
21
- ```
22
-
23
- ### Industry Examples
24
- ```
25
- "how {company} implements {feature}"
26
- "{feature} case study"
27
- "{industry} {feature} examples"
28
- "best {feature} implementations"
29
- ```
30
-
31
- ### User Flows
32
- ```
33
- "{feature} user flow examples"
34
- "{feature} UX patterns"
35
- "{feature} wireframe examples"
36
- ```
37
-
38
- ### Compliance & Standards
39
- ```
40
- "{feature} {regulation} compliance"
41
- "{feature} security requirements"
42
- "{industry} {feature} standards"
43
- "GDPR {feature} requirements"
44
- "PCI DSS {feature}"
45
- ```
46
-
47
- ### Open Source / Tutorials
48
- ```
49
- "{feature} open source implementation"
50
- "{feature} tutorial github"
51
- "building {feature} from scratch"
52
- ```
53
-
54
- ## By Domain
55
-
56
- ### SaaS / B2B
57
- ```
58
- "enterprise {feature} requirements"
59
- "B2B SaaS {feature} examples"
60
- "{feature} multi-tenant considerations"
61
- ```
62
-
63
- ### E-commerce
64
- ```
65
- "{feature} e-commerce best practices"
66
- "shopify {feature} documentation"
67
- "stripe {feature} guide"
68
- ```
69
-
70
- ### Marketplace
71
- ```
72
- "two-sided marketplace {feature}"
73
- "platform {feature} patterns"
74
- ```
75
-
76
- ## Search Strategy
77
-
78
- 1. **Start broad**: "{feature} documentation"
79
- 2. **Get specific**: "{service} {feature} API"
80
- 3. **Find examples**: "how {leader} does {feature}"
81
- 4. **Check compliance**: "{feature} {regulation}"
82
- 5. **Gather tutorials**: "{feature} implementation guide"
83
-
84
- ## What to Capture
85
-
86
- For each useful result, note:
87
- - **Title**: Page/article title
88
- - **URL**: Direct link
89
- - **Why relevant**: 1-line note for engineers
90
- - **Applies to**: Which use cases benefit
91
-
92
- ## Example Output
93
-
94
- ```markdown
95
- ## Documentation
96
- | Topic | Link | Notes |
97
- |-------|------|-------|
98
- | Stripe Billing | [Stripe Subscriptions](https://stripe.com/docs/billing) | Core billing API |
99
- | Usage metering | [Stripe Usage Records](https://stripe.com/docs/billing/subscriptions/usage-based) | For usage-based billing |
100
-
101
- ## Industry Examples
102
- | Company | Link | What to Learn |
103
- |---------|------|---------------|
104
- | Notion | [How Notion Prices](https://www.notion.so/pricing) | Freemium + team pricing |
105
- | Slack | [Slack Billing](https://slack.com/pricing) | Per-seat model |
106
- ```
@@ -1,141 +0,0 @@
1
- # Use Case Template
2
-
3
- Standard template for use case files.
4
-
5
- ## File Naming
6
-
7
- Format: `UC-{GROUP}-{NNN}-{slug}.md`
8
-
9
- Examples:
10
- - `UC-PAY-001-checkout.md`
11
- - `UC-AUTH-002-password-reset.md`
12
-
13
- ## Template
14
-
15
- ```markdown
16
- # UC-{GROUP}-{NNN}: {Title}
17
-
18
- > **Feature**: [[feature-{name}]]
19
- > **Related**: [[uc-xxx-nnn]], [[uc-xxx-nnn]]
20
- > **Priority**: Must | Should | Could
21
- > **Status**: Draft | Confirmed | Updated
22
-
23
- ## User Story
24
-
25
- As a {role},
26
- I want {goal},
27
- so that {benefit}.
28
-
29
- ## Acceptance Criteria
30
-
31
- - [ ] Given {precondition}, when {action}, then {expected result}
32
- - [ ] Given {precondition}, when {action}, then {expected result}
33
- - [ ] Given {precondition}, when {action}, then {expected result}
34
-
35
- ## Business Rules
36
-
37
- - {Rule 1: condition → outcome}
38
- - {Rule 2: condition → outcome}
39
-
40
- ## Edge Cases
41
-
42
- | Scenario | Expected Behavior |
43
- |----------|-------------------|
44
- | {Edge case 1} | {How to handle} |
45
- | {Edge case 2} | {How to handle} |
46
-
47
- ## Open Questions
48
-
49
- - [ ] {Question requiring stakeholder input}
50
- - [ ] {Question for engineering to answer}
51
-
52
- ## References
53
-
54
- - [{Relevant doc}]({url})
55
- - [{Related example}]({url})
56
- ```
57
-
58
- ## Priority Levels
59
-
60
- | Priority | Meaning | Scope Tier |
61
- |----------|---------|------------|
62
- | **Must** | Core functionality, cannot launch without | Core |
63
- | **Should** | Expected by users, standard feature | Standard |
64
- | **Could** | Nice to have, differentiator | Full |
65
-
66
- ## Status Values
67
-
68
- | Status | Meaning |
69
- |--------|---------|
70
- | **Draft** | Initial version, needs review |
71
- | **Confirmed** | Stakeholder approved |
72
- | **Updated** | Changed after initial confirmation |
73
-
74
- ## Writing Tips
75
-
76
- ### User Stories
77
- - Keep role specific: "As a **paying customer**" not "As a user"
78
- - Goal should be concrete: "change my subscription plan"
79
- - Benefit explains the "why"
80
-
81
- ### Acceptance Criteria
82
- - Use Given/When/Then format
83
- - Each criterion is independently testable
84
- - Cover happy path + key error paths
85
-
86
- ### Business Rules
87
- - Rules that constrain behavior
88
- - Not implementation details
89
- - "Users cannot downgrade during trial period"
90
-
91
- ### Open Questions
92
- - Mark with `[ ]` so they can be checked off
93
- - Tag who needs to answer: "(Stakeholder)" or "(Engineering)"
94
-
95
- ## Example
96
-
97
- ```markdown
98
- # UC-PAY-001: Checkout
99
-
100
- > **Feature**: [[feature-billing]]
101
- > **Related**: [[uc-pay-002]], [[uc-cart-001]]
102
- > **Priority**: Must
103
- > **Status**: Draft
104
-
105
- ## User Story
106
-
107
- As a customer with items in cart,
108
- I want to complete my purchase,
109
- so that I receive my order.
110
-
111
- ## Acceptance Criteria
112
-
113
- - [ ] Given valid cart, when I click checkout, then I see payment form
114
- - [ ] Given payment details, when I submit, then payment is processed
115
- - [ ] Given successful payment, when complete, then I see confirmation
116
- - [ ] Given failed payment, when error occurs, then I see clear error message
117
-
118
- ## Business Rules
119
-
120
- - Minimum order value: $10
121
- - Maximum items per order: 50
122
- - Payment must complete within 30 minutes of cart creation
123
-
124
- ## Edge Cases
125
-
126
- | Scenario | Expected Behavior |
127
- |----------|-------------------|
128
- | Cart expires during checkout | Show message, redirect to cart |
129
- | Item goes out of stock | Remove item, notify user |
130
- | Network error during payment | Retry option, no duplicate charge |
131
-
132
- ## Open Questions
133
-
134
- - [ ] (Stakeholder) Do we support guest checkout?
135
- - [ ] (Engineering) Which payment processor to use?
136
-
137
- ## References
138
-
139
- - [Stripe Checkout](https://stripe.com/docs/checkout)
140
- - [Baymard Checkout UX](https://baymard.com/checkout-usability)
141
- ```