# 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.

- Skill name: `jumbo-add-component`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/jumbocontext/jumbo.cli/blob/HEAD/assets/skills/jumbo-add-component/SKILL.md
- Repository: jumbocontext/jumbo.cli (262 GitHub stars when collected)

## SKILL.md

# 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:

```bash
jumbo components search -q <query>
```

## Command Syntax

```bash
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

```bash
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

```bash
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.

---

Source: https://www.openparable.com/skill/agent-building/jumbo-add-component (OpenParable). Cite the canonical URL above.
