@orderful/droid 0.4.1 → 0.5.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.
Files changed (41) hide show
  1. package/.claude/CLAUDE.md +6 -7
  2. package/.github/workflows/changeset-check.yml +11 -1
  3. package/.github/workflows/ci.yml +5 -0
  4. package/.github/workflows/release.yml +7 -0
  5. package/CHANGELOG.md +36 -0
  6. package/dist/commands/tui.d.ts.map +1 -1
  7. package/dist/commands/tui.js +98 -19
  8. package/dist/commands/tui.js.map +1 -1
  9. package/dist/lib/skills.d.ts +38 -0
  10. package/dist/lib/skills.d.ts.map +1 -1
  11. package/dist/lib/skills.js +130 -4
  12. package/dist/lib/skills.js.map +1 -1
  13. package/dist/skills/comments/SKILL.md +28 -5
  14. package/dist/skills/comments/SKILL.yaml +6 -2
  15. package/dist/skills/comments/commands/comments.md +15 -34
  16. package/dist/skills/project/SKILL.md +93 -0
  17. package/dist/skills/project/SKILL.yaml +35 -0
  18. package/dist/skills/project/commands/README.md +26 -0
  19. package/dist/skills/project/commands/project.md +39 -0
  20. package/dist/skills/project/references/changelog.md +70 -0
  21. package/dist/skills/project/references/creating.md +58 -0
  22. package/dist/skills/project/references/loading.md +40 -0
  23. package/dist/skills/project/references/templates.md +124 -0
  24. package/dist/skills/project/references/updating.md +64 -0
  25. package/dist/skills/project/references/versioning.md +36 -0
  26. package/package.json +1 -1
  27. package/src/commands/tui.tsx +120 -21
  28. package/src/lib/skills.ts +160 -4
  29. package/src/skills/comments/SKILL.md +28 -5
  30. package/src/skills/comments/SKILL.yaml +6 -2
  31. package/src/skills/comments/commands/comments.md +15 -34
  32. package/src/skills/project/SKILL.md +93 -0
  33. package/src/skills/project/SKILL.yaml +35 -0
  34. package/src/skills/project/commands/README.md +26 -0
  35. package/src/skills/project/commands/project.md +39 -0
  36. package/src/skills/project/references/changelog.md +70 -0
  37. package/src/skills/project/references/creating.md +58 -0
  38. package/src/skills/project/references/loading.md +40 -0
  39. package/src/skills/project/references/templates.md +124 -0
  40. package/src/skills/project/references/updating.md +64 -0
  41. package/src/skills/project/references/versioning.md +36 -0
