Skip to content
Back to skills

oopforge

ASecurity

Guides Java Spring and Python FastAPI backend work, plus experimental Kotlin Spring and TypeScript NestJS, with OOP/DDD modeling, layered or hexagonal/clean architecture, and CQRS. Use when building, refactoring, testing, reviewing a diff or pull request, consulting on, or writing one Jira card or the child tasks of one epic or story for a backend service, REST/HTTP API, or business feature in Java, Kotlin, Python, or NestJS, or for the Craft, Refactor, Consult, Test, Crucible, Review, and Ji...

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 25, 2026
developmentjavascripttypescriptpythongojavakotlinnextjsfastapispringtesting

Works with

  • claude code
  • cursor
  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 25, 2026

npx -y skills add LooSung/oopforge --skill skills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of oopforge?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for oopforge
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loosung-oopforge-oopforge/badge)](https://www.skillsdirectory.com/skills/loosung-oopforge-oopforge)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oopforge
description: Guides Java Spring and Python FastAPI backend work, plus experimental Kotlin Spring and TypeScript NestJS, with OOP/DDD modeling, layered or hexagonal/clean architecture, and CQRS. Use when building, refactoring, testing, reviewing a diff or pull request, consulting on, or writing one Jira card or the child tasks of one epic or story for a backend service, REST/HTTP API, or business feature in Java, Kotlin, Python, or NestJS, or for the Craft, Refactor, Consult, Test, Crucible, Review, and Jira workflows.
license: MIT
compatibility: Claude Code, Codex CLI, Cursor Agent, and Agent Skills-compatible clients with access to the complete OOPforge pack.
metadata:
  stability: stable
---

# OOPforge

When an OOPforge invocation contains `OOPFORGE_ACTIVATION_PROBE`, output these
three lines and stop without reading supporting files:

```text
OOPFORGE_LOADED
Assumptions
OOP Contract
```

Use this skill when the user asks for OOPforge, DDD/OOP modeling, clean or hexagonal architecture, domain-first implementation, or the `/oopforge:craft` prompt — and also for everyday backend build requests in a supported stack (e.g. "make a calculator", "build an order API"), so they are governed instead of free-formed.

**Stack scope:** OOPforge targets **Java Spring** and **Python FastAPI** backends, plus experimental **Kotlin Spring** and **TypeScript NestJS**. If a request leaves the language unspecified, steer the user to a supported stack rather than picking one silently. If it targets an unsupported stack (other JavaScript/TypeScript backends, frontend UI, mobile, CLI), tell the user OOPforge does not apply there — a Next.js app belongs to Compforge; only build it as a plain (non-OOPforge) task if the user explicitly insists. See `lang/backend-stack.md`.

## Command Routing

Treat **`/oopforge:craft`** as the default OOPforge entry point on **Claude Code**. Use **`/oopforge:refactor`** for behavior-preserving cleanup, **`/oopforge:consult`** for advisory work, **`/oopforge:test`** to verify, write, or strengthen tests without changing production behavior, **`/oopforge:crucible`** to run plan → build → refactor → test in one request, **`/oopforge:review`** for prioritized findings on one finished diff, branch, or pull request without changing code, and **`/oopforge:jira`** to write one Jira work card, or the child tasks of one existing epic or story, without touching code.

On **Codex CLI**, do not type OOPforge `/` commands at the composer — Codex reserves `/` for built-ins. Use `/skills` or `$oopforge` → **oopforge**, then `craft: …`, `refactor: …`, `consult: …`, `test: …`, `crucible: …`, `review: …`, or `jira: …` without a leading `/`.

On **Cursor Agent CLI**, use the explicit local-plugin or project-local skill
setup documented in `../docs/setup/cursor.md`, then use natural-language intents
such as `Use OOPforge craft: …`, `Use OOPforge refactor: …`, `Use OOPforge
consult: …`, `Use OOPforge test: …`, `Use OOPforge crucible: …`, `Use OOPforge review: …`, or `Use OOPforge
jira: …`. OOPforge `/`
commands are not Cursor headless entry points.

## Project vs pack (paths)

- **Pack** — `~/.oopforge` or `$OOPFORGE_HOME`; when loaded as a Claude Code plugin, the plugin root (the parent of this `skills/` directory): skills, commands, examples. Not where user app code lives.
- **Target project** — the repo the user is working on; start the agent **from this directory** (`cd your-project && codex`).
- **OOPforge maintenance** — if the user asks to change OOPforge itself, the pack repository is the work target; do not reject it as the wrong directory.
- User file paths (`docs/foo.md`, `@path`, absolute paths) resolve against the confirmed work target. For app work this is the target project, never the pack. If missing, ask for an absolute path — do not search only under `~/.oopforge`.

| Prompt | Read first | Output |
|---|---|---|
| `/oopforge:craft …` (Claude) or `Use OOPforge craft: …` (Codex/Cursor) | `workflow/craft.md` + `workflow/gates.md` + `principles/oop-discipline.md` | select the smallest OOP path; execute unless advisory only |
| `/oopforge:refactor …` (Claude) or `Use OOPforge refactor: …` (Codex/Cursor) | `workflow/refactor.md` + `workflow/gates.md` + `principles/oop-discipline.md` | preserve behavior while improving one structural decision |
| `/oopforge:consult …` (Claude) or `Use OOPforge consult: …` (Codex/Cursor) | `workflow/consult.md` | answer, propose, review, or explicitly write one planning document without implementation changes |
| `/oopforge:test …` (Claude) or `Use OOPforge test: …` (Codex/Cursor) | `workflow/test.md` + `workflow/gates.md` | verify, write, or strengthen tests within an explicit test-only write scope |
| `/oopforge:crucible …` (Claude) or `Use OOPforge crucible: …` (Codex/Cursor) | `workflow/crucible.md` + `workflow/gates.md`; each stage's file read on entry | Consult plan → stop for approval → Craft → Refactor when earned → Test gap pass; one report |
| `/oopforge:review …` (Claude) or `Use OOPforge review: …` (Codex/Cursor) | `workflow/review.md` | P1/P2/P3 findings on one diff, branch, or pull request at a recorded base commit; posts only on explicit request |
| `/oopforge:jira …` (Claude) or `Use OOPforge jira: …` (Codex/Cursor) | `workflow/jira-card.md`; `workflow/jira-children.md` for the children of one existing epic or story | one card, or that parent's `[F.E]` `[B.E]` `[AI]` `[DOC]` tasks; writes to Jira only on explicit request |

Use Craft as the default when the user does not know which path fits. Existing Craft refactor requests remain valid for v1.x compatibility; the explicit Refactor intent narrows authorization to behavior-preserving work. Do not force the full Discovery→Test pipeline for small, focused tasks.

Natural language also works, for example: "Use OOPforge Discovery for the payment domain."

## Workflow Rules

1. Read the routed workflow file before producing output. After context
   compaction, read it again before the next step: files read earlier in the
   session are not re-attached.
2. Read only the relevant OOP or language skill files needed for the task.
3. For `/oopforge:craft`, follow `workflow/craft.md`; it owns classification, OOP Contract, and the execution path. `workflow/gates.md` owns startup, plan input, verification, and the completion report for Craft, Refactor, Test, and Crucible.
4. For an explicit Refactor request, use the `workflow/gates.md` gates, select `workflow/refactor.md` without reclassification, and preserve behavior.
5. For Consult, follow `workflow/consult.md`; default to read-only and write one planning document only after explicit document wording.
6. For an explicit Test request, use the `workflow/gates.md` gates and `workflow/test.md`; never change production behavior or infer E2E.
7. For Crucible, follow `workflow/crucible.md`; it runs the existing workflows in order and stops for plan approval.
8. For Review, follow `workflow/review.md`; report findings on one change and change nothing.
9. For Jira, follow `workflow/jira-card.md` for one issue. When the request creates the children of an existing epic or story, follow `workflow/jira-children.md` instead. Change nothing else.
10. Keep the normal order for new work: Discovery -> Design -> Delivery Plan -> Skeleton -> Implement -> Test.
11. Ask for human approval before moving from one workflow stage to the next.
12. Do not merge planning, implementation, and verification in a single step unless the user explicitly asks.
13. Add `workflow/production-readiness.md` only when the user explicitly asks
   about deployment, production, or operational readiness; ordinary feature
   requests never activate it.

## Supporting Skills

Delivery stages, in order: `workflow/discovery.md` → `workflow/design.md` →
`workflow/delivery-plan.md` → `workflow/skeleton.md` → `workflow/implement.md` →
`workflow/test.md`. Resume and session cut: `workflow/continuity.md`.

Playbooks:
- Feature: `playbooks/feature.md`
- Bug fix: `playbooks/bug-fix.md`

Core OOP:
- Domain model: `oop/domain-model.md`
- Domain Events and Integration Events: `oop/domain-events.md`
- Use-case boundary: `oop/use-case-boundary.md`
- Transaction boundary (one Aggregate per TX): `oop/transaction-boundary.md`
- Transactional Outbox (state change + event in one commit): `oop/outbox.md`
- CQRS (read/write split, medium): `oop/cqrs.md`

Backend stack and skeleton:
- Stack selection (layered or hexagonal/clean): `lang/backend-stack.md`
- Python FastAPI boundary typing and validation: `lang/python-pydantic.md`
- Kotlin Spring Hard Rule forms (experimental): `lang/kotlin-spring.md`
- TypeScript NestJS Hard Rule forms (experimental): `lang/typescript-nestjs.md`
- Package structure / skeleton: `skeleton/backend-skeleton.md`
- Lint enforcement (architecture tests): `skeleton/lint-enforcement.md`
- TypeScript NestJS lint enforcement (experimental): `skeleton/lint-enforcement-typescript.md`

Conditional workflow:
- Testing: `workflow/test.md`
- Production readiness (explicit opt-in only): `workflow/production-readiness.md`
- Consultation (experimental): `workflow/consult.md`
- Review (experimental): `workflow/review.md`
- Jira card (experimental): `workflow/jira-card.md`
- Jira children (experimental): `workflow/jira-children.md`

Skill maturity is recorded in `stability.json`; current harness and stack
support boundaries are defined by `../docs/reference/support-scope.md`.

Anti-patterns:
- Flat package: `antipatterns/flat-package.md`
- Anemic domain: `antipatterns/anemic-domain.md`
- Fat controller: `antipatterns/controller-fat.md`
- Repository with business logic: `antipatterns/repository-with-business-logic.md`
- God Aggregate: `antipatterns/god-aggregate.md`

Files in this skill

  • SKILL.md9.6 KB
  • antipatterns/anemic-domain.md2.4 KB
  • antipatterns/controller-fat.md2.3 KB
  • antipatterns/flat-package.md2.3 KB
  • antipatterns/god-aggregate.md2.5 KB
  • antipatterns/repository-with-business-logic.md2.4 KB
  • lang/backend-stack.md3.9 KB
  • lang/kotlin-spring.md4 KB
  • lang/python-pydantic.md3 KB
  • lang/typescript-nestjs.md5.7 KB
  • oop/cqrs.md3.8 KB
  • oop/domain-events.md4.6 KB
  • oop/domain-model.md2.2 KB
  • oop/outbox.md7.4 KB
  • oop/transaction-boundary.md3.1 KB
  • oop/use-case-boundary.md2.1 KB
  • playbooks/bug-fix.md1.7 KB
  • playbooks/feature.md1.5 KB
  • principles/oop-discipline.md7.3 KB
  • skeleton/backend-skeleton.md5.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.