coder:clone-behavior

Extract behaviors and reimplement software from scratch across SCAN, PLAN, IMPLEMENT, VERIFY, and COMPLETE phases.

1|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/CodeAlexx/Eri-Rpg --skill coder-clone-behavior
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coder:clone-behavior
Source: https://github.com/CodeAlexx/Eri-Rpg/tree/main/erirpg/skills/coder-clone-behavior
Command: npx skills add https://github.com/CodeAlexx/Eri-Rpg --skill coder-clone-behavior

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Clone programs by extracting behavior rather than copying code, enabling a clean, idiomatic reimplementation that preserves functionality.

Core Features & Use Cases

  • Behavior extraction and BEHAVIOR.md creation for each module
  • Phase-driven target-language reimplementation with verification
  • End-to-end clone workflow including ROADMAP, REQUIREMENTS, and CLONE-VERIFICATION

Quick Start

Clone a project by extracting its behaviors and reimplementing from scratch using a source path and a new project name.

Frequently Asked Questions about coder:clone-behavior

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clone software behavior without copying the source code?

To clone software behavior without copying source, you extract functional behaviors into a BEHAVIOR.md file and reimplement the logic from scratch. This approach produces idiomatic target-language code that preserves the original program's functionality.

What is the best way to rewrite a project in a different programming language while keeping its functionality?

Rewriting a project in a different programming language while keeping functionality requires a phase-driven process: SCAN, PLAN, IMPLEMENT, VERIFY, and COMPLETE. This ensures the new codebase is idiomatic to the target language and passes verification reporting against original behaviors.

Do I need to generate a roadmap before starting a behavior-driven code rewrite?

Yes, generating a ROADMAP is a required phase before implementation in a behavior-driven code rewrite. It structures the reimplementation process alongside BEHAVIOR.md requirements to ensure all extracted functionalities are systematically tracked and rebuilt.

How does behavior extraction differ from direct code translation for multilanguage projects?

Behavior extraction focuses on documenting what a program does rather than how it is written, avoiding direct code translation pitfalls. This allows a clean, idiomatic reimplementation in the target language instead of porting syntax structures that may not fit.

Can I verify that a rewritten module matches the original software's behavior?

Yes, you can verify that a rewritten module matches the original software's behavior through the VERIFY phase. This step generates a CLONE-VERIFICATION report to confirm the production-grade reimplementation satisfies the explicit BEHAVIOR.md requirements.

What should I do if my behavior clone is not passing verification in the target language?

If a behavior clone is not passing verification, you should revisit the SCAN and PLAN phases to ensure the BEHAVIOR.md accurately captures the original module's requirements. The CLONE-VERIFICATION report will highlight where the reimplementation diverges from expected functionality.