classify_work_type
Heuristic WorkType from prompt + paths (Feature / Bug Fix / Refactor / Performance / Security / Business Rule) with Low/Medium/High confidence.
How to use it
Project documentation lists classify_work_type for the Squad MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Squad MCP
npx -y @gempack/squad-mcpOther tools in Squad MCP (25)
Aggregate advisory reports → final verdict (APPROVED / CHANGESREQUIRED / REJECTED). Returns weighted rubric scorecard when reports carry per-dimension scores.
One-call full bundle: composesquadworkflow + slicefilesforagent per selected agent + validateplantext.
Build a prompt + JSON schema for the host LLM to decompose a PRD into atomic tasks. Pure-MCP: server does NO LLM calls. Caller (skill) feeds the prompt to its model, then calls recordtasks after user confirmation.
One-call pipeline: detectchangedfiles → classifyworktype → scorerisk → selectsquad.
Hardened git diff --name-status --no-renames for a workspace. Allowlisted refs, 10s timeout, 1MB stdout cap.
Append subtasks to an existing task. Mechanical only — caller (skill or LLM) supplies the subtask inputs.
Return the full markdown system prompt for an agent (local override → embedded default).
Copy embedded defaults to the local override directory so they can be edited.
List configured agents with role, ownership, naming conventions.
Read-only journal read. Folds the two-row pair by id, filters (since / limit / agent / verdict / mode / invocation / worktype), and returns either the folded list or an aggregate bundle (outcomes + health + trend) when aggregate: true.
Read tasks from .squad/tasks.json. Filters: status, agent (matches agenthints), changedfiles (glob match against task scope).
Pick the next ready task: candidate status (default pending), all dependencies done, optional agent / changedfiles filter. Tiebreak priority then id. Returns null + reason when none ready.
Lifecycle maintenance (v0.11.0+): mark entries older than maxagedays as archived and entries with ≥ minrecurrence accepts on the same canonicalised finding as promoted. Atomic rewrite under file lock. Never auto-runs.
Load past accept/reject decisions from .squad/learnings.jsonl. Filters by agent / decision / changed-file scope. Returns entries plus a markdown block ready to inject into agent or consolidator prompts.
Read and resolve .squad.yaml (or .squad.yml) at workspaceroot. Returns effective weights, threshold, minscore, skippaths, disableagents.
Append one accept/reject decision to .squad/learnings.jsonl. Side-effecting; the skill (or CLI) is responsible for per-finding user authorisation.
Append one RunRecord to .squad/runs.jsonl. Single-writer contract: only the squad skill calls this (Phase 1 inflight + Phase 10 terminal). Validates against schemaversion 1, enforces 4 KB per-record cap, file mode 0o600.
Bulk-create tasks. Allocates ids sequentially, validates dependencies resolve (forward refs in batch ok), rejects duplicates and self-deps. Atomic write.
Compute Low/Medium/High from boolean signals (auth, money, migration, filescount, newmodule, apichange).
Pure rubric calculator. Takes per-agent scores (0-100) + optional weight overrides, returns weighted score, per-dimension breakdown, and pre-formatted ASCII scorecard.
Select advisory agents for a work type. Combines matrix + path hints + content sniff. Returns evidence per file.
Filter a file list to those owned by a single agent. Used to build sliced advisory prompts.
Filter a file list to those matching a task's scope glob. Same glob primitive as skippaths and learnings scope.
Flip a task or subtask status: pending / in-progress / review / done / blocked / cancelled.
Advisory check for inviolable-rule violations in a plan (commit/push fences, emojis in code blocks, non-English identifiers, impl-before-approval).