Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

improvement

БесплатноБез исполняемых скриптовНе проверен

Guide for making improvements to existing ClaudeBar functionality using TDD. Use this skill when: (1) Enhancing existing features (not adding new ones) (2)…

tddworksот tddworks★ 1 605 звёзд на GitHub18 установок в других каталогах

Об этом скилле

Improve ClaudeBar Feature

Make improvements to existing functionality using TDD and rich domain design.

When to Use This vs Other Skills

Scenario Skill to Use
Enhance existing behavior improvement (this skill)
Fix broken behavior fix-bug
Add new feature implement-feature
Add new AI provider add-provider
A new report card over usage history add-report

Workflow

┌─────────────────────────────────────────────────────────────┐
│  0. CHECK THE DESIGN (docs are the source of truth)          │
├─────────────────────────────────────────────────────────────┤
│  • Read USER_JOURNEYS, CANONICAL, TARGET, design.md          │
│  • Think the domain: how should it be? (domain-shape.md)     │
│  • Does the improvement change a law, an owner, a word?      │
│  • If so: write it into the docs, ask the user to confirm    │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼ (design confirmed, or unchanged)
┌─────────────────────────────────────────────────────────────┐
│  1. UNDERSTAND CURRENT STATE                                 │
├─────────────────────────────────────────────────────────────┤
│  • Read existing code                                        │
│  • Understand current behavior                               │
│  • Identify what to improve                                  │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│  2. WRITE TEST FOR IMPROVED BEHAVIOR (Red)                   │
├─────────────────────────────────────────────────────────────┤
│  • Test describes the IMPROVED behavior                      │
│  • Test should FAIL initially                                │
│  • Keep existing tests passing                               │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│  3. IMPLEMENT & VERIFY (Green)                               │
├─────────────────────────────────────────────────────────────┤
│  • Implement the improvement                                 │
│  • New test PASSES                                           │
│  • All existing tests still pass                             │
└─────────────────────────────────────────────────────────────┘

Phase 0: Check the design

The design docs are the source of truth (AGENTS.md). Read the design in order — USER_JOURNEYS.md, CANONICAL_MODEL.md, TARGET_ARCHITECTURE.md, then the feature's design.md. An improvement that only makes the code match the docs needs no approval. One that changes a law, its owner, a word the screen prints, or adds a piece is a design change: write it into the docs and ask the user to confirm before coding.

Think the domain first. Before changing code, ask how the domain should be, from the person's problem rather than the class at hand. Ask the seven questions of the types the improvement touches (would the person say it, does the thing decide about itself and alone, can you see every state, is it as small as it can be, is what differs data, does it change for one reason, is each concern on its own side) and refine them in the same change → domain-shape.md. An improvement is the usual moment to fit a type to its shape; a new aggregate or a moved owner is a design change, confirmed first.

Types of Improvements

1. UX Improvements

Enhance user experience without changing core logic:

Examples:
- Settings view scrolls on small screens
- Better loading indicators
- Improved accessibility
- Cleaner visual layout

Test approach: a mockup in design-concept/<feature>/ first for a visible change, then the real UI on mock data (scripts/demo-screenshots.sh) — never real names, emails or usage. Views render and tell; a rule they need lives in the domain.

2. Domain Improvements

Enhance a rule on the type that owns it (CANONICAL §5) — tell, don't ask:

Examples:
- A status the view used to work out moves onto its owner
- A better status calculation
- Better encapsulation of an invariant

Never a new field on UsageSnapshot: the kernel is shrinking toward Usage (CANONICAL §6). Put the rule on the value or aggregate that owns it.

Test approach: State-based tests on the owner

@Test func `should be critical when a tenth is left`() {
    let quota = UsageQuota(percentRemaining: 10, quotaType: .session, providerId: "claude")
    #expect(quota.status == .critical)
}

3. Data Source I

Полный SKILL.md на GitHub

Установить improvement в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл improvement?

Guide for making improvements to existing ClaudeBar functionality using TDD. Use this skill when: (1) Enhancing existing features (not adding new ones) (2) Improving UX, performance, or code quality (3) User asks "improve X", "make Y better", or "enhance Z" (4) Small enhancements that don't require full architecture design For NEW features, use implement-feature skill instead.

Как установить скилл improvement?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл improvement запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить improvement с