@@ -0,0 +1,124 @@
1
+ # Project Templates
2
+
3
+ Templates vary by `preset` setting.
4
+
5
+ ## Markdown Preset (default)
6
+
7
+ ### PROJECT.md
8
+
9
+ ```markdown
10
+ ---
11
+ status: active
12
+ ---
13
+
14
+ # Project: {Name}
15
+
16
+ {Brief description}
17
+
18
+ | | |
19
+ |---|---|
20
+ | **Version** | 0.1.0 |
21
+ | **Started** | {today} |
22
+ | **Status** | Active |
23
+
24
+ ## Overview
25
+
26
+ {**What** this project does, **why** it exists}
27
+
28
+ ## Goals
29
+
30
+ - {Goal 1}
31
+
32
+ ## Technical Details
33
+
34
+ {Architecture, key files, patterns}
35
+
36
+ ## Changelog
37
+
38
+ See [CHANGELOG.md](CHANGELOG.md) for full history.
39
+
40
+ ### 0.1.0 - {today}
41
+ - Initial project setup
42
+ ```
43
+
44
+ ### CHANGELOG.md
45
+
46
+ ```markdown
47
+ # Changelog
48
+
49
+ All notable changes to the {Name} project.
50
+
51
+ ## 0.1.0 - {today}
52
+ - Initial project setup
53
+ ```
54
+
55
+ ---
56
+
57
+ ## Obsidian Preset
58
+
59
+ ### PROJECT.md
60
+
61
+ ```markdown
62
+ ---
63
+ type: project
64
+ status: active
65
+ created: {today}
66
+ updated: {today}
67
+ ---
68
+
69
+ # Project: {Name}
70
+
71
+ {Brief description}
72
+
73
+ | | |
74
+ |---|---|
75
+ | **Version** | 0.1.0 |
76
+ | **Started** | {today} |
77
+ | **Status** | Active |
78
+
79
+ ## Overview
80
+
81
+ {**What** this project does, **why** it exists}
82
+
83
+ ## Goals
84
+
85
+ - {Goal 1}
86
+
87
+ ## Technical Details
88
+
89
+ {Architecture, key files, patterns}
90
+
91
+ ## Related
92
+
93
+ - {Links to related notes}
94
+
95
+ ## Changelog
96
+
97
+ See [[CHANGELOG|full history]].
98
+
99
+ ### 0.1.0 - {today}
100
+ - Initial project setup
101
+ ```
102
+
103
+ ### CHANGELOG.md
104
+
105
+ Same as markdown preset.
106
+
107
+ ---
108
+
109
+ ## Template Variables
110
+
111
+ | Variable | Expands To |
112
+ |----------|------------|
113
+ | `{today}` | YYYY-MM-DD |
114
+ | `{Name}` | Project name (Title Case) |
115
+ | `{name}` | Project name (lowercase) |
116
+ | `{kebab-name}` | Folder name (kebab-case) |
117
+
118
+ ## Preset Differences Summary
119
+
120
+ | Feature | Markdown | Obsidian |
121
+ |---------|----------|----------|
122
+ | Links | `[text](path)` | `[[path\|text]]` |
123
+ | YAML properties | Minimal (`status`) | Rich (`type`, `created`, `updated`) |
124
+ | Related section | Optional | Included |
@@ -0,0 +1,64 @@
1
+ # Updating a Project
2
+
3
+ **Trigger:** `/project update` or user asks to capture/save learnings
4
+
5
+ ## Procedure
6
+
7
+ 1. **Identify the project:**
8
+ - If name provided: Find matching project (same logic as loading)
9
+ - If no name: Check conversation for prior project load
10
+ - If still unclear: List projects and ask which to update
11
+
12
+ 2. **Analyze the conversation for:**
13
+ - New implementation details or patterns
14
+ - Key decisions and rationale
15
+ - Technical constraints discovered
16
+ - Progress on features
17
+ - Important file paths or code locations
18
+ - Bug fixes or gotchas encountered
19
+
20
+ 3. **If significant new information found:**
21
+ - Propose specific sections/content to add or update
22
+ - Show what will be changed
23
+ - Ask for confirmation before proceeding
24
+
25
+ 4. **If no obvious updates:**
26
+ - Ask what the user would like to update
27
+ - Suggest sections: metadata, implementation details, technical decisions, notes
28
+
29
+ 5. **After approval:**
30
+ - Read current project file
31
+ - Make approved updates, preserving existing structure
32
+ - Determine version bump (see `versioning.md`)
33
+ - Add changelog entry (see `changelog.md`)
34
+ - Confirm what was updated
35
+
36
+ ## What to Capture
37
+
38
+ Good project updates include:
39
+
40
+ | Type | Examples |
41
+ |------|----------|
42
+ | **Decisions** | "Chose cursor-based pagination over offset" |
43
+ | **Patterns** | "Using repository pattern for data access" |
44
+ | **Constraints** | "Must support backwards compatibility with v1 API" |
45
+ | **Gotchas** | "Watch out for timezone handling in date fields" |
46
+ | **Progress** | "Completed validation layer, starting on UI" |
47
+ | **File locations** | "Key files: `src/services/template.service.ts`" |
48
+
49
+ ## Example
50
+
51
+ ```
52
+ User: /project update
53
+
54
+ Claude: I'll update #project-transaction-templates with learnings from this session.
55
+
56
+ Proposed changes:
57
+ - Add "Permission Controls" section documenting the new RBAC approach
58
+ - Update Technical Details with the Handlebars helper patterns we established
59
+ - Note the decision to use soft deletes
60
+
61
+ This looks like a minor version bump (0.16.0 → 0.17.0).
62
+
63
+ Proceed with these updates?
64
+ ```
@@ -0,0 +1,36 @@
1
+ # Version Bumping Rules
2
+
3
+ Use semantic versioning for project docs.
4
+
5
+ ## When to Bump
6
+
7
+ | Type | When | Examples |
8
+ |------|------|----------|
9
+ | **Major** | Breaking changes, complete rewrites, fundamental architecture changes | New approach that invalidates previous docs |
10
+ | **Minor** | New features, new sections, significant additions | New helper added, new endpoint, new workflow |
11
+ | **Patch** | Clarifications, small updates, typo fixes, status changes | Wording tweaks, deferred features, bug notes |
12
+
13
+ ## Auto-Determination
14
+
15
+ Analyze the changes being made:
16
+
17
+ 1. Default to **minor** for most content additions
18
+ 2. Use **patch** for small clarifications or status updates
19
+ 3. Use **major** only for fundamental changes (rare)
20
+ 4. Only ask user if genuinely ambiguous
21
+
22
+ ## Examples
23
+
24
+ **Patch (0.1.0 -> 0.1.1):**
25
+ - Fixed typo in technical details
26
+ - Updated status from active to reference
27
+ - Added note about known limitation
28
+
29
+ **Minor (0.1.1 -> 0.2.0):**
30
+ - Added new "Authentication" section
31
+ - Documented new API endpoint
32
+ - Added architecture diagram
33
+
34
+ **Major (0.2.0 -> 1.0.0):**
35
+ - Complete rewrite of implementation approach
36
+ - Switched from REST to GraphQL (invalidates prior docs)