Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By LooSungv1.15.2MITIn 3 marketplaces
Keeps agent-written Java Spring and Python FastAPI backends on DDD architecture, naming the domain model and ports first. It checks finished code against Hard Rules, such as no framework imports in the domain; Kotlin Spring and NestJS support is experimental.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
3 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
AI ships the feature. OOPforge keeps the architecture.
OOPforge is a skill pack for coding agents working on Java Spring or Python FastAPI backends, with experimental support for Kotlin Spring and TypeScript NestJS. Before your agent writes business logic, it names the domain model, the use-case boundary, and the ports. Then it checks the result against measurable Hard Rules, which forbid God Services and framework code in the domain.
Works with Claude Code, Codex CLI, and Cursor Agent CLI.
| Pack | For | Stack |
|---|---|---|
| Compforge | Frontend | TypeScript + React |
| OOPforge (this repo) | Backend | Java Spring · Python FastAPI · Kotlin Spring and TypeScript NestJS (experimental) |
| FuseForge | One feature across both | Coordinates Compforge + OOPforge (experimental) |
Each pack works on its own. In Claude Code, the forge marketplace offers all three.
Claude Code, from the plugin marketplace (experimental):
/plugin marketplace add LooSung/oopforge
/plugin install oopforge@forge
If forge is already added from another Forge repo, skip the first line.
Plugin files sit outside your project, so allow reading them once:
read permission.
Codex CLI, or Claude Code without plugins, with the install script:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/LooSung/oopforge/main/scripts/setup/bootstrap.sh)"
The script clones ~/.oopforge and links it into Claude Code and Codex. Pick one
path per harness, then restart your agent. Cursor needs one manual step: Cursor setup.
Pinned releases, updates, and removal: install guide.
Start your agent from your backend project, not from ~/.oopforge:
/oopforge:craft Add a single Email value object
/oopforge:refactor Move the loan rules out of the controller without changing behavior
/oopforge:review Review PR 42
| Harness | How to call |
|---|---|
| Claude Code | /oopforge:craft <request> |
| Codex CLI | /skills → oopforge, then Use OOPforge craft: <request> (no leading /) |
| Cursor Agent CLI | cursor-agent --plugin-dir ~/.oopforge, then Use OOPforge craft: <request> |
| Command | Use it for | It never |
|---|---|---|
craft | Default. A use case, a value object, a domain bug | Skips required stages or widens scope silently |
refactor | Restructure without changing behavior | Adds features |
consult | Ask, compare, review, or write one plan document | Changes implementation or test code |
test | Run, write, or strengthen tests | Changes production behavior; E2E and infrastructure need approval |
crucible | Plan → build → refactor → test one change in one request | Builds before you approve the plan |
review | P1/P2/P3 findings on one diff, branch, or PR | Changes code or posts to a PR unless asked |
jira | One Jira card, or the child tasks of one epic or story | Touches anything but those issues |
Not sure which one? Use craft. It picks the smallest path.
Contract first. Before business logic, Craft states its Assumptions and an OOP Contract: aggregates, invariants, use cases, and ports.
Smallest path. Adding one value object stays small. A new domain or large feature goes through the full flow, and you approve each stage:
Discovery → Design → Delivery Plan → Skeleton → Implement → Test
Checked. Craft verifies the Hard Rules before it reports done: 300 lines per file, 20 per method, zero framework imports in the domain, one Aggregate per transaction.
Stacks: java-spring-layered, java-spring-hexagonal, python-fastapi-layered,
and python-fastapi-clean; experimental kotlin-spring-layered,
kotlin-spring-hexagonal, typescript-nestjs-layered, and
typescript-nestjs-hexagonal. Skeletons include OpenAPI/Swagger UI. Domain Events
and the outbox are core; Production Readiness is opt-in for deployment requests.
// Before: God Service, no domain model, rules scattered, hard to test
@Service
public class CalculatorService {
public CalculationResponse calculate(CalculateRequest req) {
repository.save(toEntity(req));
eventPublisher.publish(...);
}
}
7-day copy clicks
npx claudepluginhub loosung/oopforge --plugin oopforgeBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground