code-remediate

Solid

Codex-native code-remediation loop: triage/apply code-review findings, rerun checks, publish unresolved gaps with measurable gates; `$code-remediate #123 +review` remediates a PR from latest matching code-review artifact.

AI & Automation 23 stars 3 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 81/100

Stars 20%
46
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Code Remediate Run linear code remediation to close findings. ## Input Schema ```json { "findings_source": "optional path, explicit list, or +review/+report/report/latest to auto-select the newest matching review report", "mode": "optional report|pr|auto; infer pr for bare number, #number, or PR URL", "target": "optional shorthand target number, issue/PR URL, path, or current branch", "pr_target": "optional PR number, PR URL, or current branch PR when mode=pr", "remediation_scope": "optional all|critical|high|medium|low|comma-separated severities|comma-separated selection indexes; ask before editing when omitted", "target_scope": "required path/module", "done_when": "selected findings are fixed/resolved and unselected critical/high findings are explicitly deferred" } ``` ## Workflow (Exact Commands) ### 01: Create Run Directory Run `python PLUGIN_ROOT/shared/create_run.py --skill code-remediate` once. Retain its single printed path as `<run-directory>` and substitute that literal path into every later artifact path and helper argument. Never store or reuse the path through a shell variable; shell variables do not persist across tool calls. ### 02: Normalize Shorthand Input And Copy Findings Source Shorthand rules: - Canonical in-session: `$code-remediate #123 +review` => `mode=pr`, `PR_TARGET=123`, `FINDINGS_SOURCE=latest-matching-review-report`. - Compatibility alias: `$code-remediate #123 +report` => `mode=pr`, `PR_TARGET=123`, `FINDINGS_SOURCE=late...

Details

Author
Borda
Repository
Borda/AI-Rig
Created
5 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category