natureco-cli 5.18.3 → 5.20.0
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/CHANGELOG.md +32 -0
- package/package.json +1 -1
- package/skills/a-b-testing/SKILL.md +34 -0
- package/skills/accessibility-audit/SKILL.md +34 -0
- package/skills/agent-memory/SKILL.md +34 -0
- package/skills/agent-orchestration/SKILL.md +34 -0
- package/skills/airunway-aks-setup/SKILL.md +73 -0
- package/skills/algorithmic-art/SKILL.md +405 -0
- package/skills/analytics-setup/SKILL.md +34 -0
- package/skills/api-design/SKILL.md +34 -0
- package/skills/api-versioning/SKILL.md +34 -0
- package/skills/appinsights-instrumentation/SKILL.md +76 -0
- package/skills/audio-transcription/SKILL.md +34 -0
- package/skills/authentication-patterns/SKILL.md +34 -0
- package/skills/authorization-rbac/SKILL.md +34 -0
- package/skills/azure-ai/SKILL.md +71 -0
- package/skills/azure-aigateway/SKILL.md +129 -0
- package/skills/azure-cloud-migrate/SKILL.md +52 -0
- package/skills/azure-compliance/SKILL.md +108 -0
- package/skills/azure-compute/SKILL.md +46 -0
- package/skills/azure-cost/SKILL.md +45 -0
- package/skills/azure-deploy/SKILL.md +97 -0
- package/skills/azure-diagnostics/SKILL.md +151 -0
- package/skills/azure-enterprise-infra-planner/SKILL.md +54 -0
- package/skills/azure-hosted-copilot-sdk/SKILL.md +89 -0
- package/skills/azure-kubernetes/SKILL.md +153 -0
- package/skills/azure-kusto/SKILL.md +231 -0
- package/skills/azure-messaging/SKILL.md +57 -0
- package/skills/azure-prepare/SKILL.md +165 -0
- package/skills/azure-quotas/SKILL.md +276 -0
- package/skills/azure-rbac/SKILL.md +17 -0
- package/skills/azure-reliability/SKILL.md +387 -0
- package/skills/azure-resource-lookup/SKILL.md +108 -0
- package/skills/azure-resource-visualizer/SKILL.md +183 -0
- package/skills/azure-storage/SKILL.md +100 -0
- package/skills/azure-upgrade/SKILL.md +91 -0
- package/skills/azure-validate/SKILL.md +72 -0
- package/skills/backup-strategy/SKILL.md +34 -0
- package/skills/bash-scripting/SKILL.md +34 -0
- package/skills/batch-api-calls/SKILL.md +34 -0
- package/skills/batch-processing/SKILL.md +34 -0
- package/skills/brainstorming/SKILL.md +159 -0
- package/skills/brand-guidelines/SKILL.md +73 -0
- package/skills/brandkit/SKILL.md +798 -0
- package/skills/brutalist-skill/SKILL.md +92 -0
- package/skills/bulk-file-operations/SKILL.md +34 -0
- package/skills/cache-responses/SKILL.md +34 -0
- package/skills/caching-strategy/SKILL.md +34 -0
- package/skills/calendar-optimization/SKILL.md +34 -0
- package/skills/canvas-design/SKILL.md +130 -0
- package/skills/cavecrew/SKILL.md +82 -0
- package/skills/caveman-commit/SKILL.md +65 -0
- package/skills/caveman-help/SKILL.md +63 -0
- package/skills/caveman-review/SKILL.md +55 -0
- package/skills/caveman-stats/SKILL.md +10 -0
- package/skills/changelog-generation/SKILL.md +34 -0
- package/skills/chat-bot-design/SKILL.md +34 -0
- package/skills/chunking-strategy/SKILL.md +34 -0
- package/skills/ci-cd-pipeline/SKILL.md +34 -0
- package/skills/classification-pipeline/SKILL.md +34 -0
- package/skills/claude-api/SKILL.md +356 -0
- package/skills/clipboard-master/SKILL.md +34 -0
- package/skills/code-explanation/SKILL.md +34 -0
- package/skills/code-generation/SKILL.md +34 -0
- package/skills/code-migration/SKILL.md +34 -0
- package/skills/code-review-checklist/SKILL.md +34 -0
- package/skills/composition-patterns/SKILL.md +89 -0
- package/skills/contact-management/SKILL.md +34 -0
- package/skills/content-generation/SKILL.md +34 -0
- package/skills/context-pruning/SKILL.md +34 -0
- package/skills/context-window-management/SKILL.md +34 -0
- package/skills/continuous-improvement/SKILL.md +34 -0
- package/skills/cron-scheduling/SKILL.md +34 -0
- package/skills/cross-platform-compat/SKILL.md +34 -0
- package/skills/csv-processing/SKILL.md +34 -0
- package/skills/daily-journal/SKILL.md +34 -0
- package/skills/data-analysis/SKILL.md +34 -0
- package/skills/data-backup/SKILL.md +34 -0
- package/skills/data-cleaning/SKILL.md +34 -0
- package/skills/data-extraction/SKILL.md +34 -0
- package/skills/data-validation/SKILL.md +34 -0
- package/skills/database-migrations/SKILL.md +34 -0
- package/skills/database-schema-design/SKILL.md +34 -0
- package/skills/decision-mapping/SKILL.md +84 -0
- package/skills/decision-matrix/SKILL.md +34 -0
- package/skills/dependency-management/SKILL.md +34 -0
- package/skills/deploy-to-vercel/SKILL.md +296 -0
- package/skills/design-an-interface/SKILL.md +94 -0
- package/skills/design-doc-mermaid/SKILL.md +498 -0
- package/skills/dev-environment-setup/SKILL.md +34 -0
- package/skills/develop-userscripts/SKILL.md +84 -0
- package/skills/distraction-blocker/SKILL.md +34 -0
- package/skills/doc-coauthoring/SKILL.md +375 -0
- package/skills/docker-optimization/SKILL.md +34 -0
- package/skills/document-template/SKILL.md +34 -0
- package/skills/documentation/SKILL.md +109 -0
- package/skills/documentation-gen/SKILL.md +34 -0
- package/skills/docx/SKILL.md +590 -0
- package/skills/edit-article/SKILL.md +15 -0
- package/skills/efficient-formatting/SKILL.md +34 -0
- package/skills/email-management/SKILL.md +34 -0
- package/skills/email-service/SKILL.md +34 -0
- package/skills/embedding-generation/SKILL.md +34 -0
- package/skills/entity-extraction/SKILL.md +34 -0
- package/skills/entra-agent-id/SKILL.md +356 -0
- package/skills/entra-app-registration/SKILL.md +191 -0
- package/skills/environment-config/SKILL.md +34 -0
- package/skills/error-handling/SKILL.md +34 -0
- package/skills/estimation-techniques/SKILL.md +34 -0
- package/skills/event-driven-architecture/SKILL.md +34 -0
- package/skills/excel-automation/SKILL.md +34 -0
- package/skills/execution-monitoring/SKILL.md +34 -0
- package/skills/expense-tracking/SKILL.md +34 -0
- package/skills/faceless-explainer/SKILL.md +202 -0
- package/skills/fastify/SKILL.md +75 -0
- package/skills/feature-engineering/SKILL.md +34 -0
- package/skills/feature-flags/SKILL.md +34 -0
- package/skills/file-conversion/SKILL.md +34 -0
- package/skills/file-upload-handling/SKILL.md +34 -0
- package/skills/fine-tuning-prep/SKILL.md +34 -0
- package/skills/focus-mode/SKILL.md +34 -0
- package/skills/form-validation/SKILL.md +34 -0
- package/skills/function-calling/SKILL.md +34 -0
- package/skills/general-video/SKILL.md +143 -0
- package/skills/git-guardrails-claude-code/SKILL.md +95 -0
- package/skills/git-workflow/SKILL.md +34 -0
- package/skills/github-actions-docs/SKILL.md +98 -0
- package/skills/goal-setting/SKILL.md +34 -0
- package/skills/gpt-tasteskill/SKILL.md +74 -0
- package/skills/graphql-design/SKILL.md +34 -0
- package/skills/grill-me/SKILL.md +7 -0
- package/skills/grilling/SKILL.md +10 -0
- package/skills/habit-tracker/SKILL.md +34 -0
- package/skills/hallucination-detection/SKILL.md +34 -0
- package/skills/handoff/SKILL.md +16 -0
- package/skills/hyperframes/SKILL.md +152 -0
- package/skills/hyperframes-animation/SKILL.md +82 -0
- package/skills/hyperframes-cli/SKILL.md +109 -0
- package/skills/hyperframes-core/SKILL.md +78 -0
- package/skills/hyperframes-creative/SKILL.md +68 -0
- package/skills/hyperframes-media/SKILL.md +97 -0
- package/skills/image-processing/SKILL.md +34 -0
- package/skills/image-to-code-skill/SKILL.md +1228 -0
- package/skills/imagegen-frontend-mobile/SKILL.md +1465 -0
- package/skills/imagegen-frontend-web/SKILL.md +987 -0
- package/skills/implement/SKILL.md +15 -0
- package/skills/init/SKILL.md +91 -0
- package/skills/internal-comms/SKILL.md +32 -0
- package/skills/json-transformation/SKILL.md +34 -0
- package/skills/keyboard-shortcuts/SKILL.md +34 -0
- package/skills/knowledge-base/SKILL.md +34 -0
- package/skills/knowledge-graph/SKILL.md +34 -0
- package/skills/kubernetes-deployment/SKILL.md +34 -0
- package/skills/language-translation/SKILL.md +34 -0
- package/skills/lark-approval/SKILL.md +56 -0
- package/skills/lark-base/SKILL.md +157 -0
- package/skills/lark-doc/SKILL.md +81 -0
- package/skills/lark-shared/SKILL.md +168 -0
- package/skills/lark-workflow-meeting-summary/SKILL.md +122 -0
- package/skills/linting-neostandard-eslint9/SKILL.md +64 -0
- package/skills/llm-chaining/SKILL.md +34 -0
- package/skills/localization-i18n/SKILL.md +34 -0
- package/skills/logging-best-practices/SKILL.md +34 -0
- package/skills/loop-me/SKILL.md +32 -0
- package/skills/machine-learning-pipeline/SKILL.md +34 -0
- package/skills/meeting-notes/SKILL.md +34 -0
- package/skills/meeting-scheduler/SKILL.md +34 -0
- package/skills/message-queues/SKILL.md +34 -0
- package/skills/message-summarization/SKILL.md +34 -0
- package/skills/microservices-architecture/SKILL.md +34 -0
- package/skills/microsoft-foundry/SKILL.md +262 -0
- package/skills/migrate-to-shoehorn/SKILL.md +118 -0
- package/skills/milestone-tracking/SKILL.md +34 -0
- package/skills/minimalist-skill/SKILL.md +85 -0
- package/skills/model-deployment/SKILL.md +34 -0
- package/skills/model-evaluation/SKILL.md +34 -0
- package/skills/monitoring-setup/SKILL.md +34 -0
- package/skills/monorepo-setup/SKILL.md +34 -0
- package/skills/motion-graphics/SKILL.md +170 -0
- package/skills/multi-agent-systems/SKILL.md +34 -0
- package/skills/music-to-video/SKILL.md +197 -0
- package/skills/network-troubleshooting/SKILL.md +34 -0
- package/skills/node/SKILL.md +94 -0
- package/skills/nodejs-core/SKILL.md +156 -0
- package/skills/note-organization/SKILL.md +34 -0
- package/skills/oauth/SKILL.md +186 -0
- package/skills/obsidian-vault/SKILL.md +59 -0
- package/skills/octocat/SKILL.md +93 -0
- package/skills/openclaw-secure-linux-cloud/SKILL.md +157 -0
- package/skills/opensource-guide-coach/SKILL.md +218 -0
- package/skills/output-skill/SKILL.md +49 -0
- package/skills/package-publishing/SKILL.md +34 -0
- package/skills/password-generator/SKILL.md +34 -0
- package/skills/pdf/SKILL.md +314 -0
- package/skills/pdf-processing/SKILL.md +34 -0
- package/skills/performance-optimization/SKILL.md +34 -0
- package/skills/pomodoro-timer/SKILL.md +34 -0
- package/skills/powershell-automation/SKILL.md +34 -0
- package/skills/pptx/SKILL.md +232 -0
- package/skills/pr-to-video/SKILL.md +235 -0
- package/skills/priority-filtering/SKILL.md +34 -0
- package/skills/product-launch-video/SKILL.md +205 -0
- package/skills/project-tracking/SKILL.md +34 -0
- package/skills/prompt-compression/SKILL.md +34 -0
- package/skills/prompt-engineering/SKILL.md +34 -0
- package/skills/push-notifications/SKILL.md +34 -0
- package/skills/python-appservice-deploy/SKILL.md +36 -0
- package/skills/qa/SKILL.md +130 -0
- package/skills/rag-implementation/SKILL.md +34 -0
- package/skills/rate-limiting/SKILL.md +34 -0
- package/skills/react-best-practices/SKILL.md +149 -0
- package/skills/react-native-skills/SKILL.md +121 -0
- package/skills/react-view-transitions/SKILL.md +320 -0
- package/skills/readme-i18n/SKILL.md +176 -0
- package/skills/real-time-communication/SKILL.md +34 -0
- package/skills/redesign-skill/SKILL.md +178 -0
- package/skills/refactoring-strategy/SKILL.md +34 -0
- package/skills/regex-mastery/SKILL.md +34 -0
- package/skills/remotion/SKILL.md +364 -0
- package/skills/report-generation/SKILL.md +34 -0
- package/skills/request-refactor-plan/SKILL.md +68 -0
- package/skills/research-compiler/SKILL.md +34 -0
- package/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/skills/responsive-design/SKILL.md +34 -0
- package/skills/rest-api-patterns/SKILL.md +34 -0
- package/skills/retrospectives/SKILL.md +34 -0
- package/skills/risk-assessment/SKILL.md +34 -0
- package/skills/roadmap-creation/SKILL.md +34 -0
- package/skills/running-claude-code-via-litellm-copilot/SKILL.md +263 -0
- package/skills/scaffold-exercises/SKILL.md +106 -0
- package/skills/search-implementation/SKILL.md +34 -0
- package/skills/secrets-management/SKILL.md +34 -0
- package/skills/secure-linux-web-hosting/SKILL.md +162 -0
- package/skills/security-audit/SKILL.md +34 -0
- package/skills/selective-memory/SKILL.md +34 -0
- package/skills/semantic-search/SKILL.md +34 -0
- package/skills/semantic-versioning/SKILL.md +34 -0
- package/skills/sentiment-analysis/SKILL.md +34 -0
- package/skills/seo-optimization/SKILL.md +34 -0
- package/skills/setup-pre-commit/SKILL.md +91 -0
- package/skills/shadcn/SKILL.md +267 -0
- package/skills/simple/SKILL.md +52 -0
- package/skills/skill-creator/SKILL.md +485 -0
- package/skills/skill-optimizer/SKILL.md +47 -0
- package/skills/skills-cli/SKILL.md +281 -0
- package/skills/slack-gif-creator/SKILL.md +254 -0
- package/skills/snipgrapher/SKILL.md +58 -0
- package/skills/snippet-manager/SKILL.md +34 -0
- package/skills/soft-skill/SKILL.md +98 -0
- package/skills/sprint-planning/SKILL.md +34 -0
- package/skills/sql-query-optimization/SKILL.md +34 -0
- package/skills/stakeholder-communication/SKILL.md +34 -0
- package/skills/state-management/SKILL.md +34 -0
- package/skills/statistical-analysis/SKILL.md +34 -0
- package/skills/stitch-skill/SKILL.md +184 -0
- package/skills/streaming-responses/SKILL.md +34 -0
- package/skills/structured-output/SKILL.md +34 -0
- package/skills/summarization-techniques/SKILL.md +34 -0
- package/skills/supabase/SKILL.md +135 -0
- package/skills/supabase-postgres-best-practices/SKILL.md +64 -0
- package/skills/system-diagnostics/SKILL.md +34 -0
- package/skills/systematic-debugging/SKILL.md +296 -0
- package/skills/talking-head-recut/SKILL.md +1191 -0
- package/skills/task-decomposition/SKILL.md +34 -0
- package/skills/task-prioritization/SKILL.md +34 -0
- package/skills/taste-skill/SKILL.md +1206 -0
- package/skills/taste-skill-v1/SKILL.md +226 -0
- package/skills/tdd/SKILL.md +108 -0
- package/skills/teach/SKILL.md +140 -0
- package/skills/template-library/SKILL.md +34 -0
- package/skills/test-driven-development/SKILL.md +371 -0
- package/skills/test-generation/SKILL.md +34 -0
- package/skills/testing-strategy/SKILL.md +34 -0
- package/skills/text-expansion/SKILL.md +34 -0
- package/skills/theme-factory/SKILL.md +59 -0
- package/skills/time-blocking/SKILL.md +34 -0
- package/skills/to-prd/SKILL.md +75 -0
- package/skills/token-budgeting/SKILL.md +34 -0
- package/skills/token-optimization/SKILL.md +34 -0
- package/skills/tool-calling-patterns/SKILL.md +34 -0
- package/skills/typescript-magician/SKILL.md +117 -0
- package/skills/tzst/SKILL.md +68 -0
- package/skills/ubiquitous-language/SKILL.md +93 -0
- package/skills/use-my-browser/SKILL.md +110 -0
- package/skills/using-superpowers/SKILL.md +121 -0
- package/skills/vector-database-setup/SKILL.md +34 -0
- package/skills/vercel-cli-with-tokens/SKILL.md +353 -0
- package/skills/vercel-optimize/SKILL.md +322 -0
- package/skills/video-editing/SKILL.md +34 -0
- package/skills/viral-instagram-reels/SKILL.md +180 -0
- package/skills/viral-short-form/SKILL.md +147 -0
- package/skills/viral-short-form-ideas/SKILL.md +184 -0
- package/skills/viral-tiktok-content/SKILL.md +180 -0
- package/skills/visualization-creation/SKILL.md +34 -0
- package/skills/web-artifacts-builder/SKILL.md +74 -0
- package/skills/web-design-guidelines/SKILL.md +39 -0
- package/skills/web-scraping/SKILL.md +34 -0
- package/skills/webapp-testing/SKILL.md +96 -0
- package/skills/webhook-handling/SKILL.md +34 -0
- package/skills/website-to-video/SKILL.md +145 -0
- package/skills/weekly-review/SKILL.md +34 -0
- package/skills/workflow-automation/SKILL.md +34 -0
- package/skills/writing-beats/SKILL.md +67 -0
- package/skills/writing-fragments/SKILL.md +79 -0
- package/skills/writing-great-skills/SKILL.md +82 -0
- package/skills/writing-guidelines/SKILL.md +39 -0
- package/skills/writing-plans/SKILL.md +174 -0
- package/skills/writing-shape/SKILL.md +79 -0
- package/skills/xdrop/SKILL.md +78 -0
- package/skills/xget/SKILL.md +87 -0
- package/skills/xlsx/SKILL.md +292 -0
- package/src/commands/code_v5.js +377 -73
- package/src/commands/repl.js +505 -86
- package/src/providers/model/anthropic.js +84 -0
- package/src/providers/model/gemini.js +49 -0
- package/src/providers/model/minimax.js +48 -0
- package/src/providers/model/ollama.js +42 -0
- package/src/providers/model/openai.js +49 -0
- package/src/providers/search/duckduckgo.js +45 -0
- package/src/providers/search/exa.js +52 -0
- package/src/providers/search/searxng.js +51 -0
- package/src/providers/search/tavily.js +47 -0
- package/src/tools/model_provider.js +71 -0
- package/src/tools/parallel_search.js +40 -49
- package/src/tools/search_provider.js +79 -0
- package/src/tools/skills_download.js +217 -0
- package/src/tools/web_search.js +42 -62
- package/src/tools/workflow.js +21 -9
- package/src/utils/cron.js +82 -126
- package/src/utils/effort-levels.js +42 -0
- package/src/utils/fallback-chain.js +72 -0
- package/src/utils/file-history.js +78 -0
- package/src/utils/model-provider.js +113 -0
- package/src/utils/permissions.js +147 -0
- package/src/utils/plan-mode.js +164 -0
- package/src/utils/provider-detect.js +7 -32
- package/src/utils/sandbox.js +60 -0
- package/src/utils/search-provider.js +62 -0
- package/src/utils/session-search.js +66 -0
- package/src/utils/structured-output.js +20 -0
- package/src/utils/system-prompt.js +28 -2
- package/src/utils/tasks.js +132 -0
- package/src/utils/tool-hooks.js +154 -0
- package/src/utils/tools.js +18 -2
- package/src/utils/ultra-review.js +59 -0
- package/src/utils/worktree.js +192 -0
|
@@ -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,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docker-optimization
|
|
3
|
+
description: Optimize Docker images with multi-stage builds, layer caching, and minimal base images
|
|
4
|
+
category: Software Development
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Docker Optimization
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
Optimize Docker images with multi-stage builds, layer caching, and minimal base images. This skill helps you apply structured, repeatable methods for consistent results.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
- When you need to apply docker optimization best practices
|
|
14
|
+
- When establishing processes or standards for your workflow
|
|
15
|
+
- When training team members on docker optimization
|
|
16
|
+
- When automating or optimizing docker optimization tasks
|
|
17
|
+
|
|
18
|
+
## Instructions
|
|
19
|
+
1. **Assess**: Evaluate the current state, requirements, and constraints
|
|
20
|
+
2. **Plan**: Define the approach, steps, and success criteria
|
|
21
|
+
3. **Execute**: Follow the established patterns and best practices
|
|
22
|
+
4. **Verify**: Check results against expected outcomes and quality standards
|
|
23
|
+
5. **Iterate**: Refine based on feedback and lessons learned
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
```
|
|
27
|
+
User: Help me apply docker optimization for my current project
|
|
28
|
+
Assistant: I'll help you apply docker optimization step by step...
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Related Skills
|
|
32
|
+
- Use with `workflow` tool for orchestrated execution
|
|
33
|
+
- Combine with `task` tool for delegated processing
|
|
34
|
+
- Reference `system-prompt` for system-level integration
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: document-template
|
|
3
|
+
description: Create reusable document templates for proposals, reports, and memos
|
|
4
|
+
category: Productivity
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Document Template
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
Create reusable document templates for proposals, reports, and memos. This skill helps you apply structured, repeatable methods for consistent results.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
- When you need to apply document template best practices
|
|
14
|
+
- When establishing processes or standards for your workflow
|
|
15
|
+
- When training team members on document template
|
|
16
|
+
- When automating or optimizing document template tasks
|
|
17
|
+
|
|
18
|
+
## Instructions
|
|
19
|
+
1. **Assess**: Evaluate the current state, requirements, and constraints
|
|
20
|
+
2. **Plan**: Define the approach, steps, and success criteria
|
|
21
|
+
3. **Execute**: Follow the established patterns and best practices
|
|
22
|
+
4. **Verify**: Check results against expected outcomes and quality standards
|
|
23
|
+
5. **Iterate**: Refine based on feedback and lessons learned
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
```
|
|
27
|
+
User: Help me apply document template for my current project
|
|
28
|
+
Assistant: I'll help you apply document template step by step...
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Related Skills
|
|
32
|
+
- Use with `workflow` tool for orchestrated execution
|
|
33
|
+
- Combine with `task` tool for delegated processing
|
|
34
|
+
- Reference `system-prompt` for system-level integration
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: documentation
|
|
3
|
+
description: "Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when a user needs to write or reorganize docs, structure a tutorial vs. a how-to guide, build reference docs or API documentation, create explanation pages, choose between Diátaxis documentation types, or improve existing documentation structure. Trigger terms include: documentation structure, Diátaxis, tutorials vs how-to guides, organize docs, user guide, reference docs, technical writing."
|
|
4
|
+
metadata:
|
|
5
|
+
tags: documentation, technical-writing, tutorials, guides, reference, diataxis
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## When to use
|
|
9
|
+
|
|
10
|
+
Use this skill when you need to create, review, or improve technical documentation following the Diátaxis framework. Examples include:
|
|
11
|
+
- Creating user guides
|
|
12
|
+
- API documentation
|
|
13
|
+
- Tutorial content
|
|
14
|
+
- Restructuring existing documentation to better serve different user needs and contexts
|
|
15
|
+
|
|
16
|
+
## Instructions
|
|
17
|
+
|
|
18
|
+
Organize documentation into four distinct types — tutorials, how-to guides, reference material, and explanations — each serving different user needs and contexts.
|
|
19
|
+
|
|
20
|
+
Always ask clarifying questions about the user's context, audience, and goals **before** creating documentation.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
### Step 1 — Identify the documentation type
|
|
25
|
+
|
|
26
|
+
Use the following decision checklist based on user signals:
|
|
27
|
+
|
|
28
|
+
| User signal | Documentation type |
|
|
29
|
+
|---|---|
|
|
30
|
+
| "I'm new to X and want to learn it" / "walk me through" | **Tutorial** |
|
|
31
|
+
| "How do I…?" / "I need to accomplish X" | **How-to guide** |
|
|
32
|
+
| "What are the parameters/options/syntax for X?" | **Reference** |
|
|
33
|
+
| "Why does X work this way?" / "Help me understand X" | **Explanation** |
|
|
34
|
+
|
|
35
|
+
Quick decision tree:
|
|
36
|
+
- Is the user **learning by doing** for the first time? → Tutorial
|
|
37
|
+
- Do they need to **solve a specific problem** they already understand? → How-to guide
|
|
38
|
+
- Do they need **technical facts** to look up? → Reference
|
|
39
|
+
- Do they want **conceptual background**? → Explanation
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
### Step 2 — Apply type-specific patterns
|
|
44
|
+
|
|
45
|
+
#### Tutorials (learning-oriented)
|
|
46
|
+
- **Title pattern:** Start with a verb — *"Build your first X"*, *"Create a Y from scratch"*
|
|
47
|
+
- Structure: Goal → Prerequisites → Numbered steps → Immediate verifiable result at each step → Final outcome
|
|
48
|
+
- Minimise explanation; maximise doing
|
|
49
|
+
- Every step must produce a visible, testable result
|
|
50
|
+
- **Validation:** A beginner must be able to complete the tutorial without external help
|
|
51
|
+
|
|
52
|
+
**Example intro:**
|
|
53
|
+
> *"In this tutorial, you will build a simple REST API using Express. By the end, you will have a running server that responds to GET requests. No prior Express experience is needed."*
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
#### How-to guides (problem-oriented)
|
|
58
|
+
- **Title pattern:** Frame as a task — *"How to configure X"*, *"How to deploy Y to Z"*
|
|
59
|
+
- Structure: Goal statement → Assumptions/prerequisites → Numbered steps → Expected result
|
|
60
|
+
- Assume baseline knowledge; skip conceptual explanations
|
|
61
|
+
- Allow for variation; note alternatives where they exist
|
|
62
|
+
- **Validation:** An experienced user can complete the task without confusion or backtracking
|
|
63
|
+
|
|
64
|
+
**Example intro:**
|
|
65
|
+
> *"This guide shows how to add JWT authentication to an existing Express app. It assumes you have a working Express server and basic familiarity with middleware."*
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
#### Reference (information-oriented)
|
|
70
|
+
- **Title pattern:** Name the thing — *"Configuration options"*, *"API endpoints"*, *"CLI flags"*
|
|
71
|
+
- Structure: Consistent repeatable format per entry (name → type → default → description → example)
|
|
72
|
+
- State facts; avoid instruction beyond minimal usage examples
|
|
73
|
+
- Keep current; version-stamp if needed
|
|
74
|
+
- **Validation:** A user can look up a specific fact in under 30 seconds without reading surrounding content
|
|
75
|
+
|
|
76
|
+
**Example entry:**
|
|
77
|
+
> **`timeout`** *(integer, default: `5000`)*
|
|
78
|
+
> Maximum time in milliseconds to wait for a response before the request fails.
|
|
79
|
+
> *Example:* `{ timeout: 3000 }`
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
#### Explanations (understanding-oriented)
|
|
84
|
+
- **Title pattern:** Frame as a concept — *"How X works"*, *"Understanding Y"*, *"Why Z is designed this way"*
|
|
85
|
+
- Structure: Context → Core concept → Alternatives/trade-offs → Higher-level perspective
|
|
86
|
+
- Avoid step-by-step instruction or technical specification
|
|
87
|
+
- **Validation:** After reading, the user can explain the concept in their own words and understands the rationale behind design decisions
|
|
88
|
+
|
|
89
|
+
**Example intro:**
|
|
90
|
+
> *"Authentication and authorisation are often confused. This page explains the distinction, why both matter, and how common patterns (sessions, tokens, OAuth) approach each concern differently."*
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
### Step 3 — Maintain separation and integration
|
|
95
|
+
|
|
96
|
+
- Keep each document a single type — don't mix tutorial steps with reference tables or conceptual digressions
|
|
97
|
+
- Cross-link between types: a tutorial can link to the relevant reference page; a how-to guide can link to an explanation for background
|
|
98
|
+
- Use consistent headings and terminology across all types so users can navigate the full documentation system
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
### Step 4 — Validate before delivering
|
|
103
|
+
|
|
104
|
+
| Type | Validation check |
|
|
105
|
+
|---|---|
|
|
106
|
+
| Tutorial | Can a beginner complete it end-to-end without external help? |
|
|
107
|
+
| How-to guide | Does it solve the stated problem for an experienced user? |
|
|
108
|
+
| Reference | Can the user find a specific fact in under 30 seconds? |
|
|
109
|
+
| Explanation | Does the user understand the *why*, not just the *what*? |
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: documentation-gen
|
|
3
|
+
description: Generate documentation from code with JSDoc, TypeDoc, OpenAPI, and storybooks
|
|
4
|
+
category: Software Development
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Documentation Gen
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
Generate documentation from code with JSDoc, TypeDoc, OpenAPI, and storybooks. This skill helps you apply structured, repeatable methods for consistent results.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
- When you need to apply documentation gen best practices
|
|
14
|
+
- When establishing processes or standards for your workflow
|
|
15
|
+
- When training team members on documentation gen
|
|
16
|
+
- When automating or optimizing documentation gen tasks
|
|
17
|
+
|
|
18
|
+
## Instructions
|
|
19
|
+
1. **Assess**: Evaluate the current state, requirements, and constraints
|
|
20
|
+
2. **Plan**: Define the approach, steps, and success criteria
|
|
21
|
+
3. **Execute**: Follow the established patterns and best practices
|
|
22
|
+
4. **Verify**: Check results against expected outcomes and quality standards
|
|
23
|
+
5. **Iterate**: Refine based on feedback and lessons learned
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
```
|
|
27
|
+
User: Help me apply documentation gen for my current project
|
|
28
|
+
Assistant: I'll help you apply documentation gen step by step...
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Related Skills
|
|
32
|
+
- Use with `workflow` tool for orchestrated execution
|
|
33
|
+
- Combine with `task` tool for delegated processing
|
|
34
|
+
- Reference `system-prompt` for system-level integration
|