BumpyClock/agent-templates / skills/programming
programming
UnverifiedImplement, debug, refactor, or review code with scoped changes and evidence.
references/gpui/references/new-component.md
View on GitHub# New components
Reuse an existing component when its public API satisfies the requested behavior.
For a new component, preserve the repository's component API and state ownership conventions.
Use a transient element for presentation without independent persistent state.
Use an entity when the component needs persistent state, observation, or a distinct lifetime.
Do not add every interactivity trait or a state entity merely to match a template.
Update public documentation when the new API requires it.
Add a story when requested or required by the repository.
Do not create a story framework as an incidental implementation step.
For API decisions, use [style guide](style-guide.md).
For relevant checks, use [component contracts](component-test-rules.md).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |