workflow-refactor

Pass

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill defines a structured workflow for code refactoring, utilizing standard developer tools and sub-agents. All script calls and file references are local to the project environment (e.g., .claude/scripts/lib/workflow-skill-contract.cjs and relative paths to other skills).
  • [INDIRECT_PROMPT_INJECTION]: The skill processes existing code for refactoring, which constitutes an ingestion point for untrusted data. While it lacks explicit boundary markers for the code being read, the risk is inherent to the task of code refactoring and is mitigated by mandatory quality gates, such as baseline testing and converged change reviews. Capabilities include file modification and test execution on the target codebase.
  • [COMMAND_EXECUTION]: The skill executes local scripts and tools (e.g., node .claude/scripts/lib/workflow-skill-contract.cjs) to maintain workflow consistency and run tests. These operations are restricted to the local environment and are essential for the skill's functional goal of refactoring code while preserving behavior.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 08:16 PM