verify-rsn-fix

Community

Restore broken snippet refactoring safety.

Authortolonlo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you recover when Refactoring Safety Net (RSN) checks fail after you change code inside a vuln-code-snippet block, preventing snippet and “Fix It” variations from drifting out of sync.

Core Features & Use Cases

  • Detect RSN breaks with a single check: Run the project RSN validator to identify exactly which challenge codefix files no longer match the locked snippet state.
  • Map source snippets to codefix outputs: Determine the affected challengeName snippets by finding the corresponding vuln-code-snippet blocks and the matching codefix files.
  • Apply consistent, intent-preserving repairs: Update all related codefix files so non-vulnerable lines stay identical while corrected vulnerable lines reflect the intended fix in the _correct variant.

Quick Start

Run the RSN check with npm run rsn, then update the listed data/static/codefixes challengeName_*.ts files to match the modified snippet block and re-run npm run rsn to confirm it passes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: verify-rsn-fix
Download link: https://github.com/tolonlo/FinalCiber/archive/main.zip#verify-rsn-fix

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.