finding-normalizer
Turns mixed raw evidence from docs, tests, runtime checks and advisory feeds into stable finding entries with ids, severity, effort and status, deduplicating records of the same risk. Use when raw security or audit evidence must become report-ready findings JSON, or when findings or retest statuses need normalizing, validating or stable ids.
- License 许可
- MIT
- 所属仓库
- Eliyce/paqad-ai
- 最近更新
- 2026-11-13
- Stars
- ★ 8
- Forks
- 0
01 前言 Front Matter
- name
- finding-normalizer
- metadata
- { "cacheable": "false", "model_tier": "medium", "paqad-meta": "skill.meta.yaml", "output_format": "json" }
- description
- Turns mixed raw evidence from docs, tests, runtime checks and advisory feeds into stable finding entries with ids, severity, effort and status, deduplicating records of the same risk. Use when raw security or audit evidence must become report-ready findings JSON, or when findings or retest statuses need normalizing, validating or stable ids.
02 资源文件 6
- 参考文档agents/openai.yaml125 B
- 资产文件assets/output.template.json458 B
- 资产文件assets/vocabulary.txt1.8 KB
- 参考文档references/finding-fields.md220 B
- 脚本scripts/validate-findings.sh1.9 KB
- 参考文档skill.meta.yaml326 B
03 SKILL.md 正文
What It Does
Normalizes evidence from docs, tests, runtime checks, and advisory feeds into stable finding entries with consistent ids, severity, effort, and reproduction data.
Finding-id prefixes recognised by the normalizer are listed under # code-prefix in assets/vocabulary.txt:
PEN-*: pentest findings (security workflow).DT-*: design-test findings (design-system audit workflow). Categories:token | component | state | a11y | responsive | motion | copy | performance | documentation-drift.tokenfindings default to high severity to surface hard-coded design values (hex literals, raw px/rem, ad-hoc font stacks where a token exists).SM-*: site-map findings (site-map / site-map-retest workflow;docs/site-map/<ts>.json). The id is a content-addressedSM-<hash8>; theSM-ADD | SM-REMOVE | SM-EDGE-STALE | SM-GUARD-DRIFT | SM-JOURNEY-BROKEN | …names arecategoryvalues, listed under# site-map categoryinassets/vocabulary.txt.MD-*: prospective module decisions. Stored under.paqad/decisions/module-decisions/<id>.yml; the consumer is the Attribution Gate, not the pentest workflow. Treat severity/effort/status as advisory only forMD-*, the binding state machine lives insrc/module-decisions/schema.ts.
Use This When
After raw security evidence has been collected and needs to be turned into report-ready findings or retest statuses.
Inputs
- Read the structured evidence payload first.
- Read
references/finding-fields.mdbefore setting severity or effort. - Read retest state when the workflow is
pentest-retest.
Procedure
- Deduplicate findings that describe the same risk surface.
- Pick severity, effort, and status from the closed sets in
assets/vocabulary.txt. - Preserve ids and prior statuses when normalizing retest output.
- Format the JSON exactly per
assets/output.template.json. - Validate with
scripts/validate-findings.sh: checks required fields, vocabulary, and id uniqueness.
Output Contract
- Match
assets/output.template.json: a JSON array of findings withid, title, severity, effort, impact_area, evidence, reproduction, status(plus optionalwstg_id/owasp_2025). severity,effort,statusmust come fromassets/vocabulary.txt.- Output must pass
scripts/validate-findings.sh(exit 0).
Escalate / Stop Conditions
- Ask when two evidence records appear to describe overlapping but not identical risks.
- Warn when the available evidence is too thin to support the proposed severity.
- Do not inflate severity to compensate for missing detail.
Resources
references/finding-fields.mdscripts/validate-findings.shassets/output.template.jsonassets/vocabulary.txtagents/openai.yaml
04 同仓库更多 Skills
sample-skill
Sample bundled skill fixture
processing-invoices
Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.
processing-invoices
Turns a supplier invoice into one ledger line. Use when a supplier invoice arrives and needs booking.
understand-idea
Chat and Claude Code: Step 1 of the discover journey: clarifies the goal, who benefits, success and constraints into the idea block. Use when the journey directs it to step 1, not directly.
size-work
Chat and Claude Code: Suggest a size for a ticket from comparable finished work, as a labelled suggestion the team still owns. Use it when someone asks "how big is this?", "roughly how much work is ABC-12?", or wants a backlog item sized. It finds the team's sizing scale at first use, picks two to five of the closest finished tickets with links, and gives a size or range with the drivers behind it and a confidence of low, medium or high, lowered and explained when the area's documents are template text. Every result is labelled a suggested size, never a date or a commitment. It writes nothing into the size field unless the user says "set it", and it refuses to overwrite an existing size unless the user asks to replace it. Produces the sizing block of the record.
refine-ticket
Chat and Claude Code: Improve one or more existing tracker tickets without losing the author's intent. Use it when someone wants a ticket read, diagnosed and tidied up ("this ticket is vague", "fix up ABC-12", "split this, it's too big"). It reads each ticket in full and snapshots it with its last-updated time, says what is wrong with evidence, and proposes a field-by-field before and after change set limited to summary, description, labels, parent, links and new child tickets on a split. It writes nothing until an explicit "apply it" bound to that exact change set, re-checks the ticket for conflicting edits just before writing, never replaces rich descriptions with plain text, never deletes or closes a ticket, and reads each ticket back after applying. Produces the existing and changes blocks of the record.