add-part
Generates new ship part scripts and integrates them with the existing PartFactory, stat mutation, and balancing patterns.
Install
mkdir -p .claude/skills/add-part && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12068" && unzip -o skill.zip -d .claude/skills/add-part && rm skill.zipInstalls to .claude/skills/add-part
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Scaffold a new Starblaster Part (a slotted ship upgrade with Mk.1–9 scaling). Use when adding a new upgrade that mutates player stats. Implements the extend-Part / slot_type / apply+unapply / PartFactory pattern, checks balance, and verifies. Follows docs/contributing/04 and chains the part-author / economy-sim agents.Key capabilities
- →Gather intent for new player parts
- →Implement new parts via the `part-author` agent
- →Verify part compilation and ship compatibility
- →Register new parts in `PartFactory`
- →Conduct balance passes with the `economy-sim` agent
How it works
The skill guides the creation of a new Starblaster Part by gathering design intent, delegating implementation to `part-author`, verifying the part, and optionally performing a balance pass.
Inputs & outputs
When to use add-part
- →Create new ship upgrade parts
- →Implement Mk scaling logic for parts
- →Verify part compilation and ship compatibility
- →Check economic balance of new additions
About this skill
/add-part — guided Part scaffold
Full reference: docs/contributing/04-player-parts-economy.md. Parts are how the
player gets ANY stats — the ship starts at zero and Parts populate it.
Procedure
1. Gather intent
Confirm: which player stat(s) the Part affects, its slot_type (see
scripts/weapons/SlotTypes.gd for the slot enum), the Mk.1–9 scaling curve
(how the effect grows per mark), and roughly its cost tier. For balance
judgment (is the per-Mk delta worth the price?), consult the economy-sim /
game-design agents.
2. Implement via the part-author agent
The part-author agent owns this pattern:
- Extend
Part. - Set
slot_typein_init. apply(ship)— additive: add to the ship's stat AND record the delta.unapply(ship)— reverse exactly that recorded delta (so swapping/removing the Part cleanly undoes it — this is why the delta is recorded, not recomputed).- Mk scaling via the mark multiplier.
- Register the Part in
PartFactory(else it can't be offered/equipped).
3. Verify + ship
Run the /ship skill: parse_check + headless boot (confirm the Part script
compiles and the ship can equip it) + commit .uids + push + report to the user.
4. Balance pass (if it shifts the curve)
If the Part changes the power/cost curve meaningfully, run the economy-sim
agent to sanity-check run economics before considering it final. Mention the
relevant design docs (docs/archive/economy_2026-05-24.md,
docs/archive/weapon_mk_progression_2026-05-25.md) for context.
Notes
- For a pure data
.tresPart instance with no new code, the data-author agent is the lighter path; new behavior needs part-author (code). - Cross-refs:
docs/contributing/04, the "New Part" convention inCLAUDE.md.
When not to use it
- →When creating a pure data `.tres` Part instance without new code
- →When the part does not mutate player stats
- →When the `part-author` or `economy-sim` agents are unavailable
Limitations
- →Requires interaction with `part-author` and `economy-sim` agents
- →Parts must extend `Part` and set `slot_type`
- →Mk scaling is via the mark multiplier
How it compares
This skill provides a structured, agent-driven workflow for creating new game parts, ensuring adherence to specific game mechanics and balance considerations, unlike manual asset creation.
Compared to similar skills
add-part side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| add-part (this skill) | 0 | 1mo | No flags | Advanced |
| webapp-testing | 353 | 3mo | Review | Intermediate |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| telegram-bot-builder | 106 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
webapp-testing
anthropics
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
telegram-bot-builder
davila7
Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.
dev-browser
SawyerHood
Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", or any browser interaction request.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools