Agent skill

Improvement

by tddworks in tddworks/ClaudeBar

Guide for making improvements to existing ClaudeBar functionality using TDD.

Apache-2.0Auto-check passedTesting & QA

Install Improvement

skills CLI
$ npx skills add tddworks/ClaudeBar --skill improvement -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tddworks/ClaudeBar improvement --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tddworks/ClaudeBar.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/improvement .claude/skills/improvement && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
improvement
GitHub stars
1.5k
Token cost
~2.1k tokens
SKILL.md length
537 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guide for making improvements to existing ClaudeBar functionality using TDD.

  • Enhancing existing features (not adding new ones)
  • SKILL.md covers When to Use This vs Other Skills, Workflow, Phase 0: Check the design and Types of Improvements, plus 4 more sections
  • Calls xcodebuild
  • User asks improve X

What it does

Improvement is an agent skill from tddworks/ClaudeBar. 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.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test-driven development and Code quality. The repository describes itself as: A macOS menu bar application that monitors AI coding assistant usage quotas. Keep track of your Claude, Codex, Antigravity ,and Gemini usage at a glance. The licence is Apache-2.0.

When your agent uses it

  • Enhancing existing features (not adding new ones)
  • User asks improve X
  • Small enhancements that dont require full architecture design For NEW features
  • Use implement-feature skill instead

Example prompts

  • “improve X”
  • “make Y better”
  • “enhance Z”
  • “/improvement”

What it can do on your machine

Read from SKILL.md and the folder at commit 35486e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • xcodebuild

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Improvement loads about 2.1k tokens when it runs. Until then it costs about 98 tokens; SKILL.md has 537 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~98
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tddworks/ClaudeBar at commit 35486e8, republished under its Apache-2.0 licence (© tddworks). 537 words, ~2,149 tokens.

