rfxn/rdf/r-util-code-modernize

Claude Code and agent skill by rfxn/rdf

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Assess codebase modernization maturity and generate a phased remediation

Install

npx vskill@latest install rfxn/rdf/r-util-code-modernize

SKILL.md

The same SKILL.md was published earlier as rfxn/rdf/r-util-code-modernize.

Assess codebase modernization maturity and generate a phased remediation plan. This is a read-only assessment — it does NOT modify any project files.

Arguments

  • $ARGUMENTS — optional: project name or path (default: CWD)

Setup

Read .rdf/governance/index.md to identify:

  • Project name, language, and conventions
  • Verification checks (from governance/verification.md)
  • Anti-patterns (from governance/anti-patterns.md)
  • Constraints (from governance/constraints.md)

Procedure

1. Read project context
  • Read governance index and relevant governance files
  • Read PLAN.md if present (check for existing modernization phases)
  • Identify the project's language, framework, and toolchain
2. Run static analysis

Execute checks appropriate to the project's language:

For shell projects:

  • bash -n on all shell files
  • shellcheck on all shell files
  • Anti-pattern density (via code-scan pattern library)

For other languages:

  • Run the project's linter(s) as identified in governance/verification.md
  • Run type checker if applicable
  • Scan for language-specific anti-patterns from governance
3. Score 5 dimensions (0-100 each)

3a. Lint Score

  • Start at 100
  • Deduct per syntax/lint failure (severity-weighted)
  • Floor at 0

3b. Anti-Pattern Score

  • Start at 100
  • Deduct per anti-pattern instance (severity-weighted)
  • Floor at 0

3c. Test Coverage Score

  • 100: comprehensive suite with high coverage
  • 75: suite exists, moderate coverage
  • 50: basic tests exist
  • 25: minimal or broken tests
  • 0: no test infrastructure

3d. Documentation Score

  • 25 pts each for: primary docs (man page/API docs), README, CLI help/usage,

configuration documentation

3e. Dependency Hygiene Score

  • Score based on dependency management practices: version pinning,

shared library usage, vendoring strategy, upgrade paths

4. Map findings to phases

Group findings by logical unit (not by severity). Order phases by dependency: fixes before features, infrastructure before consumers.

5. Generate assessment report

# Modernization Assessment — <project> v<version>

## Maturity Scores

DimensionScoreGrade
LintXXA-F
Anti-PatternsXXA-F
Test CoverageXXA-F
DocumentationXXA-F
Dependency HygieneXXA-F
OverallXXA-F

Grade scale: A=90-100, B=80-89, C=70-79, D=60-69, F=<60

## Key Findings

  • <finding with file:line evidence>

...

## Remediation Phases

PhaseTitleEst. ScopeDependencies

...

## Recommended Next Steps

  1. <action> — <rationale>

...

6. Offer PLAN generation

After displaying the report, ask: "Generate PLAN-modernize.md with the remediation phases? [y/n]"

If yes, write PLAN-modernize.md using standard PLAN format.

Rules

  • Read-only assessment — do NOT modify any existing project files
  • Score objectively — do not inflate grades
  • Include evidence (file:line) for every finding
  • If PLAN.md already has modernization phases, note overlap and recommend

merging rather than duplicating

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
20
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rfxn/rdf/r-util-code-modernize/badge)](https://verified-skill.com/skills/rfxn/rdf/r-util-code-modernize)

Something wrong with this skill or its page? Tell us.