panopticon-cli 0.4.6 → 0.4.7

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 (102) hide show
  1. package/package.json +2 -1
  2. package/skills/beads/README.md +120 -0
  3. package/skills/beads/SKILL.md +214 -0
  4. package/skills/beads/adr/0001-bd-prime-as-source-of-truth.md +59 -0
  5. package/skills/beads/resources/AGENTS.md +62 -0
  6. package/skills/beads/resources/ASYNC_GATES.md +168 -0
  7. package/skills/beads/resources/BOUNDARIES.md +469 -0
  8. package/skills/beads/resources/CHEMISTRY_PATTERNS.md +197 -0
  9. package/skills/beads/resources/CLI_REFERENCE.md +558 -0
  10. package/skills/beads/resources/DEPENDENCIES.md +747 -0
  11. package/skills/beads/resources/INTEGRATION_PATTERNS.md +407 -0
  12. package/skills/beads/resources/ISSUE_CREATION.md +139 -0
  13. package/skills/beads/resources/MOLECULES.md +354 -0
  14. package/skills/beads/resources/PATTERNS.md +341 -0
  15. package/skills/beads/resources/RESUMABILITY.md +207 -0
  16. package/skills/beads/resources/STATIC_DATA.md +54 -0
  17. package/skills/beads/resources/TROUBLESHOOTING.md +489 -0
  18. package/skills/beads/resources/WORKFLOWS.md +623 -0
  19. package/skills/beads/resources/WORKTREES.md +94 -0
  20. package/skills/beads-completion-check/SKILL.md +90 -0
  21. package/skills/beads-panopticon-guide/SKILL.md +171 -0
  22. package/skills/bug-fix/SKILL.md +32 -0
  23. package/skills/clear-writing/SKILL.md +105 -0
  24. package/skills/clear-writing/references/elements-of-style/01-introductory.md +3 -0
  25. package/skills/clear-writing/references/elements-of-style/02-elementary-rules-of-usage.md +214 -0
  26. package/skills/clear-writing/references/elements-of-style/03-elementary-principles-of-composition.md +398 -0
  27. package/skills/clear-writing/references/elements-of-style/04-a-few-matters-of-form.md +89 -0
  28. package/skills/clear-writing/references/elements-of-style/05-words-and-expressions-commonly-misused.md +342 -0
  29. package/skills/clear-writing/references/signs-of-ai-writing.md +901 -0
  30. package/skills/code-review/SKILL.md +37 -0
  31. package/skills/code-review-performance/SKILL.md +53 -0
  32. package/skills/code-review-security/SKILL.md +35 -0
  33. package/skills/dependency-update/SKILL.md +30 -0
  34. package/skills/feature-work/SKILL.md +39 -0
  35. package/skills/incident-response/SKILL.md +32 -0
  36. package/skills/knowledge-capture/SKILL.md +463 -0
  37. package/skills/onboard-codebase/SKILL.md +34 -0
  38. package/skills/opus-plan/SKILL.md +400 -0
  39. package/skills/pan-approve/SKILL.md +136 -0
  40. package/skills/pan-code-review/SKILL.md +249 -0
  41. package/skills/pan-config/SKILL.md +164 -0
  42. package/skills/pan-convoy-synthesis/SKILL.md +249 -0
  43. package/skills/pan-diagnose/SKILL.md +360 -0
  44. package/skills/pan-docker/SKILL.md +279 -0
  45. package/skills/pan-docs/SKILL.md +113 -0
  46. package/skills/pan-down/SKILL.md +434 -0
  47. package/skills/pan-health/SKILL.md +240 -0
  48. package/skills/pan-help/SKILL.md +237 -0
  49. package/skills/pan-install/SKILL.md +339 -0
  50. package/skills/pan-issue/SKILL.md +596 -0
  51. package/skills/pan-kill/SKILL.md +172 -0
  52. package/skills/pan-logs/SKILL.md +255 -0
  53. package/skills/pan-network/SKILL.md +320 -0
  54. package/skills/pan-oversee/SKILL.md +290 -0
  55. package/skills/pan-plan/SKILL.md +521 -0
  56. package/skills/pan-projects/SKILL.md +239 -0
  57. package/skills/pan-quickstart/SKILL.md +440 -0
  58. package/skills/pan-reload/SKILL.md +44 -0
  59. package/skills/pan-rescue/SKILL.md +271 -0
  60. package/skills/pan-restart/SKILL.md +53 -0
  61. package/skills/pan-setup/SKILL.md +478 -0
  62. package/skills/pan-skill-creator/SKILL.md +168 -0
  63. package/skills/pan-skill-creator/references/output-patterns.md +141 -0
  64. package/skills/pan-skill-creator/references/workflows.md +90 -0
  65. package/skills/pan-skill-creator/scripts/init_skill.py +176 -0
  66. package/skills/pan-status/SKILL.md +493 -0
  67. package/skills/pan-subagent-creator/SKILL.md +295 -0
  68. package/skills/pan-subagent-creator/assets/validate-readonly-query.sh +35 -0
  69. package/skills/pan-subagent-creator/references/example-agents.md +308 -0
  70. package/skills/pan-subagent-creator/scripts/init_agent.py +126 -0
  71. package/skills/pan-sync/SKILL.md +272 -0
  72. package/skills/pan-tell/SKILL.md +157 -0
  73. package/skills/pan-test-config/SKILL.md +208 -0
  74. package/skills/pan-tracker/SKILL.md +288 -0
  75. package/skills/pan-up/SKILL.md +458 -0
  76. package/skills/pan-workspace-config/SKILL.md +303 -0
  77. package/skills/refactor/SKILL.md +30 -0
  78. package/skills/refactor-radar/SKILL.md +475 -0
  79. package/skills/release/SKILL.md +25 -0
  80. package/skills/send-feedback-to-agent/SKILL.md +98 -0
  81. package/skills/session-health/SKILL.md +76 -0
  82. package/skills/session-health/scripts/check_sessions.py +166 -0
  83. package/skills/skill-creator/SKILL.md +92 -0
  84. package/skills/skill-creator/scripts/init_skill.py +152 -0
  85. package/skills/skill-creator/scripts/package_skill.py +123 -0
  86. package/skills/stitch-design-md/README.md +34 -0
  87. package/skills/stitch-design-md/SKILL.md +172 -0
  88. package/skills/stitch-design-md/examples/DESIGN.md +154 -0
  89. package/skills/stitch-react-components/README.md +36 -0
  90. package/skills/stitch-react-components/SKILL.md +47 -0
  91. package/skills/stitch-react-components/examples/gold-standard-card.tsx +80 -0
  92. package/skills/stitch-react-components/package-lock.json +231 -0
  93. package/skills/stitch-react-components/package.json +16 -0
  94. package/skills/stitch-react-components/resources/architecture-checklist.md +15 -0
  95. package/skills/stitch-react-components/resources/component-template.tsx +37 -0
  96. package/skills/stitch-react-components/resources/stitch-api-reference.md +14 -0
  97. package/skills/stitch-react-components/resources/style-guide.json +27 -0
  98. package/skills/stitch-react-components/scripts/fetch-stitch.sh +30 -0
  99. package/skills/stitch-react-components/scripts/validate.js +68 -0
  100. package/skills/stitch-setup/SKILL.md +94 -0
  101. package/skills/web-design-guidelines/SKILL.md +39 -0
  102. package/skills/work-complete/SKILL.md +79 -0