Download SKILL.mdSave it as .claude/skills/improvement/SKILL.md (or your agent's skills folder).
name
improvement
description
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.

Improve ClaudeBar Feature

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

When to Use This vs Other Skills

ScenarioSkill to Use
Enhance existing behaviorimprovement (this skill)
Fix broken behaviorfix-bug
Add new featureimplement-feature
Add new AI provideradd-provider
A new report card over usage historyadd-report

Workflow

┌─────────────────────────────────────────────────────────────┐
│  0. CHECK THE DESIGN (docs are the source of truth)          │
├─────────────────────────────────────────────────────────────┤
│  • Read USER_JOURNEYS, CANONICAL, TARGET, design.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.

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

swift
@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 Improvements

Make fetching or reading usage better: a provider's definition, or a generic worker in DataSources that every definition can use:

Examples:
- Better error messages (a `text` mapping's error phrases, a `UsageError` hint)
- More robust reading (a new JSON mapping rule instead of a script)
- Timeouts, `cache.ttl`, a remembered rate limit
- A fallback or hand-off (`fallback`, `fallbackOn`)

Test approach: golden tests that run the real definition over stubbed connections (StubbedProvider), or worker tests in Modules/DataSources/Tests/. Never a vendor-named Swift type: improve the definition, or the generic piece.

4. Performance Improvements

Optimize existing functionality:

Examples:
- Reduce redundant API calls
- Lazy loading
- Parallel execution
- Caching

Test approach: Behavior tests (same results, better performance)

TDD Pattern (Chicago School)

Name each test should <outcome> [when <situation>], in the person's words, never a method, type or mechanism verb → Naming tests.

Write Test for Improved Behavior
swift
@Suite
struct {Component}Tests {

    @Test func `should {improved outcome} [when {situation}]`() {
        // Given - standard setup
        let component = Component(...)

        // When - action
        let result = component.improvedMethod()

        // Then - verify improved behavior
        #expect(result.hasImprovedProperty)
    }
}
Show full SKILL.md (216 more words)Show less
Keep Existing Tests

Improvements should NOT break existing behavior:

bash
tuist test Providers         # one module's tests while working (schemes: Providers, DataSources, Domain, Infrastructure, AppTests, AcceptanceTests)
# tuist caches results; one suite for real, and the final check of everything:
xcodebuild test -workspace ClaudeBar.xcworkspace -scheme ClaudeBar-Workspace \
  -destination 'platform=macOS,arch=arm64' -only-testing:ProvidersTests/ClaudeAPITests
xcodebuild test -workspace ClaudeBar.xcworkspace -scheme ClaudeBar-Workspace -destination 'platform=macOS,arch=arm64'

Architecture Reference

Reference: MODULAR_DESIGN.md (modules) · TARGET_ARCHITECTURE.md (how a provider runs) · ARCHITECTURE.md (the app layers)

Find which module the behaviour lives in before you change it: the table in implement-feature → Architecture is the one map (where each thing lives, and where its tests go).

A bug or improvement in a provider is made in its JSON (or its mapping script), or generically in DataSources — never with vendor-named Swift, and never with a line in ClaudeBarApp that names it (providers are found by ProviderCatalog.detect()). Modules never import Domain.

Guidelines

Do
  • Keep changes focused and minimal
  • Maintain existing behavior
  • Add tests for new behavior
  • Follow existing code patterns
  • Add the CHANGELOG line for a change the person notices
Don't
  • Over-engineer simple improvements
  • Change unrelated code
  • Break existing tests
  • Add features (use implement-feature)
  • Skip tests for "small" changes

Checklist

  • Current behavior understood
  • Improvement scope defined (minimal)
  • Test for improved behavior written
  • Test FAILS before implementation
  • Improvement implemented
  • New test PASSES
  • Full xcodebuild test green (tuist test skips cached targets)
  • Docs updated in the same change (feature or provider README / design.md)
  • One line under ## [Unreleased] in CHANGELOG.md, under its heading (Fixed / Changed): the effect in the person's words, ≤300 characters, an absolute issue or PR link, for a change the person notices

© tddworks, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/improvement of tddworks/ClaudeBar.

Open the folder on GitHubat commit 35486e8

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in tddworks/ClaudeBar, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Improvement next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Improvement compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Improvement this skilltddworks/ClaudeBar1.5k—~2.1kAutomated safety check: PassApache-2.0
Qcsd Development Swarmproffesor-for-testing/agentic-qe494—~2.5kAutomated safety check: PassMIT
Claude Superpowersmohitagw15856/pm-claude-skills1.4k—~2.7kAutomated safety check: PassMIT
Go Development Guidelinesjumppad-labs/jumppad263—~1.5kAutomated safety check: PassMPL-2.0
Ways Of Workingdevantler-tech/ksail166—~2kAutomated safety check: PassApache-2.0
Azure Cosmos DB Pyaiskillstore/marketplace4304 repos~2.1kAutomated safety check: PassNone

Similar skills

  • Qcsd Development Swarm

    proffesor-for-testing/agentic-qe

    A skill your agent uses when monitoring in-sprint code quality with TDD adherence checks, complexity analysis, coverage gap detection, or defect prediction in the QCSD Development phase.

    494 GitHub stars~2.5k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Claude Superpowers

    mohitagw15856/pm-claude-skills

    Activate a 4-stage coding discipline framework that forces Claude to plan before coding, isolate changes on a branch, write tests first, and self-review output twice before presenting it.

    1.4k GitHub stars~2.7k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Go Development Guidelines

    jumppad-labs/jumppad

    Sets idiomatic Go conventions with a test-first workflow, using testify/require for assertions and mockery for mocks, for new features, packages and refactors.

    263 GitHub stars~1.5k tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Ways Of Working

    devantler-tech/ksail

    Codifies devantler-tech engineering practices: agent-first development workflow, TDD, CI/CD pipelines, GitHub Flow, code quality gates, and Kubernetes workflows with ksail.

    166 GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Azure Cosmos DB Py

    aiskillstore/marketplace

    Build production-grade Azure Cosmos DB NoSQL services following clean code, security best practices, and TDD principles.

    430 GitHub starsUsed in 4 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Nerdzao Elite

    aiskillstore/marketplace

    Senior Elite Software Engineer (15+) and Senior Product Designer.

    430 GitHub starsUsed in 4 repos~443 tokens
    DevelopmentAuto-check passed

More from tddworks/ClaudeBar

  • Add Provider

    tddworks/ClaudeBar

    Add an AI provider to ClaudeBar as a JSON definition run by the one generic Provider and DataSource.

    1.5k GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Add Report

    tddworks/ClaudeBar

    Guide for adding new report cards to ClaudeBar that analyze local data sources and display metrics with comparison deltas.

    1.5k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • GitHub Actions

    tddworks/ClaudeBar

    Manage ClaudeBar's GitHub Actions CI/CD pipelines: build, test, and release workflows.

    1.5k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Implement Feature

    tddworks/ClaudeBar

    Guide for implementing features in ClaudeBar following architecture-first design, TDD, rich domain models, and Swift 6.2 patterns.

    1.5k GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Fix Bug

    tddworks/ClaudeBar

    Guide for fixing bugs in ClaudeBar following Chicago School TDD and rich domain design.

    1.5k GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Questions about Improvement

What does Improvement do?

Guide for making improvements to existing ClaudeBar functionality using TDD. Improvement is an agent skill from tddworks/ClaudeBar. Guide for making improvements to existing ClaudeBar functionality using TDD.

When should I use Improvement?

Improvement fits situations like: enhancing existing features (not adding new ones); user asks improve X; small enhancements that dont require full architecture design For NEW features; use implement-feature skill instead.

How do I install Improvement in Claude Code?

Run `npx skills add tddworks/ClaudeBar --skill improvement -a claude-code`. Or copy the skill folder (.claude/skills/improvement in tddworks/ClaudeBar) into .claude/skills/improvement in your project. Claude Code loads it when a task matches its description.

How do I install Improvement in Codex?

Run `npx skills add tddworks/ClaudeBar --skill improvement -a codex`. Or copy the skill folder (.claude/skills/improvement in tddworks/ClaudeBar) into .agents/skills/improvement in your project. Codex loads it when a task matches its description.

Can I use Improvement in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tddworks/ClaudeBar --skill improvement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/improvement, .gemini/skills/improvement, .github/skills/improvement and .opencode/skills/improvement in your project.

What does Improvement need to run?

Going by SKILL.md and its folder, Improvement needs the command-line tools its instructions call (xcodebuild).

Does Improvement access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Improvement safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Improvement use?

Improvement is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Improvement use?

About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Improvement?

Skills that share tags, products or a category with Improvement: Qcsd Development Swarm (proffesor-for-testing/agentic-qe, 494 stars), Claude Superpowers (mohitagw15856/pm-claude-skills, 1.4k stars), Go Development Guidelines (jumppad-labs/jumppad, 263 stars) and Ways Of Working (devantler-tech/ksail, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Improvement?

tddworks (a GitHub organization) maintains it in tddworks/ClaudeBar, which has 1,527 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 7, 2026.

Source: tddworks/ClaudeBar on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.