OpenParable
Skip to content
← Back to skills

Jumbo Add Component

Agent Building
jumbo-add-component

Jumbo Add Component is an Agent Skill for agent building published in the jumbocontext/jumbo.cli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use liberally when you create, discover, or modify a software component. Registers the component with Jumbo so future sessions have accurate architectural context.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/jumbocontext/jumbo.cli/blob/HEAD/assets/skills/jumbo-add-component/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/jumbo-add-component, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Add Component

Register a software component with Jumbo when you create one, discover an unregistered one, or significantly change one's responsibility.

Before Adding

Check for an existing component to avoid duplication. Consider renaming, updating, or deprecating and replacing a previously registered component before registering a new one.

Use the search subcommand to locate previously registered components:

jumbo components search -q <query>

Command Syntax

jumbo component add \
  --name "<ComponentName>" \
  --type "<service|db|queue|ui|lib|api|worker|cache|storage>" \
  --description "<What the component does>" \
  --responsibility "<Single responsibility>" \
  --path "<file-path>"

Bad Example

jumbo component add \
  --name "Utils" \
  --type "lib" \
  --description "Helper functions" \
  --responsibility "Various utilities" \
  --path "src/utils.ts"

Vague name, description, and responsibility. A future agent cannot determine what this component does or whether to use it.

Good Example

jumbo component add \
  --name "EventStreamProjectionBuilder" \
  --type "service" \
  --description "Rebuilds materialized projections from event streams by replaying events through registered projection handlers" \
  --responsibility "Projection rebuilding from event history" \
  --path "src/infrastructure/projections/EventStreamProjectionBuilder.ts"

Name is self-documenting. Description and responsibility tell a future agent exactly what the component does and when to interact with it.