momo-ai 1.0.21 → 1.0.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.
- package/.claude/skills/r2mo-rad-lain/SKILL.md +63 -374
- package/.trae/skills/algorithmic-art/LICENSE.txt +202 -0
- package/.trae/skills/algorithmic-art/SKILL.md +405 -0
- package/.trae/skills/algorithmic-art/templates/generator_template.js +223 -0
- package/.trae/skills/algorithmic-art/templates/viewer.html +599 -0
- package/.trae/skills/doc-coauthoring/SKILL.md +375 -0
- package/.trae/skills/frontend-design/LICENSE.txt +177 -0
- package/.trae/skills/frontend-design/SKILL.md +42 -0
- package/.trae/skills/r2mo-rad-lain/SKILL.md +101 -0
- package/README.md +9 -32
- package/docs/images/r2mo-lain.png +0 -0
- package/package.json +11 -11
- package/skills/r2mo-rad-domain/SKILL.md +70 -0
- package/src/_skill/repositories.json +9 -3
- package/src/_template/LAIN/.obsidian/app.json +1 -0
- package/src/_template/LAIN/.obsidian/appearance.json +10 -0
- package/src/_template/LAIN/.obsidian/community-plugins.json +7 -0
- package/src/_template/LAIN/.obsidian/core-plugins.json +33 -0
- package/src/_template/LAIN/.obsidian/plugins/dataview/main.js +20876 -0
- package/src/_template/LAIN/.obsidian/plugins/dataview/manifest.json +11 -0
- package/src/_template/LAIN/.obsidian/plugins/dataview/styles.css +141 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-excalidraw-plugin/data.json +815 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-excalidraw-plugin/main.js +10 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-excalidraw-plugin/manifest.json +12 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-excalidraw-plugin/styles.css +1 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-kanban/main.js +153 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-kanban/manifest.json +11 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-kanban/styles.css +1 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-plantuml/main.js +7732 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-plantuml/manifest.json +10 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-plantuml/styles.css +38 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-tasks-plugin/main.js +504 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-tasks-plugin/manifest.json +12 -0
- package/src/_template/LAIN/.obsidian/plugins/obsidian-tasks-plugin/styles.css +1 -0
- package/src/_template/LAIN/.obsidian/snippets/body-font.css +27 -0
- package/src/_template/LAIN/.obsidian/themes/Primary/manifest.json +9 -0
- package/src/_template/LAIN/.obsidian/themes/Primary/theme.css +3878 -0
- package/src/_template/LAIN/.obsidian/themes/Retro Windows/manifest.json +7 -0
- package/src/_template/LAIN/.obsidian/themes/Retro Windows/theme.css +582 -0
- package/src/_template/LAIN/.obsidian/themes/RetroOS 98/manifest.json +9 -0
- package/src/_template/LAIN/.obsidian/themes/RetroOS 98/theme.css +2566 -0
- package/src/_template/LAIN/.obsidian/types.json +28 -0
- package/src/_template/LAIN/.obsidian/workspace.json +184 -0
- package/src/_template/LAIN/AGENTS.md +170 -16
- package/src/_template/R2MO/domain-enhance.md +10 -0
- package/src/commander/app.json +13 -0
- package/src/commander/apply.json +13 -0
- package/src/commander/ask.json +6 -0
- package/src/commander/docs.json +13 -0
- package/src/commander/domain.json +19 -0
- package/src/commander/init.json +1 -1
- package/src/commander/mmr0.json +6 -0
- package/src/commander/mmr2.json +6 -0
- package/src/executor/executeApp.js +133 -0
- package/src/executor/{executeSkills.js → executeApply.js} +166 -302
- package/src/executor/executeAsk.js +274 -0
- package/src/executor/executeDocs.js +498 -0
- package/src/executor/executeDomain.js +293 -0
- package/src/executor/executeInit.js +159 -383
- package/src/executor/executeMcp.js +74 -1
- package/src/executor/executeMmr0.js +488 -0
- package/src/executor/executeMmr2.js +880 -0
- package/src/executor/index.js +15 -3
- package/src/python/r2mo_proto.py +418 -0
- package/src/python/r2mo_proto_database.py +369 -0
- package/src/python/r2mo_proto_domain.py +458 -0
- package/src/utils/momo-menu.js +43 -13
- package/.claude/skills/r2mo-rad-lain/PROMPT.md +0 -281
- package/.claude/skills/r2mo-rad-lain/README.md +0 -192
- package/.claude/skills/r2mo-rad-lain/examples/argument-parsing.js +0 -154
- package/.claude/skills/r2mo-rad-lain/examples/file-operations.js +0 -182
- package/.claude/skills/r2mo-rad-lain/file-utils-api.md +0 -281
- package/.claude/skills/r2mo-rad-lain/menu-api.md +0 -187
- package/.claude/skills/r2mo-rad-lain/scripts/file-utils.js +0 -223
- package/.claude/skills/r2mo-rad-lain/scripts/menu.js +0 -289
- package/.claude/skills/r2mo-rad-lain/scripts/yaml-parser.js +0 -209
- package/.claude/skills/r2mo-rad-lain/templates/command.json.template +0 -13
- package/.claude/skills/r2mo-rad-lain/templates/executor.js.template +0 -32
- package/.claude/skills/r2mo-rad-lain/templates/interactive-menu.js.template +0 -221
- package/src/_template/LAIN/.momo/advanced/actor.md +0 -42
- package/src/_template/LAIN/.momo/advanced/refer.json +0 -46
- package/src/_template/LAIN/.momo/scripts/submodule-clean.sh +0 -56
- package/src/_template/LAIN/changes/proposal.md +0 -39
- package/src/_template/LAIN/changes/tasks/task-detail.md +0 -45
- package/src/_template/LAIN/changes/tasks.md +0 -49
- package/src/_template/LAIN/execute/admin-n-f-dashboard.md +0 -53
- package/src/_template/LAIN/execute/admin-n-f-form.md +0 -51
- package/src/_template/LAIN/execute/admin-n-f-home.md +0 -49
- package/src/_template/LAIN/execute/admin-n-f-list.md +0 -52
- package/src/_template/LAIN/execute/admin-n-f-login.md +0 -56
- package/src/_template/LAIN/specification/project-model.md +0 -13
- package/src/_template/LAIN/specification/project.md +0 -73
- package/src/_template/LAIN/specification/requirement.md +0 -25
- package/src/commander/skills.json +0 -20
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: doc-coauthoring
|
|
3
|
+
description: Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Doc Co-Authoring Workflow
|
|
7
|
+
|
|
8
|
+
This skill provides a structured workflow for guiding users through collaborative document creation. Act as an active guide, walking users through three stages: Context Gathering, Refinement & Structure, and Reader Testing.
|
|
9
|
+
|
|
10
|
+
## When to Offer This Workflow
|
|
11
|
+
|
|
12
|
+
**Trigger conditions:**
|
|
13
|
+
- User mentions writing documentation: "write a doc", "draft a proposal", "create a spec", "write up"
|
|
14
|
+
- User mentions specific doc types: "PRD", "design doc", "decision doc", "RFC"
|
|
15
|
+
- User seems to be starting a substantial writing task
|
|
16
|
+
|
|
17
|
+
**Initial offer:**
|
|
18
|
+
Offer the user a structured workflow for co-authoring the document. Explain the three stages:
|
|
19
|
+
|
|
20
|
+
1. **Context Gathering**: User provides all relevant context while Claude asks clarifying questions
|
|
21
|
+
2. **Refinement & Structure**: Iteratively build each section through brainstorming and editing
|
|
22
|
+
3. **Reader Testing**: Test the doc with a fresh Claude (no context) to catch blind spots before others read it
|
|
23
|
+
|
|
24
|
+
Explain that this approach helps ensure the doc works well when others read it (including when they paste it into Claude). Ask if they want to try this workflow or prefer to work freeform.
|
|
25
|
+
|
|
26
|
+
If user declines, work freeform. If user accepts, proceed to Stage 1.
|
|
27
|
+
|
|
28
|
+
## Stage 1: Context Gathering
|
|
29
|
+
|
|
30
|
+
**Goal:** Close the gap between what the user knows and what Claude knows, enabling smart guidance later.
|
|
31
|
+
|
|
32
|
+
### Initial Questions
|
|
33
|
+
|
|
34
|
+
Start by asking the user for meta-context about the document:
|
|
35
|
+
|
|
36
|
+
1. What type of document is this? (e.g., technical spec, decision doc, proposal)
|
|
37
|
+
2. Who's the primary audience?
|
|
38
|
+
3. What's the desired impact when someone reads this?
|
|
39
|
+
4. Is there a template or specific format to follow?
|
|
40
|
+
5. Any other constraints or context to know?
|
|
41
|
+
|
|
42
|
+
Inform them they can answer in shorthand or dump information however works best for them.
|
|
43
|
+
|
|
44
|
+
**If user provides a template or mentions a doc type:**
|
|
45
|
+
- Ask if they have a template document to share
|
|
46
|
+
- If they provide a link to a shared document, use the appropriate integration to fetch it
|
|
47
|
+
- If they provide a file, read it
|
|
48
|
+
|
|
49
|
+
**If user mentions editing an existing shared document:**
|
|
50
|
+
- Use the appropriate integration to read the current state
|
|
51
|
+
- Check for images without alt-text
|
|
52
|
+
- If images exist without alt-text, explain that when others use Claude to understand the doc, Claude won't be able to see them. Ask if they want alt-text generated. If so, request they paste each image into chat for descriptive alt-text generation.
|
|
53
|
+
|
|
54
|
+
### Info Dumping
|
|
55
|
+
|
|
56
|
+
Once initial questions are answered, encourage the user to dump all the context they have. Request information such as:
|
|
57
|
+
- Background on the project/problem
|
|
58
|
+
- Related team discussions or shared documents
|
|
59
|
+
- Why alternative solutions aren't being used
|
|
60
|
+
- Organizational context (team dynamics, past incidents, politics)
|
|
61
|
+
- Timeline pressures or constraints
|
|
62
|
+
- Technical architecture or dependencies
|
|
63
|
+
- Stakeholder concerns
|
|
64
|
+
|
|
65
|
+
Advise them not to worry about organizing it - just get it all out. Offer multiple ways to provide context:
|
|
66
|
+
- Info dump stream-of-consciousness
|
|
67
|
+
- Point to team channels or threads to read
|
|
68
|
+
- Link to shared documents
|
|
69
|
+
|
|
70
|
+
**If integrations are available** (e.g., Slack, Teams, Google Drive, SharePoint, or other MCP servers), mention that these can be used to pull in context directly.
|
|
71
|
+
|
|
72
|
+
**If no integrations are detected and in Claude.ai or Claude app:** Suggest they can enable connectors in their Claude settings to allow pulling context from messaging apps and document storage directly.
|
|
73
|
+
|
|
74
|
+
Inform them clarifying questions will be asked once they've done their initial dump.
|
|
75
|
+
|
|
76
|
+
**During context gathering:**
|
|
77
|
+
|
|
78
|
+
- If user mentions team channels or shared documents:
|
|
79
|
+
- If integrations available: Inform them the content will be read now, then use the appropriate integration
|
|
80
|
+
- If integrations not available: Explain lack of access. Suggest they enable connectors in Claude settings, or paste the relevant content directly.
|
|
81
|
+
|
|
82
|
+
- If user mentions entities/projects that are unknown:
|
|
83
|
+
- Ask if connected tools should be searched to learn more
|
|
84
|
+
- Wait for user confirmation before searching
|
|
85
|
+
|
|
86
|
+
- As user provides context, track what's being learned and what's still unclear
|
|
87
|
+
|
|
88
|
+
**Asking clarifying questions:**
|
|
89
|
+
|
|
90
|
+
When user signals they've done their initial dump (or after substantial context provided), ask clarifying questions to ensure understanding:
|
|
91
|
+
|
|
92
|
+
Generate 5-10 numbered questions based on gaps in the context.
|
|
93
|
+
|
|
94
|
+
Inform them they can use shorthand to answer (e.g., "1: yes, 2: see #channel, 3: no because backwards compat"), link to more docs, point to channels to read, or just keep info-dumping. Whatever's most efficient for them.
|
|
95
|
+
|
|
96
|
+
**Exit condition:**
|
|
97
|
+
Sufficient context has been gathered when questions show understanding - when edge cases and trade-offs can be asked about without needing basics explained.
|
|
98
|
+
|
|
99
|
+
**Transition:**
|
|
100
|
+
Ask if there's any more context they want to provide at this stage, or if it's time to move on to drafting the document.
|
|
101
|
+
|
|
102
|
+
If user wants to add more, let them. When ready, proceed to Stage 2.
|
|
103
|
+
|
|
104
|
+
## Stage 2: Refinement & Structure
|
|
105
|
+
|
|
106
|
+
**Goal:** Build the document section by section through brainstorming, curation, and iterative refinement.
|
|
107
|
+
|
|
108
|
+
**Instructions to user:**
|
|
109
|
+
Explain that the document will be built section by section. For each section:
|
|
110
|
+
1. Clarifying questions will be asked about what to include
|
|
111
|
+
2. 5-20 options will be brainstormed
|
|
112
|
+
3. User will indicate what to keep/remove/combine
|
|
113
|
+
4. The section will be drafted
|
|
114
|
+
5. It will be refined through surgical edits
|
|
115
|
+
|
|
116
|
+
Start with whichever section has the most unknowns (usually the core decision/proposal), then work through the rest.
|
|
117
|
+
|
|
118
|
+
**Section ordering:**
|
|
119
|
+
|
|
120
|
+
If the document structure is clear:
|
|
121
|
+
Ask which section they'd like to start with.
|
|
122
|
+
|
|
123
|
+
Suggest starting with whichever section has the most unknowns. For decision docs, that's usually the core proposal. For specs, it's typically the technical approach. Summary sections are best left for last.
|
|
124
|
+
|
|
125
|
+
If user doesn't know what sections they need:
|
|
126
|
+
Based on the type of document and template, suggest 3-5 sections appropriate for the doc type.
|
|
127
|
+
|
|
128
|
+
Ask if this structure works, or if they want to adjust it.
|
|
129
|
+
|
|
130
|
+
**Once structure is agreed:**
|
|
131
|
+
|
|
132
|
+
Create the initial document structure with placeholder text for all sections.
|
|
133
|
+
|
|
134
|
+
**If access to artifacts is available:**
|
|
135
|
+
Use `create_file` to create an artifact. This gives both Claude and the user a scaffold to work from.
|
|
136
|
+
|
|
137
|
+
Inform them that the initial structure with placeholders for all sections will be created.
|
|
138
|
+
|
|
139
|
+
Create artifact with all section headers and brief placeholder text like "[To be written]" or "[Content here]".
|
|
140
|
+
|
|
141
|
+
Provide the scaffold link and indicate it's time to fill in each section.
|
|
142
|
+
|
|
143
|
+
**If no access to artifacts:**
|
|
144
|
+
Create a markdown file in the working directory. Name it appropriately (e.g., `decision-doc.md`, `technical-spec.md`).
|
|
145
|
+
|
|
146
|
+
Inform them that the initial structure with placeholders for all sections will be created.
|
|
147
|
+
|
|
148
|
+
Create file with all section headers and placeholder text.
|
|
149
|
+
|
|
150
|
+
Confirm the filename has been created and indicate it's time to fill in each section.
|
|
151
|
+
|
|
152
|
+
**For each section:**
|
|
153
|
+
|
|
154
|
+
### Step 1: Clarifying Questions
|
|
155
|
+
|
|
156
|
+
Announce work will begin on the [SECTION NAME] section. Ask 5-10 clarifying questions about what should be included:
|
|
157
|
+
|
|
158
|
+
Generate 5-10 specific questions based on context and section purpose.
|
|
159
|
+
|
|
160
|
+
Inform them they can answer in shorthand or just indicate what's important to cover.
|
|
161
|
+
|
|
162
|
+
### Step 2: Brainstorming
|
|
163
|
+
|
|
164
|
+
For the [SECTION NAME] section, brainstorm [5-20] things that might be included, depending on the section's complexity. Look for:
|
|
165
|
+
- Context shared that might have been forgotten
|
|
166
|
+
- Angles or considerations not yet mentioned
|
|
167
|
+
|
|
168
|
+
Generate 5-20 numbered options based on section complexity. At the end, offer to brainstorm more if they want additional options.
|
|
169
|
+
|
|
170
|
+
### Step 3: Curation
|
|
171
|
+
|
|
172
|
+
Ask which points should be kept, removed, or combined. Request brief justifications to help learn priorities for the next sections.
|
|
173
|
+
|
|
174
|
+
Provide examples:
|
|
175
|
+
- "Keep 1,4,7,9"
|
|
176
|
+
- "Remove 3 (duplicates 1)"
|
|
177
|
+
- "Remove 6 (audience already knows this)"
|
|
178
|
+
- "Combine 11 and 12"
|
|
179
|
+
|
|
180
|
+
**If user gives freeform feedback** (e.g., "looks good" or "I like most of it but...") instead of numbered selections, extract their preferences and proceed. Parse what they want kept/removed/changed and apply it.
|
|
181
|
+
|
|
182
|
+
### Step 4: Gap Check
|
|
183
|
+
|
|
184
|
+
Based on what they've selected, ask if there's anything important missing for the [SECTION NAME] section.
|
|
185
|
+
|
|
186
|
+
### Step 5: Drafting
|
|
187
|
+
|
|
188
|
+
Use `str_replace` to replace the placeholder text for this section with the actual drafted content.
|
|
189
|
+
|
|
190
|
+
Announce the [SECTION NAME] section will be drafted now based on what they've selected.
|
|
191
|
+
|
|
192
|
+
**If using artifacts:**
|
|
193
|
+
After drafting, provide a link to the artifact.
|
|
194
|
+
|
|
195
|
+
Ask them to read through it and indicate what to change. Note that being specific helps learning for the next sections.
|
|
196
|
+
|
|
197
|
+
**If using a file (no artifacts):**
|
|
198
|
+
After drafting, confirm completion.
|
|
199
|
+
|
|
200
|
+
Inform them the [SECTION NAME] section has been drafted in [filename]. Ask them to read through it and indicate what to change. Note that being specific helps learning for the next sections.
|
|
201
|
+
|
|
202
|
+
**Key instruction for user (include when drafting the first section):**
|
|
203
|
+
Provide a note: Instead of editing the doc directly, ask them to indicate what to change. This helps learning of their style for future sections. For example: "Remove the X bullet - already covered by Y" or "Make the third paragraph more concise".
|
|
204
|
+
|
|
205
|
+
### Step 6: Iterative Refinement
|
|
206
|
+
|
|
207
|
+
As user provides feedback:
|
|
208
|
+
- Use `str_replace` to make edits (never reprint the whole doc)
|
|
209
|
+
- **If using artifacts:** Provide link to artifact after each edit
|
|
210
|
+
- **If using files:** Just confirm edits are complete
|
|
211
|
+
- If user edits doc directly and asks to read it: mentally note the changes they made and keep them in mind for future sections (this shows their preferences)
|
|
212
|
+
|
|
213
|
+
**Continue iterating** until user is satisfied with the section.
|
|
214
|
+
|
|
215
|
+
### Quality Checking
|
|
216
|
+
|
|
217
|
+
After 3 consecutive iterations with no substantial changes, ask if anything can be removed without losing important information.
|
|
218
|
+
|
|
219
|
+
When section is done, confirm [SECTION NAME] is complete. Ask if ready to move to the next section.
|
|
220
|
+
|
|
221
|
+
**Repeat for all sections.**
|
|
222
|
+
|
|
223
|
+
### Near Completion
|
|
224
|
+
|
|
225
|
+
As approaching completion (80%+ of sections done), announce intention to re-read the entire document and check for:
|
|
226
|
+
- Flow and consistency across sections
|
|
227
|
+
- Redundancy or contradictions
|
|
228
|
+
- Anything that feels like "slop" or generic filler
|
|
229
|
+
- Whether every sentence carries weight
|
|
230
|
+
|
|
231
|
+
Read entire document and provide feedback.
|
|
232
|
+
|
|
233
|
+
**When all sections are drafted and refined:**
|
|
234
|
+
Announce all sections are drafted. Indicate intention to review the complete document one more time.
|
|
235
|
+
|
|
236
|
+
Review for overall coherence, flow, completeness.
|
|
237
|
+
|
|
238
|
+
Provide any final suggestions.
|
|
239
|
+
|
|
240
|
+
Ask if ready to move to Reader Testing, or if they want to refine anything else.
|
|
241
|
+
|
|
242
|
+
## Stage 3: Reader Testing
|
|
243
|
+
|
|
244
|
+
**Goal:** Test the document with a fresh Claude (no context bleed) to verify it works for readers.
|
|
245
|
+
|
|
246
|
+
**Instructions to user:**
|
|
247
|
+
Explain that testing will now occur to see if the document actually works for readers. This catches blind spots - things that make sense to the authors but might confuse others.
|
|
248
|
+
|
|
249
|
+
### Testing Approach
|
|
250
|
+
|
|
251
|
+
**If access to sub-agents is available (e.g., in Claude Code):**
|
|
252
|
+
|
|
253
|
+
Perform the testing directly without user involvement.
|
|
254
|
+
|
|
255
|
+
### Step 1: Predict Reader Questions
|
|
256
|
+
|
|
257
|
+
Announce intention to predict what questions readers might ask when trying to discover this document.
|
|
258
|
+
|
|
259
|
+
Generate 5-10 questions that readers would realistically ask.
|
|
260
|
+
|
|
261
|
+
### Step 2: Test with Sub-Agent
|
|
262
|
+
|
|
263
|
+
Announce that these questions will be tested with a fresh Claude instance (no context from this conversation).
|
|
264
|
+
|
|
265
|
+
For each question, invoke a sub-agent with just the document content and the question.
|
|
266
|
+
|
|
267
|
+
Summarize what Reader Claude got right/wrong for each question.
|
|
268
|
+
|
|
269
|
+
### Step 3: Run Additional Checks
|
|
270
|
+
|
|
271
|
+
Announce additional checks will be performed.
|
|
272
|
+
|
|
273
|
+
Invoke sub-agent to check for ambiguity, false assumptions, contradictions.
|
|
274
|
+
|
|
275
|
+
Summarize any issues found.
|
|
276
|
+
|
|
277
|
+
### Step 4: Report and Fix
|
|
278
|
+
|
|
279
|
+
If issues found:
|
|
280
|
+
Report that Reader Claude struggled with specific issues.
|
|
281
|
+
|
|
282
|
+
List the specific issues.
|
|
283
|
+
|
|
284
|
+
Indicate intention to fix these gaps.
|
|
285
|
+
|
|
286
|
+
Loop back to refinement for problematic sections.
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
**If no access to sub-agents (e.g., claude.ai web interface):**
|
|
291
|
+
|
|
292
|
+
The user will need to do the testing manually.
|
|
293
|
+
|
|
294
|
+
### Step 1: Predict Reader Questions
|
|
295
|
+
|
|
296
|
+
Ask what questions people might ask when trying to discover this document. What would they type into Claude.ai?
|
|
297
|
+
|
|
298
|
+
Generate 5-10 questions that readers would realistically ask.
|
|
299
|
+
|
|
300
|
+
### Step 2: Setup Testing
|
|
301
|
+
|
|
302
|
+
Provide testing instructions:
|
|
303
|
+
1. Open a fresh Claude conversation: https://claude.ai
|
|
304
|
+
2. Paste or share the document content (if using a shared doc platform with connectors enabled, provide the link)
|
|
305
|
+
3. Ask Reader Claude the generated questions
|
|
306
|
+
|
|
307
|
+
For each question, instruct Reader Claude to provide:
|
|
308
|
+
- The answer
|
|
309
|
+
- Whether anything was ambiguous or unclear
|
|
310
|
+
- What knowledge/context the doc assumes is already known
|
|
311
|
+
|
|
312
|
+
Check if Reader Claude gives correct answers or misinterprets anything.
|
|
313
|
+
|
|
314
|
+
### Step 3: Additional Checks
|
|
315
|
+
|
|
316
|
+
Also ask Reader Claude:
|
|
317
|
+
- "What in this doc might be ambiguous or unclear to readers?"
|
|
318
|
+
- "What knowledge or context does this doc assume readers already have?"
|
|
319
|
+
- "Are there any internal contradictions or inconsistencies?"
|
|
320
|
+
|
|
321
|
+
### Step 4: Iterate Based on Results
|
|
322
|
+
|
|
323
|
+
Ask what Reader Claude got wrong or struggled with. Indicate intention to fix those gaps.
|
|
324
|
+
|
|
325
|
+
Loop back to refinement for any problematic sections.
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
### Exit Condition (Both Approaches)
|
|
330
|
+
|
|
331
|
+
When Reader Claude consistently answers questions correctly and doesn't surface new gaps or ambiguities, the doc is ready.
|
|
332
|
+
|
|
333
|
+
## Final Review
|
|
334
|
+
|
|
335
|
+
When Reader Testing passes:
|
|
336
|
+
Announce the doc has passed Reader Claude testing. Before completion:
|
|
337
|
+
|
|
338
|
+
1. Recommend they do a final read-through themselves - they own this document and are responsible for its quality
|
|
339
|
+
2. Suggest double-checking any facts, links, or technical details
|
|
340
|
+
3. Ask them to verify it achieves the impact they wanted
|
|
341
|
+
|
|
342
|
+
Ask if they want one more review, or if the work is done.
|
|
343
|
+
|
|
344
|
+
**If user wants final review, provide it. Otherwise:**
|
|
345
|
+
Announce document completion. Provide a few final tips:
|
|
346
|
+
- Consider linking this conversation in an appendix so readers can see how the doc was developed
|
|
347
|
+
- Use appendices to provide depth without bloating the main doc
|
|
348
|
+
- Update the doc as feedback is received from real readers
|
|
349
|
+
|
|
350
|
+
## Tips for Effective Guidance
|
|
351
|
+
|
|
352
|
+
**Tone:**
|
|
353
|
+
- Be direct and procedural
|
|
354
|
+
- Explain rationale briefly when it affects user behavior
|
|
355
|
+
- Don't try to "sell" the approach - just execute it
|
|
356
|
+
|
|
357
|
+
**Handling Deviations:**
|
|
358
|
+
- If user wants to skip a stage: Ask if they want to skip this and write freeform
|
|
359
|
+
- If user seems frustrated: Acknowledge this is taking longer than expected. Suggest ways to move faster
|
|
360
|
+
- Always give user agency to adjust the process
|
|
361
|
+
|
|
362
|
+
**Context Management:**
|
|
363
|
+
- Throughout, if context is missing on something mentioned, proactively ask
|
|
364
|
+
- Don't let gaps accumulate - address them as they come up
|
|
365
|
+
|
|
366
|
+
**Artifact Management:**
|
|
367
|
+
- Use `create_file` for drafting full sections
|
|
368
|
+
- Use `str_replace` for all edits
|
|
369
|
+
- Provide artifact link after every change
|
|
370
|
+
- Never use artifacts for brainstorming lists - that's just conversation
|
|
371
|
+
|
|
372
|
+
**Quality over Speed:**
|
|
373
|
+
- Don't rush through stages
|
|
374
|
+
- Each iteration should make meaningful improvements
|
|
375
|
+
- The goal is a document that actually works for readers
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-design
|
|
3
|
+
description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
|
|
4
|
+
license: Complete terms in LICENSE.txt
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
|
|
8
|
+
|
|
9
|
+
The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
|
|
10
|
+
|
|
11
|
+
## Design Thinking
|
|
12
|
+
|
|
13
|
+
Before coding, understand the context and commit to a BOLD aesthetic direction:
|
|
14
|
+
- **Purpose**: What problem does this interface solve? Who uses it?
|
|
15
|
+
- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
|
|
16
|
+
- **Constraints**: Technical requirements (framework, performance, accessibility).
|
|
17
|
+
- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
|
|
18
|
+
|
|
19
|
+
**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
|
|
20
|
+
|
|
21
|
+
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
|
|
22
|
+
- Production-grade and functional
|
|
23
|
+
- Visually striking and memorable
|
|
24
|
+
- Cohesive with a clear aesthetic point-of-view
|
|
25
|
+
- Meticulously refined in every detail
|
|
26
|
+
|
|
27
|
+
## Frontend Aesthetics Guidelines
|
|
28
|
+
|
|
29
|
+
Focus on:
|
|
30
|
+
- **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.
|
|
31
|
+
- **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
|
|
32
|
+
- **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
|
|
33
|
+
- **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
|
|
34
|
+
- **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.
|
|
35
|
+
|
|
36
|
+
NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.
|
|
37
|
+
|
|
38
|
+
Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.
|
|
39
|
+
|
|
40
|
+
**IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.
|
|
41
|
+
|
|
42
|
+
Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
|