@@ -0,0 +1,207 @@
1
+ # Making Issues Resumable Across Sessions
2
+
3
+ ## When Resumability Matters
4
+
5
+ **Use enhanced documentation for:**
6
+ - Multi-session technical features with API integration
7
+ - Complex algorithms requiring code examples
8
+ - Features with specific output format requirements
9
+ - Work with "occult" APIs (undocumented capabilities)
10
+
11
+ **Skip for:**
12
+ - Simple bug fixes with clear scope
13
+ - Well-understood patterns (CRUD operations, etc.)
14
+ - Single-session tasks
15
+ - Work with obvious acceptance criteria
16
+
17
+ **The test:** Would a fresh Claude instance (or you after 2 weeks) struggle to resume this work from the description alone? If yes, add implementation details.
18
+
19
+ ## Anatomy of a Resumable Issue
20
+
21
+ ### Minimal (Always Include)
22
+ ```markdown
23
+ Description: What needs to be built and why
24
+ Acceptance Criteria: Concrete, testable outcomes (WHAT not HOW)
25
+ ```
26
+
27
+ ### Enhanced (Complex Technical Work)
28
+ ```markdown
29
+ Notes Field - IMPLEMENTATION GUIDE:
30
+
31
+ WORKING CODE:
32
+ ```python
33
+ # Tested code that queries the API
34
+ service = build('drive', 'v3', credentials=creds)
35
+ result = service.about().get(fields='importFormats').execute()
36
+ # Returns: {'text/markdown': ['application/vnd.google-apps.document'], ...}
37
+ ```
38
+
39
+ API RESPONSE SAMPLE:
40
+ Shows actual data structure (not docs description)
41
+
42
+ DESIRED OUTPUT FORMAT:
43
+ ```markdown
44
+ # Example of what the output should look like
45
+ Not just "return markdown" but actual structure
46
+ ```
47
+
48
+ RESEARCH CONTEXT:
49
+ Why this approach? What alternatives were considered?
50
+ Key discoveries that informed the design.
51
+ ```
52
+
53
+ ## Real Example: Before vs After
54
+
55
+ ### ❌ Not Resumable
56
+ ```
57
+ Title: Add dynamic capabilities resources
58
+ Description: Query Google APIs for capabilities and return as resources
59
+ Acceptance: Resources return capability info
60
+ ```
61
+
62
+ **Problem:** Future Claude doesn't know:
63
+ - Which API endpoints to call
64
+ - What the responses look like
65
+ - What format to return
66
+
67
+ ### ✅ Resumable
68
+ ```
69
+ Title: Add dynamic capabilities resources
70
+ Description: Query Google APIs for system capabilities (import formats,
71
+ themes, quotas) that aren't in static docs. Makes server self-documenting.
72
+
73
+ Notes: IMPLEMENTATION GUIDE
74
+
75
+ WORKING CODE (tested):
76
+ ```python
77
+ from workspace_mcp.tools.drive import get_credentials
78
+ from googleapiclient.discovery import build
79
+
80
+ creds = get_credentials()
81
+ service = build('drive', 'v3', credentials=creds)
82
+ about = service.about().get(
83
+ fields='importFormats,exportFormats,folderColorPalette'
84
+ ).execute()
85
+
86
+ # Returns:
87
+ # - importFormats: dict, 49 entries like {'text/markdown': [...]}
88
+ # - exportFormats: dict, 10 entries
89
+ # - folderColorPalette: list, 24 hex strings
90
+ ```
91
+
92
+ OUTPUT FORMAT EXAMPLE:
93
+ ```markdown
94
+ # Drive Import Formats
95
+
96
+ Google Drive supports 49 import formats:
97
+
98
+ ## Text Formats
99
+ - **text/markdown** → Google Docs ✨ (NEW July 2024)
100
+ - text/plain → Google Docs
101
+ ...
102
+ ```
103
+
104
+ RESEARCH CONTEXT:
105
+ text/markdown support announced July 2024 but NOT in static Google docs.
106
+ Google's workspace-developer MCP server doesn't expose this.
107
+ This is why dynamic resources matter.
108
+
109
+ Acceptance Criteria:
110
+ - User queries workspace://capabilities/drive/import-formats
111
+ - Response shows all 49 formats including text/markdown
112
+ - Output is readable markdown, not raw JSON
113
+ - Queries live API (not static data)
114
+ ```
115
+
116
+ **Result:** Fresh Claude instance can:
117
+ 1. See working API query code
118
+ 2. Understand response structure
119
+ 3. Know desired output format
120
+ 4. Implement with context
121
+
122
+ ## Optional Template
123
+
124
+ Copy this into notes field for complex technical features:
125
+
126
+ ```markdown
127
+ IMPLEMENTATION GUIDE FOR FUTURE SESSIONS:
128
+
129
+ WORKING CODE (tested):
130
+ ```language
131
+ # Paste actual code that works
132
+ # Include imports and setup
133
+ # Show what it returns
134
+ ```
135
+
136
+ API RESPONSE SAMPLE:
137
+ ```json
138
+ {
139
+ "actualField": "actualValue",
140
+ "structure": "as returned by API"
141
+ }
142
+ ```
143
+
144
+ DESIRED OUTPUT FORMAT:
145
+ ```
146
+ Show what the final output should look like
147
+ Not just "markdown" but actual structure/style
148
+ ```
149
+
150
+ RESEARCH CONTEXT:
151
+ - Why this approach?
152
+ - What alternatives considered?
153
+ - Key discoveries?
154
+ - Links to relevant docs/examples?
155
+ ```
156
+
157
+ ## Anti-Patterns
158
+
159
+ ### ❌ Over-Documenting Simple Work
160
+ ```markdown
161
+ Title: Fix typo in README
162
+ Notes: IMPLEMENTATION GUIDE
163
+ WORKING CODE: Open README.md, change "teh" to "the"...
164
+ ```
165
+ **Problem:** Wastes tokens on obvious work.
166
+
167
+ ### ❌ Design Details in Acceptance Criteria
168
+ ```markdown
169
+ Acceptance:
170
+ - [ ] Use batchUpdate approach
171
+ - [ ] Call API with fields parameter
172
+ - [ ] Format as markdown with ## headers
173
+ ```
174
+ **Problem:** Locks implementation. Should be in Design/Notes, not Acceptance.
175
+
176
+ ### ❌ Raw JSON Dumps
177
+ ```markdown
178
+ API RESPONSE:
179
+ {giant unformatted JSON blob spanning 100 lines}
180
+ ```
181
+ **Problem:** Hard to read. Extract relevant parts, show structure.
182
+
183
+ ### ✅ Right Balance
184
+ ```markdown
185
+ API RESPONSE SAMPLE:
186
+ Returns dict with 49 entries. Example entries:
187
+ - 'text/markdown': ['application/vnd.google-apps.document']
188
+ - 'text/plain': ['application/vnd.google-apps.document']
189
+ - 'application/pdf': ['application/vnd.google-apps.document']
190
+ ```
191
+
192
+ ## When to Add This Detail
193
+
194
+ **During issue creation:**
195
+ - Already have working code from research? Include it.
196
+ - Clear output format in mind? Show example.
197
+
198
+ **During work (update notes):**
199
+ - Just got API query working? Add to notes.
200
+ - Discovered important context? Document it.
201
+ - Made key decision? Explain rationale.
202
+
203
+ **Session end:**
204
+ - If resuming will be hard, add implementation guide.
205
+ - If obvious, skip it.
206
+
207
+ **The principle:** Help your future self (or next Claude) resume without rediscovering everything.
@@ -0,0 +1,54 @@
1
+ # Using bd for Static Reference Data
2
+
3
+ bd is primarily designed for work tracking, but can also serve as a queryable database for static reference data with some adaptations.
4
+
5
+ ## Work Tracking (Primary Use Case)
6
+
7
+ Standard bd workflow:
8
+ - Issues flow through states (open → in_progress → closed)
9
+ - Priorities and dependencies matter
10
+ - Status tracking is essential
11
+ - IDs are sufficient for referencing
12
+
13
+ ## Reference Databases / Glossaries (Alternative Use)
14
+
15
+ When using bd for static data (terminology, glossaries, reference information):
16
+
17
+ **Characteristics:**
18
+ - Entities are mostly static (typically always open)
19
+ - No real workflow or state transitions
20
+ - Names/titles more important than IDs
21
+ - Minimal or no dependencies
22
+
23
+ **Recommended approach:**
24
+ - Use separate database (not mixed with work tracking) to avoid confusion
25
+ - Consider dual format: maintain markdown version alongside database for name-based lookup
26
+ - Example: A terminology database could use both `terms.db` (queryable via bd) and `GLOSSARY.md` (browsable by name)
27
+
28
+ **Key difference**: Work items have lifecycle; reference entities are stable knowledge.
29
+
30
+ ## When to Use This Pattern
31
+
32
+ **Good fit:**
33
+ - Technical glossaries or terminology databases
34
+ - Reference documentation that needs dependency tracking
35
+ - Knowledge bases with relationships between entries
36
+ - Structured data that benefits from queryability
37
+
38
+ **Poor fit:**
39
+ - Data that changes frequently (use work tracking pattern)
40
+ - Simple lists (markdown is simpler)
41
+ - Data that needs complex queries (use proper database)
42
+
43
+ ## Limitations
44
+
45
+ **bd show requires IDs, not names:**
46
+ - `bd show term-42` works
47
+ - `bd show "API endpoint"` doesn't work
48
+ - Workaround: `bd list | grep -i "api endpoint"` to find ID first
49
+ - This is why dual format (bd + markdown) is recommended for reference data
50
+
51
+ **No search by content:**
52
+ - bd searches by ID, title filters, status, labels
53
+ - For full-text search across descriptions/notes, use grep on the JSONL file
54
+ - Example: `grep -i "authentication" .beads/issues.jsonl`