Ghidra Headless Script Review
Use this phase skill when planning includes reusable headless Ghidra scripts,
script registration, or review expectations that must survive speckit
planning, including reusable Frida runtime-capture helpers, common-library
coverage changes, or manifest-generation logic that should not stay hidden in
phase-specific notes.
The canonical contract is ./planning-brief.md. Use it
to shape planning outputs and to audit generated artifacts for missing or
weakened script-review requirements.
Phase Focus
This phase covers:
- reusable headless Ghidra script authoring
- reusable Frida runtime-capture helper and common-library governance
- deterministic script inputs and outputs
- manifest-generation and normalization helper review
- script registration and naming expectations
- review checklist obligations for generated plans
Non-Negotiable Constraints
- Headless-only workflow. Script usage must stay compatible with headless
analysis flows.
- Evidence-backed claims. Script behavior and review findings must point to
observable output or tracked examples.
- Reproducible workflow expectations. Script invocation, parameters,
registration, and review steps must be replayable.
- Reviewable Markdown outputs. Generated planning artifacts and findings remain
inspectable as Markdown.
- Runtime and evidence phases must escalate reusable helper, behavior-change,
coverage-gap, or manifest-generation work here instead of weakening their own
phase contracts.
- No downstream
speckit extension or constitution change is required.
Required Inputs
- planned script purpose and target workflow stage
- whether the request changes reusable Frida script-library coverage,
invocation behavior, or manifest expectations
- expected script inputs, outputs, and deterministic behavior
- registration or naming expectations for reusable scripts
- capture-helper or manifest-generation obligations when Frida phases are in
scope
- required review checklist items and failure handling
- optional local overlays that only tighten the contract
How To Use This Skill
- Fill in
./planning-brief.md with the script scope,
deterministic expectations, and review obligations.
- Provide the brief to
speckit as a file or inline paste.
- Review the generated planning artifacts with the same contract.
- If runtime-injection or evidence-import work introduces reusable Frida
helpers, output-shape changes, or missing common-library coverage, keep the
change in this phase rather than pushing it back into the runtime or
evidence contracts.
- If a required script rule is missing, refine or regenerate the artifacts
rather than weakening the contract.
Examples
Next Step Routing
- Use this phase when the plan introduces new reusable scripts or changes to
how scripts are reviewed and registered.
- Use this phase when
ghidra-headless-frida-runtime-injection needs a new
reusable capture helper, a changed common-script behavior, or updated
coverage notes for one of the five supported Frida runtime scenarios.
- Use this phase when
ghidra-headless-frida-evidence needs reusable
normalization or manifest-generation logic rather than a one-off evidence
note.
- Return to evidence when a missing detail is really about replay surfaces,
artifact capture, or validation rather than script obligations.
- Return to this phase after
speckit generates artifacts so the same
checklist can catch weakened script-review requirements.
1---2name: ghidra-headless-script-review3description: Phase skill for reusable headless Ghidra script authoring, review, registration, and contract-based audit.4---56# Ghidra Headless Script Review78Use this phase skill when planning includes reusable headless Ghidra scripts,9script registration, or review expectations that must survive `speckit`10planning, including reusable Frida runtime-capture helpers, common-library11coverage changes, or manifest-generation logic that should not stay hidden in12phase-specific notes.1314The canonical contract is [`./planning-brief.md`](./planning-brief.md). Use it15to shape planning outputs and to audit generated artifacts for missing or16weakened script-review requirements.1718## Phase Focus1920This phase covers:2122- reusable headless Ghidra script authoring23- reusable Frida runtime-capture helper and common-library governance24- deterministic script inputs and outputs25- manifest-generation and normalization helper review26- script registration and naming expectations27- review checklist obligations for generated plans2829## Non-Negotiable Constraints3031- Headless-only workflow. Script usage must stay compatible with headless32 analysis flows.33- Evidence-backed claims. Script behavior and review findings must point to34 observable output or tracked examples.35- Reproducible workflow expectations. Script invocation, parameters,36 registration, and review steps must be replayable.37- Reviewable Markdown outputs. Generated planning artifacts and findings remain38 inspectable as Markdown.39- Runtime and evidence phases must escalate reusable helper, behavior-change,40 coverage-gap, or manifest-generation work here instead of weakening their own41 phase contracts.42- No downstream `speckit` extension or constitution change is required.4344## Required Inputs4546- planned script purpose and target workflow stage47- whether the request changes reusable Frida script-library coverage,48 invocation behavior, or manifest expectations49- expected script inputs, outputs, and deterministic behavior50- registration or naming expectations for reusable scripts51- capture-helper or manifest-generation obligations when Frida phases are in52 scope53- required review checklist items and failure handling54- optional local overlays that only tighten the contract5556## How To Use This Skill57581. Fill in [`./planning-brief.md`](./planning-brief.md) with the script scope,59 deterministic expectations, and review obligations.602. Provide the brief to `speckit` as a file or inline paste.613. Review the generated planning artifacts with the same contract.624. If runtime-injection or evidence-import work introduces reusable Frida63 helpers, output-shape changes, or missing common-library coverage, keep the64 change in this phase rather than pushing it back into the runtime or65 evidence contracts.665. If a required script rule is missing, refine or regenerate the artifacts67 rather than weakening the contract.6869## Examples7071- Audit-oriented example:72 [`./examples/script-authoring-review-audit.md`](./examples/script-authoring-review-audit.md)73- Contract violation example:74 [`./examples/contract-violation-example.md`](./examples/contract-violation-example.md)7576## Next Step Routing7778- Use this phase when the plan introduces new reusable scripts or changes to79 how scripts are reviewed and registered.80- Use this phase when `ghidra-headless-frida-runtime-injection` needs a new81 reusable capture helper, a changed common-script behavior, or updated82 coverage notes for one of the five supported Frida runtime scenarios.83- Use this phase when `ghidra-headless-frida-evidence` needs reusable84 normalization or manifest-generation logic rather than a one-off evidence85 note.86- Return to evidence when a missing detail is really about replay surfaces,87 artifact capture, or validation rather than script obligations.88- Return to this phase after `speckit` generates artifacts so the same89 checklist can catch weakened script-review requirements.