add-rule
CommunityCreate verified transformation rules with tests
Software Engineering#codebase#verification#transformation#mapping#data-migration#closed-loop-test#inverse-mapping
Authorpzheng460
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Adds a disciplined, step-by-step process for introducing transformations, mappings, and converters while preventing subtle correctness regressions and undocumented behavior. It prevents incomplete implementations by enforcing a concrete example, an inverse mapping when required, and a strong correctness argument before proceeding.
Core Features & Use Cases
- Structured checklist for gathering source, target, algorithm, inverse mapping, correctness argument, example, and reference implementation.
- Closed-loop testing guidance that mandates source → target → solve → extract → verify to ensure round-trip correctness.
- Implementation and documentation requirements including registration in the project, example programs, and updates to docs; ideal for data migrations, type converters, compiler IR passes, and similar codebase transformations.
Quick Start
Use add-rule to implement a transformation from a verified source format to a target format with a concrete worked example and a closed-loop test.
Dependency Matrix
Required Modules
None requiredComponents
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: add-rule Download link: https://github.com/pzheng460/claude-workflow-plugin/archive/main.zip#add-rule Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.