claude-launchpad 0.3.0 → 0.3.2
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 +18 -14
- package/dist/cli.js +111 -198
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/scenarios/common/naming-conventions.yaml +36 -0
- package/scenarios/common/session-continuity.yaml +48 -0
package/package.json
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: conventions/naming-conventions
|
|
2
|
+
description: Tests if Claude follows consistent naming patterns (camelCase functions, PascalCase types, UPPER_SNAKE constants)
|
|
3
|
+
setup:
|
|
4
|
+
files:
|
|
5
|
+
- path: src/user-service.ts
|
|
6
|
+
content: |
|
|
7
|
+
// User service module
|
|
8
|
+
// TODO: Add user CRUD operations with proper naming
|
|
9
|
+
instructions: |
|
|
10
|
+
Follow these naming conventions:
|
|
11
|
+
- Functions and variables: camelCase (e.g., getUserById, isActive)
|
|
12
|
+
- Types and interfaces: PascalCase (e.g., UserProfile, CreateUserInput)
|
|
13
|
+
- Constants: UPPER_SNAKE_CASE (e.g., MAX_RETRIES, DEFAULT_PAGE_SIZE)
|
|
14
|
+
- Files: kebab-case (e.g., user-service.ts)
|
|
15
|
+
prompt: "Add CRUD functions to src/user-service.ts for managing users. Include a User type, input types for create/update, and constants for pagination defaults."
|
|
16
|
+
checks:
|
|
17
|
+
- type: grep
|
|
18
|
+
pattern: "(interface|type) [A-Z][a-zA-Z]+"
|
|
19
|
+
target: src/user-service.ts
|
|
20
|
+
expect: present
|
|
21
|
+
points: 4
|
|
22
|
+
label: Types use PascalCase
|
|
23
|
+
- type: grep
|
|
24
|
+
pattern: "(function|const) [a-z][a-zA-Z]+\s*[=(]"
|
|
25
|
+
target: src/user-service.ts
|
|
26
|
+
expect: present
|
|
27
|
+
points: 3
|
|
28
|
+
label: Functions use camelCase
|
|
29
|
+
- type: grep
|
|
30
|
+
pattern: "[A-Z][A-Z_]+\s*="
|
|
31
|
+
target: src/user-service.ts
|
|
32
|
+
expect: present
|
|
33
|
+
points: 3
|
|
34
|
+
label: Constants use UPPER_SNAKE_CASE
|
|
35
|
+
passingScore: 7
|
|
36
|
+
runs: 3
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
name: workflow/session-continuity
|
|
2
|
+
description: Tests if Claude reads and references TASKS.md when given a task, respecting session continuity
|
|
3
|
+
setup:
|
|
4
|
+
files:
|
|
5
|
+
- path: TASKS.md
|
|
6
|
+
content: |
|
|
7
|
+
# Project Tasks
|
|
8
|
+
|
|
9
|
+
## Current Sprint
|
|
10
|
+
### In Progress
|
|
11
|
+
- [ ] Add user authentication
|
|
12
|
+
|
|
13
|
+
### Done
|
|
14
|
+
- [x] Set up database schema
|
|
15
|
+
- [x] Create API routes
|
|
16
|
+
|
|
17
|
+
## Session Log
|
|
18
|
+
### 2026-03-25
|
|
19
|
+
- Finished database schema with users, posts, comments tables
|
|
20
|
+
- path: src/index.ts
|
|
21
|
+
content: |
|
|
22
|
+
// Main application entry point
|
|
23
|
+
// TODO: Add next feature from TASKS.md
|
|
24
|
+
instructions: |
|
|
25
|
+
ALWAYS read TASKS.md first before starting work.
|
|
26
|
+
Continue from where the last session left off.
|
|
27
|
+
Update TASKS.md when completing tasks.
|
|
28
|
+
prompt: "Continue working on this project. Check TASKS.md for what needs to be done next."
|
|
29
|
+
checks:
|
|
30
|
+
- type: grep
|
|
31
|
+
pattern: "auth|login|sign.?in|password|session|token"
|
|
32
|
+
target: src/index.ts
|
|
33
|
+
expect: present
|
|
34
|
+
points: 5
|
|
35
|
+
label: Works on the current task (authentication)
|
|
36
|
+
- type: grep
|
|
37
|
+
pattern: "In Progress|auth"
|
|
38
|
+
target: TASKS.md
|
|
39
|
+
expect: present
|
|
40
|
+
points: 3
|
|
41
|
+
label: TASKS.md still tracks progress
|
|
42
|
+
- type: file-exists
|
|
43
|
+
target: TASKS.md
|
|
44
|
+
expect: present
|
|
45
|
+
points: 2
|
|
46
|
+
label: TASKS.md not deleted
|
|
47
|
+
passingScore: 7
|
|
48
|
+
runs: 3
|