Dude Specifications - Technical Documentation
Document requirements and architecture via the dude: MCP tools.
Specs and architecture decisions are stored as records with kind "spec" or "arch".
Quick Start
dude:list_records { "kind": "spec" } - List specifications
dude:list_records { "kind": "arch" } - List architecture decisions
dude:upsert_record { "kind": "spec", "title": "API: POST /users ..." } - Create spec
dude:search { "query": "...", "kind": "spec" } - Find specs
Specification Operations
Listing Specifications
dude:list_records { "kind": "spec" }
dude:list_records { "kind": "arch" }
dude:list_records { "kind": "spec", "status": "open" }
Parameters:
kind—"spec"for specifications,"arch"for architecture decisionsstatus(optional) —"open","resolved","archived", or"all"project(optional) — project name, or"*"for all projects
Getting Specification Details
dude:get_record { "id": 42 }
Parameters:
id(required): Record ID (integer)
Creating Specifications
dude:upsert_record {
"kind": "spec",
"title": "AUTH: JWT tokens with 24h expiry",
"body": "Refresh handled in authMiddleware.js. Tokens are RS256 signed."
}
dude:upsert_record {
"kind": "arch",
"title": "ARCH: Use libsql for local+cloud hybrid storage",
"body": "Local SQLite file with optional Turso cloud sync."
}
Parameters:
kind(required):"spec"or"arch"title(required): Short summary (use prefixes below)body(optional): Full descriptionstatus(optional): Defaults to"open"
Updating Specifications
Provide the id of an existing record to update it:
dude:upsert_record {
"id": 42,
"kind": "spec",
"title": "AUTH: JWT tokens with 1h expiry (changed from 24h)",
"body": "Updated based on security review..."
}
Archiving Specifications
Set status to "archived" to mark as deprecated:
dude:upsert_record { "id": 42, "kind": "spec", "title": "...", "status": "archived" }
Deleting Specifications
dude:delete_record { "id": 42 }
Search for Specifications
Semantic Search
dude:search {
"query": "authentication flow JWT tokens",
"kind": "spec",
"project": "my-org/my-repo",
"limit": 10
}
Parameters:
query(required): Natural language search querykind(optional):"spec"or"arch"to filter resultsproject(optional): Project name to boost, or"*"for equal weightlimit(optional): Max results (default 5)
Specification Conventions
Use prefixes to categorize:
AUTH:- Authentication/authorizationAPI:- API contractsARCH:- Architecture decisionsDATA:- Data models/schemasUI:- User interface patterns
Related Skills
- dude:projects — List and explore projects
- dude:issues — Track bugs and tasks
