Always use this skill to provide context on the codebase. Automatically initializes and references the Speculate documentation framework (coding rules, shortcuts, templates, and project specs) to ensure agents understand project structure, development workflows, and coding standards. Use for every task to maintain context and code quality.
This skill provides comprehensive project context through the Speculate documentation framework. It ensures agents always have access to coding rules, development workflows, and project structure.
IMPORTANT: Before working on any task, check if the Speculate docs are initialized.
Look for docs/docs-overview.md in the current project.
If it doesn't exist, initialize now using the install script
node ~/.claude/skills/dev.speculate/scripts/install.js
This copies the complete Speculate documentation structure to docs/:
docs/docs-overview.md - Overview of all documentationdocs/development.md - Project development workflows (you'll need to customize this)docs/general/ - Cross-project rules, shortcuts, templatesdocs/project/ - Project-specific specs, architecture, researchAlways read docs/docs-overview.md first before starting any task.
The docs-overview provides:
IMPORTANT: Throughout the Speculate documentation, paths prefixed with @ indicate paths from the project root.
For example:
@docs/general/agent-rules/python-rules.md → docs/general/agent-rules/python-rules.md@shortcut:implement-spec.md → docs/general/agent-shortcuts/shortcut:implement-spec.mdWhen you see these @docs/... or @shortcut:... references in the documentation, resolve them relative to the project root directory.
docs/docs-overview.md to understand available documentationdocs/development.md for build/test/lint workflowsdocs/general/agent-rules/docs/project/specs/active/ for related workdocs/general/agent-shortcuts/ for structured workflowsAfter initialization, these files are available:
Essential Docs:
docs/docs-overview.md - Start here! Overview of all documentationdocs/development.md - Project setup, build, test, lint workflowsGeneral Rules (in docs/general/agent-rules/):
general-coding-rules.md - Universal coding standardsgeneral-testing-rules.md - Testing best practicestypescript-rules.md - TypeScript-specific rulespython-rules.md - Python-specific rulesconvex-rules.md - Convex database rulesShortcuts (in docs/general/agent-shortcuts/):
shortcut:new-plan-spec.md - Create feature planning documentshortcut:implement-spec.md - Implement from specificationshortcut:commit-code.md - Pre-commit validation workflowshortcut:create-pr-*.md - Pull request workflowsProject Docs (in docs/project/):
specs/active/ - Current feature specificationsspecs/done/ - Completed specs (historical reference)architecture/ - System design documentationflows/ - System flows documentationresearch/ - Technical research notesA note on flows. A flow is a like a mini architecture doc that describes the lifecycle of a behavior in the code base. For example, bootstraping a system could be a flow. The lifecylce of a particular API request could be another. Flows are meant to help llms and humans quickly recapture context on a particular part of the code.
To sync with the latest Speculate documentation:
node ~/.claude/skills/dev.speculate/scripts/update.js
This updates the docs/general/ folder while preserving:
docs/development.mddocs/project/docs/docs-overview.md for contextdocs/development.md for build/test workflowsdocs/general/agent-rules/docs/project/specs/active/ for new featuresdocs/project/architecture/docs/project/flows/Use the structured workflow:
@shortcut:new-plan-spec.md to create a feature plan@shortcut:new-implementation-spec.md for implementation details@shortcut:implement-spec.md with TDD approach@shortcut:precommit-process.md before committing@shortcut:commit-code.md for structured commits@shortcut:create-pr-*.md for pull requestsAfter initialization:
Edit docs/development.md: Update with your project's specific:
Add project specs: Create specifications in docs/project/specs/active/
Document architecture: Add design docs to docs/project/architecture/
Research notes: Store technical investigations in docs/project/research/
This framework ensures:
docs/development.md and docs/project/docs/development.md, create one from the sample templatedocs/general/ folder gets updated when you run update.jsSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer