Fix finding

From CoWork-OS/CoWork-OS · View interactive version

Fix finding is an AI agent skill from the GitHub repository CoWork-OS/CoWork-OS. Use when the user explicitly asks to fix and verify a validated or plausible security finding. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

How to use this skill

Skill file

Fix Finding

Objective

Turn a security finding into a minimal, validated code change when the issue still exists. If the issue is already fixed, prove that with focused validation and report that no code change was needed. The result should include the fix if one was needed, focused regression tests or another repeatable validation check, proof that normal behavior still works, and proof that the original issue no longer reproduces.

Inputs

Start by extracting any available finding details:

If a critical field is missing, inspect the repository to fill it from code evidence. Ask the user only when the fix would otherwise require guessing a product policy or security invariant.

Note on Runtime Validation

Use this guidance whenever reproducing the finding, running tests, or validating the fix:

Workflow

  1. Scope the fix.
  1. Reproduce or encode the issue before fixing when feasible.
  1. Generate the fix.
  1. Add repeatable validation.
  1. Validate the fix works.
  1. Report the outcome with exact commands, results, changed files, and remaining risk.

Completion Checklist

Use this checklist before calling the fix complete:

Output Contract

In the final response, include:

If using a scan artifact directory, resolve it using ../../references/scan-artifacts.md, then write a visible report to the fix report path. If there is no existing scan directory, a final chat summary is sufficient unless the user asks for a file.

Hard Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.