| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Plugins that bring Extreme Programming and Clean Code discipline to AI-assisted development: one for how code gets built, one for validating that a pull request lives up to it. Works with Cursor (Team Marketplace) and Claude Code.
At Hivemind Technologies, we build scalabe data platforms and machine learning systems for finance, energy and mobility sectors. Our engineering culture is rooted in the belief that software quality is not a trade-off against delivery speed — it is what makes sustained delivery possible. We practice test-first development, design through small increments, and treat code clarity as a first-class concern. This skill is a direct expression of those values, made available for AI coding agents.
AI coding agents are remarkably capable, but left unconstrained they tend toward the same failure modes as a talented developer working without discipline: skipping tests, over-engineering, and conflating building with cleaning. This skill gives Claude Code a concrete methodology to follow — one that engineers have used to ship reliable software for decades.
It encodes eight principles:
Requires a Cursor Teams or Enterprise plan and admin access.
For private repos, install the Cursor GitHub App on the org/repo first (Dashboard → Integrations). Enable Auto Refresh if you want pushes to re-index the marketplace.
Personal / local (no Team Marketplace): symlink skills into ~/.cursor/skills/:
mkdir -p ~/.cursor/skills
ln -s "$(pwd)/plugins/xp-clean-code/skills/xp-clean-code" ~/.cursor/skills/xp-clean-code
ln -s "$(pwd)/plugins/pr-validation/skills/pr-validation" ~/.cursor/skills/pr-validationOr load a plugin from ~/.cursor/plugins/local/ (symlink a plugin directory that contains .cursor-plugin/plugin.json).
As a plugin (recommended — applies across all projects):
Add the repo as a plugin source in ~/.claude/settings.json:
{
"extraKnownMarketplaces": {
"xp-clean-code": {
"source": {
"source": "github",
"repo": "HivemindTechnologies/xp-clean-code"
}
}
}
}Then open Claude Code and run /plugin to browse and install.
Per-project (append to an existing CLAUDE.md):
echo "" >> CLAUDE.md
curl https://raw.githubusercontent.com/HivemindTechnologies/xp-clean-code/main/plugins/xp-clean-code/skills/xp-clean-code/SKILL.md >> CLAUDE.md.cursor-plugin/
└── marketplace.json # Cursor Team Marketplace index
.claude-plugin/
└── marketplace.json # Claude Code marketplace index
plugins/xp-clean-code/ # how to build
├── .cursor-plugin/
│ └── plugin.json # Cursor plugin manifest
├── .claude-plugin/
│ └── plugin.json # Claude Code plugin manifest
└── skills/
└── xp-clean-code/
├── SKILL.md # Core principles — loaded on demand
└── references/
├── testing-patterns.md # Framework examples: Scala, Java, Python, PySpark,
│ # TypeScript, Rust, Gherkin
├── total-types.md # Option/Either/ADT idioms per language; result-type
│ # conformance properties
└── scenario-examples.md # Worked BDD scenarios across common problem types
plugins/pr-validation/ # verifying what was built
├── .cursor-plugin/
│ └── plugin.json
├── .claude-plugin/
│ └── plugin.json
├── commands/
│ └── pr-validate.md # /pr-validate — runs the check against a GitHub PR
└── skills/
└── pr-validation/
├── SKILL.md # The four analyses — loaded on demand
└── references/
├── purity-checklist.md # Impurity signals + absence-vs-failure signals:
│ # Python, Scala, Java, TypeScript, Rust
├── gap-patterns.md # Eleven coverage gap patterns, with before/after scenarios
└── claim-verification.md # Mutation catalogue for the removal check
The reference files are loaded on demand. SKILL.md stays lean in context; the detail is there when the agent needs it.
Where xp-clean-code governs how to build, pr-validation checks that what was built holds up. Run /pr-validate on a PR — or ask Claude to review one — and it produces a structured report across four analyses:
This skill focuses on how to build. If you also want to constrain how to reason — surface assumptions, avoid over-complication, make surgical changes — it pairs naturally with andrej-karpathy-skills. The two address different failure modes and do not overlap.
MIT
| Back | FazBrowse Home | New Git URL |