csharp-code-calisthenics-reviewer
v0.1.0
Published
Deterministic C# code calisthenics review skill packaged as a raw skill bundle and Codex plugin.
Downloads
123
Readme
csharp-code-calisthenics-reviewer
csharp-code-calisthenics-reviewer is an npm-distributed skill package for reviewing a single C# file or small class against a narrow set of code-calisthenics rules and suggesting a deterministic refactor plan.
What v1 reviews
The skill checks exactly these 5 rules:
- Only one level of indentation per method
- Avoid
else - Wrap primitives in value objects when it makes sense
- First-class collections
- Small methods with intention-revealing names
The skill is instruction-heavy by design. It does not perform full automatic rewrites by default, but it may include short illustrative snippets when they clarify a proposed refactor.
Repo layout
src/
raw-skill/
SKILL.md
references/calisthenics-checklist.md
examples/input/OrderService.cs
examples/output/review.md
codex-plugin/
.codex-plugin/plugin.json
skills/csharp-code-calisthenics-reviewer/
bin/
installer.js
scripts/
build.js
.agents/
plugins/marketplace.jsonsrc/raw-skill is the canonical source. npm run build mirrors it into the Codex plugin skill folder and synchronizes the plugin manifest version from package.json.
Install
npm / npx
Build first:
npm install
npm run buildRun from the published package or locally:
npx csharp-code-calisthenics-reviewer install --target codex --scope personal
npx csharp-code-calisthenics-reviewer install --target codex --scope repo --path /path/to/repo
npx csharp-code-calisthenics-reviewer install --target dir --path /path/to/destination
npx csharp-code-calisthenics-reviewer install --target claude --path /path/to/destinationOptional flags:
--dry-run
--forceSkillfish
Use the raw skill bundle:
npx csharp-code-calisthenics-reviewer install --target dir --path /path/to/skills/csharp-code-calisthenics-reviewerCodex local plugin install
Personal install:
npx csharp-code-calisthenics-reviewer install --target codex --scope personalThis installs the plugin to ~/.codex/plugins/csharp-code-calisthenics-reviewer and creates or updates ~/.agents/plugins/marketplace.json.
Repo install:
npx csharp-code-calisthenics-reviewer install --target codex --scope repo --path /path/to/repoThis installs the plugin to <repo>/plugins/csharp-code-calisthenics-reviewer and creates or updates <repo>/.agents/plugins/marketplace.json.
Claude-compatible path copy
npx csharp-code-calisthenics-reviewer install --target claude --path /path/to/destinationThis performs an explicit path-based copy only. v1 does not assume or document an official Claude install location.
Build and verify
npm run build
python C:/Users/USUARIO/.codex/skills/.system/skill-creator/scripts/quick_validate.py src/raw-skill
npm packOn Windows PowerShell, if npm pack is blocked by npm.ps1 execution policy or by the global npm cache, use:
npm run pack:psMarketplace metadata
The Codex plugin manifest lives at src/codex-plugin/.codex-plugin/plugin.json.
The repository also includes .agents/plugins/marketplace.json as a repo-local marketplace catalog entry that points to ./plugins/csharp-code-calisthenics-reviewer. Installer runs generate or update marketplace entries at the chosen destination without duplicating existing entries.
