From patriotforge
Use to investigate and plan a feature, bug fix, or architectural change. Dispatches fast scouts (haiku) for recon, then planners (sonnet) for architecture. Searches codebase, server, Railway, and web.
npx claudepluginhub aka-kolton/patriotforge-claude-plugin --plugin patriotforgeThis skill uses the workspace's default tool permissions.
Structured investigation and planning pipeline. Takes a vague idea and produces a phased, actionable implementation plan.
Implements Clean Architecture in Android and Kotlin Multiplatform projects: module layouts, dependency rules, UseCases, Repositories, domain models, and data layers with Room, SQLDelight, Ktor.
Enforces code quality on file edits via Plankton hooks: auto-formats, lints, Claude-powered fixes with model tiering, config protection, and legacy package manager blocks.
Enforces C++ Core Guidelines for writing, reviewing, and refactoring modern C++ code (C++17+), promoting RAII, immutability, type safety, and idiomatic practices.
Structured investigation and planning pipeline. Takes a vague idea and produces a phased, actionable implementation plan.
$ARGUMENTS — the feature, bug, or topic to investigate
Goal: Understand what the user wants
$ARGUMENTS is provided, summarize your understandingAskUserQuestion:
Goal: Gather facts fast using cheap, parallel scouts
Launch 3-5 scout agents in parallel (subagent_type: "patriotforge:scout", model will default to haiku). Each scout investigates a different angle:
Codebase Scout — "Search the PatriotForge codebase for anything related to {topic}. Find existing models, schemas, routers, services, and components. Check D:/PatriotForge/backend/app/ and D:/PatriotForge/frontend/src/. Report file paths, key patterns, and relevant code."
Similar Feature Scout — "Find the most similar existing feature to {topic} in PatriotForge. Trace its full implementation: model → schema → service → router → API client → React component. Report the pattern so we can replicate it."
Database Scout — "Check the current database schema related to {topic}. Look at models in D:/PatriotForge/backend/app/models/, check existing migrations in alembic/versions/, and report table structures, relationships, and any relevant constraints."
Server Scout — "SSH to patriotdev@100.111.104.5 and check the running state related to {topic}. Check container status (docker ps), recent logs, database state (psql queries against printshop), and any relevant configuration."
API/Integration Scout — "Research the external API or service needed for {topic}. Check docs for {Stripe/ShipStation/QuickBooks/etc.}. Report: endpoints we need, auth method, data format, rate limits, webhooks."
Frontend Scout — "Search D:/PatriotForge/frontend/src/ for existing UI patterns related to {topic}. Check features/, components/, api/ clients, and routing. Report component patterns, state management approach, and relevant hooks."
Test Scout — "Check existing tests in D:/PatriotForge/backend/tests/ related to {topic}. Report test patterns, fixtures used, and what coverage exists. Also check if there are any failing tests."
Plan/Status Scout — "Read existing plans and status trackers at C:\Users\Kolton\Documents\Logbook\Projects\PatriotForge\ related to {topic}. Check Plans/, Docs/Status Trackers/, and TODO.md for any prior work, decisions, or open items."
| Task | Model | Why |
|---|---|---|
| File search, grep, list files | haiku (scout) | Fast, cheap, just finding things |
| Read + summarize code patterns | haiku (scout) | Pattern recognition doesn't need deep reasoning |
| SSH commands, docker status | haiku (scout) | Simple command execution |
| Web doc fetching | haiku (scout) | Just retrieving and summarizing |
| Deep architectural analysis | sonnet (planner) | Needs reasoning about trade-offs |
| Plan production | sonnet (planner) | Needs to synthesize and make decisions |
Goal: Build deep context from scout findings
Goal: Resolve ambiguities before planning
DO NOT SKIP THIS PHASE.
AskUserQuestionIf the user says "your call" — make the decision, state it clearly, and proceed.
Goal: Produce a decisive implementation plan
Launch 1-2 planner agents (subagent_type: "patriotforge:planner") with:
If the feature is large, launch 2 planners with different focuses:
Goal: Deliver the final plan
C:\Users\Kolton\Documents\Logbook\Projects\PatriotForge\Plans\[ready] {Feature Name}.mdD:/PatriotForge/...)C:\Users\Kolton\Documents\Logbook\Projects\PatriotForge\Plans\