بنقرة واحدة
tdd
Test-Driven Development loop. Write a failing test first, then the minimum code to pass it, then refactor. Repeat.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Test-Driven Development loop. Write a failing test first, then the minimum code to pass it, then refactor. Repeat.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Estimate per-turn token cost of this project's `.claude/` configuration and `CLAUDE.md`. Reports always-loaded vs path-scoped vs invoked-only, ranks the top contributors, and flags entries over budget. Add `--api` for exact counts via Anthropic's count_tokens endpoint instead of the chars/4 heuristic.
Find and fix a bug. Default is careful (reproduce, investigate, test). Add `--fast` for emergency production mode (hotfix branch, minimal change, ship a PR fast).
Explain code. Default is a one-sentence summary plus a mental model. Add `verbose` to also get an ASCII diagram, key details, and a modification guide.
Review code changes or a pull request. Delegates to specialist agents for code quality, security, performance, and documentation, in parallel.
Safely refactor code with test coverage as a safety net
Scan changes, commit, push, and create a PR. With confirmation at each step
| name | tdd |
| description | Test-Driven Development loop. Write a failing test first, then the minimum code to pass it, then refactor. Repeat. |
| argument-hint | [feature description or function signature] |
| disable-model-invocation | true |
Build the following using strict Test-Driven Development:
Feature: $ARGUMENTS
Repeat this cycle for each behavior, and never skip a step.
should return 0 for empty cartWork from simple to complex:
Each test should call for a small code change. If passing a test takes more than ~10 lines of production code, the test is too big — split it.
After each cycle, state briefly:
When the feature is complete, summarize all the behaviors covered and any gaps that still need integration or manual testing.