/alamops-skills:investigatefrom alamops-skills
Runs parallel read-only research agents over codebase, git history, and library docs to investigate a feature or change before planning. Maps blast radius, finds call sites, and runs scratchpad spikes to prove feasibility. Saves findings to docs/plans/<slug>-investigation.md.
Ships in alamops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Your job is to find out what's actually true about the codebase, its history, and the technologies in play before a change gets planned — so that the questions asked of the owner are sharp, the plan is grounded in real file:line anchors, and nobody discovers in the middle of coding that a premise was false.
That last failure is the one this skill exists to prevent. Believing a claim ("the library supports that", "only two places call this", "the query will be fast enough") and finding out otherwise after a plan was approved and code was written on top of it is the most expensive way a build goes wrong. Investigation moves that discovery to the cheapest possible moment.
This is Phase 1 of the implement delivery loop, packaged to run on its own. Its output is written for the next steps:
grill reads the must ask list and turns it into questions for the owner.write-plan reads the findings, spike verdicts, completeness inventory, and runnability picture as its grounded context.Nothing here requires those skills to exist — the brief stands on its own as a research document.
Read-only on the repo. Don't modify tracked files, don't add dependencies, don't run migrations or write to real data. Spikes write and run code, but only inside the scratchpad (see Spikes). The one file you create is the investigation brief under docs/plans/.
Before spawning anything, state in one sentence what change is being contemplated and what decision the investigation should inform. "Investigate payments" gives agents nothing to aim at; "we're about to make price display currency-aware — find everything that would have to change and whether Intl.NumberFormat handles BRL on our Node version" does.
If the ask is too vague to aim at, ask one clarifying question rather than launching a broad sweep that returns an essay. Pick a short kebab-case slug for the feature (currency-aware-prices) — the brief is saved under it, and later steps look for it by that name.
If a brief for the same feature already exists under docs/plans/, read it first: extend it rather than redoing work that's already grounded.
Parallel agents multiply tokens, not just speed — every sub-agent carries its own context. Match the fleet to the surface area:
If your harness has no sub-agent tool, run the same briefs yourself, one after another. The structure still holds; you lose only wall-clock.
Spawn the research agents in a single message so they run concurrently. Use a read-only agent type (on Claude Code, Explore — it can still run git and web tools but has no edit tools, so it structurally cannot modify code). Leave the model unset so agents inherit the session's model, unless the user asked for a specific one.
CHANGELOG/PR conventions. Uses git log, git log -S, git blame, git show.Two checks belong to whichever agent is closest, or to you:
gh api …, a cloud CLI's describe or list, or git ls-remote. Never apply, deploy or write anything. Record the command and its output as evidence.A sub-agent can't stop to ask you what you meant, so its one instruction has to carry everything. Every brief nails four things:
file:line anchors, and open questions. Not a file dump. Keep the format identical across siblings so you can merge them.git log on specific paths, the docs for library X at the pinned version), so the agent doesn't rediscover the map.Source, history, and docs tell you what's claimed. Some assumptions only yield to an experiment: does this library actually do X on the version we pin, does that endpoint really return the documented shape, is this query fast enough at our row count, does the approach even run in our runtime.
When an assumption is load-bearing (the plan changes if it's wrong) and the research wave failed to settle it, run a spike: the smallest piece of throwaway code that answers exactly that one question.
[email protected] flatten AcroForm fields on Node 18?" comes back as yes/no plus the command that proves it.<scratchpad>/spikes/<question-slug>/, or a temp directory if your harness has no scratchpad) with its own throwaway environment — a local package.json, a venv. No edits to tracked files, no deps added to the repo's manifest, no writes against real data. Reading the repo is fine and usually necessary.general-purpose), since spikes must write and execute. That makes the scratchpad boundary a briefed constraint rather than a structural one, so make it the loudest line in the brief.$ total, a report summing mixed currencies), that's one of the most important findings you can hand the planner: the current tests don't pin this behavior, so the plan has to add tests that do before anyone trusts a green run.Under --no-spikes (or "don't run any spikes"), run no spikes at all. The unknown a spike would have settled doesn't disappear: treat it exactly like an inconclusive verdict — list it under must ask, marked unverified because spikes were disabled.
Example spike brief: "Objective: answer one question — can [email protected] flatten AcroForm fields on Node 18, or do we need a native binding? Output: verdict (yes / no / inconclusive), the exact command and its output that proves it, the versions you tested, and the path to what you built. Tools/sources: build a minimal repro in <scratchpad>/spikes/pdf-flatten/ with its own package.json and install there; read fixtures/sample-form.pdf from the repo. Boundaries: write nothing outside that directory — do not add deps to the repo's package.json and do not modify any tracked file. I want the finding, not an implementation: stop as soon as the question is answered, and report 'inconclusive' rather than grinding if it isn't."
Don't forward the agents' briefs; merge them. Cross-check where they disagree (the docs say one thing, the code does another — the code wins, and the disagreement is itself a finding). Sort everything into four buckets:
A question the repo could have answered doesn't belong on the must ask list — answer it. The owner's time goes to decisions, not to facts you could have looked up.
Save to docs/plans/<slug>-investigation.md (create the folder if missing; suffix -YYYY-MM-DD if that name is taken by an unrelated investigation, so nothing gets clobbered):
# Investigation — <feature>
| Field | Value |
| --- | --- |
| Date | <YYYY-MM-DD> |
| Change | <one sentence: what's being contemplated and the decision this informs> |
| Agents | <e.g. 2 codebase, 1 git-history, 1 web, 1 spike> |
| Flags | <--no-spikes, or "none"> |
## 1. What we know
<facts, each with a file:line anchor or a source link; live facts with the read-only command that checked them>
- Contract: <repo path of the spec/PRD — or "outside the repo: <where>", flagged for the plan>
- Standards that apply: <rule → path:line>
- Runtime & trust shape: <instances, deploys, leader, long-lived connections; parties that send input and the privileged actions they reach>
## 2. What we proved
| Question | Verdict | Evidence (command → output / measurement) | Versions | Artifact |
## 3. What we're assuming
<assumption → what changes in the plan if it's wrong>
## 4. What we must ask the owner
<numbered; each says why it matters and, where a spike or finding bears on it, what the evidence shows>
## 5. Completeness inventory
- Callers (direct and indirect): <file:line list>
- Entry points new code must be wired into: <route tables, job registries, composition root, config loading>
- Propagation surface: <types, enums, validation, serializers, contracts, SDKs, fixtures, seed data, generated code>
- Existing data a migration would have to backfill: <tables/rows/files, with volumes if known>
- Docs / config / examples that describe current behavior: <paths>
- What the change would orphan: <code, exports, flags>
## 6. Runnability
- Start locally: <command, services, env vars, seed data>
- Tests: <command per layer>
- E2E harness: <framework, command, fixtures — or "none found">
## 7. Risks & blast radius
<sibling paths, retries, downstream systems, rollback concerns>
Tell the user where the brief is, the three or four findings that most change the picture (especially any spike that contradicted what the team believed), and the must ask list. Suggest the natural next step: grill to settle the open questions with the owner, then write-plan — or implement if they want the whole loop driven from here.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alamops/skills --plugin alamops-skills15 skills in this plugin
/appstore-review(alamops) Use whenever the user wants their iOS app checked against Apple's App Store Review Guidelines and submission requirements, or asks if Apple will reject something. Triggers — "will Apple reject this?", pre-submission audit, App Store readiness, pre-flight before TestFlight or App Store Connect upload, ITMS upload errors, rule compliance (3.1.1, 4.8, 5.1.1, 2.5.19…), iPhone Duo / foldable readiness, Xcode/SDK minimums and deadlines, or whether a change is allowed (subs moved off IAP to Stripe or a web link, tracking SDKs, sending user data to an AI API, remote feature flags, social login, permissions, privacy manifest, ATT, account deletion, age rating). Native Swift, React Native, Expo, Flutter, Capacitor, Unity. Fetches the live guidelines and Apple Developer News as exact text, then returns findings keyed by guideline number with severity, file:line evidence and fixes, plus upcoming deadlines. Read-only. Not for general code review, implementing features, or store-listing ASO (use appstore-seo)./appstore-seo(alamops) App Store Optimization (ASO) for the iOS App Store and Google Play — audit, write and rewrite store listings to rank and convert. Triggers — "/appstore-seo", app store SEO/ASO, "improve my app store ranking", "nobody finds my app", keyword research, writing app name / subtitle / keyword field / short & full description / promotional text / release notes / screenshot captions, auditing a listing from an App Store ID or store link, competitor teardowns, localizing a listing, store A/B tests (PPO, Play experiments), custom product pages and their keywords, creative briefs for screenshots, iPhone Duo sets and the new product page header / search result assets, pre-launch metadata, and **Apple Ads keyword and campaign planning** (Brand/Generic/Competitor/Discovery, negatives, Search Terms). Pulls live listings and competitors from Apple's public endpoints, then emits character-validated fields saved under `docs/appstore/`. Not for App Review compliance (use `appstore-review`) and not for website SEO./break-fix(alamops) Adversarial end-to-end bug hunt on a running app. Drives the real app like a hostile, confused, or impatient user — junk and boundary input, double-submits, out-of-order steps, back-button and refresh mid-flow, expired sessions, two tabs on one record, flaky network, tampered URL params — to make it throw, corrupt state, lose data, or strand the UI. Watches console, network and server logs, not just the viewport. Then reproduces each finding deterministically, traces the root cause in code, writes a *failing* e2e regression test, fixes the defect, and proves the suite goes green. Use whenever the user says break my app, try to break it, bug hunt, bug bash, QA sweep, exploratory / adversarial / chaos / monkey / fuzz testing, "find bugs by actually using it", "click around and see what explodes", or asks for an e2e test so a bug can't come back. Runs only against local/dev/staging targets the user controls. Not for reviewing a diff (code-review), building a feature (implement), or triaging production errors from Sentry./business-review(alamops) Analyzes a product/business from its public-facing materials (landing, pricing, onboarding, docs, app/UI, screenshots), separates real value from claimed value, generates 5–8 concrete buyer personas, ranks them across abundance / pain / urgency / WTP / retention / strategic leverage, recommends a primary ICP plus secondary and weak-fit segments, pressure-tests positioning and pricing against alternatives, and proposes messaging, landing-page, onboarding, demo, and product-experience improvements. Saves Markdown artifacts under `docs/` (personas, ICP analysis, positioning, product-experience). Read-only on source; prefers strategic clarity over flattery. Use when asked to analyze a business/product, generate personas, find or rank an ICP, pressure-test positioning or pricing, review a landing page or onboarding, or get a buyer-side strategic critique./code-review(alamops) Performs a thorough, read-only code review of any change source — a pull request, a git diff, uncommitted edits, recent commits, or code just produced in the conversation — and re-reviews a fix round, scoring each earlier finding fixed / partial / not fixed. Flags bugs; security and trust-boundary gaps (tenant isolation, authz, approvals bound to the wrong version, untrusted input driving privileged state, atomicity, retry safety, RLS self-recursion); reliability under the real deployment (two instances, crashes mid-step, network calls inside transactions, unbounded retries); code that is written and tested but never wired into production; PR-body and doc claims the code doesn't back; tests that cannot fail; performance, config and schema drift; and blast-radius gaps — checked against the repo's own rules and specs. Returns findings with severity, file:line, a failure scenario and a fix; never edits code. Use for any code review, PR review, re-review, diff review, or critique of recent changes./create-tasks(alamops) Senior Technical PM that turns a PRD, brief, ticket, or conversation into a small set of deep, end-to-end dev/QA tasks. Performs mandatory deep repo-context analysis (entry points, data models, utilities, API patterns, sibling code paths) before drafting, asks one structured pass of clarifying questions, then writes each task with problem, business rules, technical goals, dependencies, file paths, related existing code, data model, API specs, non-functional requirements, implementation guide, error handling, blast radius, testing, acceptance criteria, QA steps, and design specs. Layer-prefixed titles (`[Full-Stack]`, `[Backend+DB+Tests]`, `[Frontend+Backend+Tests]`, `[DevOps]`). No time, effort, or staffing estimates. Saves an INDEX plus one task file under `docs/tasks/<feature-slug>/`; read-only on source code. Use when asked to create, draft, scaffold, or break down dev/QA tasks, engineering tickets, sprint tasks, or implementation tickets from a PRD, spec, or feature description.Other plugins' skills for the same job