/ai-sdlc:detect-patterns [--since YYYY-MM-DD] [--min-confidence 0.6]from ai-sdlc
Analyzes Claude Code session history to detect repetitive workflow patterns and proposes automations as draft artifacts.
Ships in ai-sdlc. Installing the plugin adds it to Claude Code.
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
sonnetDetect repetitive workflow patterns from Claude Code session history and propose automations.
~/.claude/usage-data/tool-sequences.jsonl~/.claude/usage-data/session-meta/*.json for historical dataimport { readToolSequenceJSONL, mineFrequentPatterns, classifyPattern } from '@ai-sdlc/orchestrator';
--since YYYY-MM-DD — only analyze events after this date--min-confidence 0.6 — minimum confidence threshold (0-1)7-day visitors to each command page
27 commands in this plugin
/cleanupRemove worktrees under .worktrees/ — defaults to merged-PR sweep, or pass a task-id to force-remove a specific one./context-captureCapture facts from a conversation, document or finding as inferred knowledge entries with a confidence band and a re-verify note; a correction supersedes the earlier entry./context-hygieneAudit the knowledge store for contradictions and stale entries; raise at most 3 contradictions per run as Decision Catalog items and report stale entries as questions. Monthly cadence./dispatch-workerRetired Pattern Z Worker loop; use cli-hierarchy (RFC-0051) instead. See docs/operations/cli-hierarchy.md. AISDLC-763./doctorAudit this project's ai-sdlc configuration health — plugin/pin versions, manifest agreement, attestation governance, and more. Read-only by default; --fix applies the safe/mechanical subset./executeExecute a backlog task OR GitHub issue end-to-end — worktree → developer subagent → parallel reviewer subagents → PR. A thin loop over `ai-sdlc-pipeline next-step`; every deterministic step runs in TypeScript, the main session only spawns agents.npx claudepluginhub ai-sdlc-framework/ai-sdlc --plugin ai-sdlcOther plugins' commands for the same job