/act101:code-generationfrom act101
Generates boilerplate (constructors, accessors, builders, equals/hash, JSON serialization, toString, interface stubs, test stubs) from a type's existing fields. Previewed and reversible. Use when creating boilerplate from an existing class/struct or porting types across languages.
Ships in act101. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Classify. Data types (DTOs, models, value objects) get generated boilerplate; business logic is written by hand; an interface implementation gets generated stubs.
Read the type first. Boilerplate is generated from fields that already exist; never guess a field name. Make the type's name unique in the workspace before generating from it, so the generation lands on the intended type.
Prefer the language's native mechanism, and generate only what it does not provide:
| Language | Native mechanism |
|---|---|
| Rust | #[derive(Debug, Clone, PartialEq, Eq, Hash)] (+ serde derives for JSON) |
| Python | @dataclass (init/repr/eq) |
| C# | record types (equality, ToString, deconstruction) |
| Kotlin | data class |
| Scala | case class |
| Java | record (Java 16+) |
| Go | no native equals/hash — generation earns its keep |
| TypeScript | structural typing removes most equals/hash needs; generate guards and mapped types instead |
Preview before applying on a language where you have not yet seen the generated output.
Generate, then finish. Generate the boilerplate (below), then organize the file's imports, then generate tests last — they need the finished API — then confirm the touched files compile and type-check.
Generations that target the same type run one at a time, in this order. Concurrent runs each read the file and write their own version, so one change is silently lost:
Each file changed, what was generated in it, and how to revert it. A generation that was refused is reported with the refusal, never worked around by hand-writing the same code silently.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 skills in this plugin
/agent-safety-auditUse before an autonomous agent edits a sensitive or high-blast-radius file, or to judge an edit it already made. Composes secret surface, taint flow, blast radius, API width, and the repo scan into one safety verdict./architectural-refactoringUse when breaking circular dependencies, splitting god classes, reducing coupling between modules, extracting interfaces at seams, or executing any structural change identified by an architecture audit. Requires a prior architecture-audit run that produced project-map.md and a report./architecture-auditUse when asked to audit architecture, get the full structural picture of a codebase, assess overall health or porting readiness, or find module boundaries, circular dependencies, coupling hotspots, dead code, or code smells. Full hypothesis-driven audit, optionally enriched with coverage and git evidence./boundary-analysisUse when looking for extraction candidates, planning a module split, analyzing module boundaries, or asked "where should I split this?". Produces ranked extraction candidates with cut costs, layer violations, interface width, orphan types, and a decomposition sequence./change-impactUse before modifying a file or symbol, or when asked "what breaks if I change X?". Returns a blast-radius, test-coverage, and cycle-risk verdict immediately, with no follow-up investigation./code-navigationAnswers questions about code structure and bindings without reading whole files. Use when exploring unfamiliar code, mapping dependencies, reading an API surface, tracing call chains or data flow across files, or checking a function's side effects before changing it.npx claudepluginhub act101-ai/act101 --plugin act101Other plugins' skills for the same job