ワンクリックで
audit-fix
Fix security audit findings with a test-first approach
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Fix security audit findings with a test-first approach
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | audit-fix |
| description | Fix security audit findings with a test-first approach |
| disable-model-invocation | true |
An auditor has found a problem in this codebase. We are tasked with fixing the issue. The user will paste the auditor's concerns after invoking this command.
Follow these steps for all audit fixes:
Write tests that expose the faulty behaviour
Run tests against the current code
Commit the changes
Implement the fixes
Run tests again
Commit the fix
As you make progress, explain:
It's important that your commit messages are good, and accurately describe the changes. We also want the formats of these commits to match the "Conventional Commits". A summary of these rules:
The fix must be correct and fully address the audit finding. Security and correctness cannot be compromised.
The fix should be as concise as possible. Avoid over-engineering or unnecessary changes.
Many codebases are forks of upstream repositories. We want our diffs against the upstream code to perform well when we merge in upstream, which we do somewhat regularly.
Upstream branch names:
mainmasterdevelopChecking if a repo is forked:
If unsure whether the current repo is a fork, check for an upstream remote (git remote -v) or check the repo list in <workspace-root>/seismic/internal/crates/commit-tracker/repos.toml (where <workspace-root> is the parent directory containing all seismic repos as siblings).