From omni-dsdd
Persists security or code review results to structured JSON and Markdown files for traceability. Called as a sub-step after completing any review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/omni-dsdd:report-persistenceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
After completing the review and reporting findings to the conversation, persist the results to files for traceability.
After completing the review and reporting findings to the conversation, persist the results to files for traceability.
The calling skill must provide:
REVIEW_TYPE: e.g. security-review, code-reviewFINDINGS: structured findingsSUMMARY: counts by severity (CRITICAL, HIGH, MEDIUM, LOW)VERDICT: APPROVE, WARNING, BLOCKFILES_REVIEWED: number of files reviewedFILES_CHANGED: list of changed file paths| Variable | Meaning |
|---|---|
CLAUDE_PLUGIN_ROOT | Plugin root (check-prerequisites scripts) |
CLAUDE_WORKING_DIR | Workspace directory (git cwd, fallback reports) |
FEATURE_DIR | Feature under ${CLAUDE_WORKING_DIR}/changes/... |
If CLAUDE_WORKING_DIR is missing: export CLAUDE_WORKING_DIR="$(pwd)" (do not use git rev-parse --show-toplevel).
Prefer source "${FEATURE_DIR}/.runs/env.sh" when FEATURE_DIR is already known.
FEATURE_DIR is set and the directory exists →
${FEATURE_DIR}/.runs/evaluations/${FEATURE_DIR}/${REVIEW_TYPE}.md (feature root, not under evaluations/)CLAUDE_WORKING_DIR):
cd "${CLAUDE_WORKING_DIR}" && bash "${CLAUDE_PLUGIN_ROOT}/scripts/bash/check-prerequisites.sh" --json --paths-only
Parse FEATURE_DIR from JSON; if valid, use paths as in (1).${CLAUDE_WORKING_DIR}/.runs/evaluations/ for JSON only; note fallback in report header.Create target directories if missing (mkdir -p).
Write ${REVIEW_TYPE}-summary.json under the evaluations directory with this structure:
{
"timestamp": "<ISO8601>",
"branch": "<current git branch>",
"commit": "<current commit hash, short>",
"files_reviewed": <number>,
"files_changed": ["<paths>"],
"findings": [
{
"severity": "CRITICAL|HIGH|MEDIUM|LOW",
"file": "<file path>",
"line": <line number or null>,
"category": "<issue category>",
"issue": "<issue description>",
"fix": "<suggested fix>",
"confidence": <0.0-1.0>
}
],
"summary": {
"CRITICAL": <count>,
"HIGH": <count>,
"MEDIUM": <count>,
"LOW": <count>
},
"verdict": "APPROVE|WARNING|BLOCK"
}
Use git -C "${CLAUDE_WORKING_DIR}" for branch/commit when recording metadata.
Write ${REVIEW_TYPE}.md to the feature directory root (when FEATURE_DIR is known), or document workspace fallback. Same content as the conversation output (findings + summary table + verdict), with timestamp, branch, and commit in the header.
findings array, verdict APPROVE).npx claudepluginhub zte-aicloud/co-omnispec --plugin omni-dsddSummarizes code review results into a compact markdown file saved to disk. Useful after /code-review or when user says 'summarize the review'.
Generates a self-contained HTML audit report with summary stats, per-finding triage/PoC/fix/review detail, and full activity log for the active repo or a named one.
Verifies code-review and security-review findings for false positives using deep codebase tracing, framework-aware analysis, and web research. Produces a .verified.md report.