coding-tactics
БесплатноБез исполняемых скриптовНе проверенTactical coding methodology selector and executor. Auto-selects the appropriate development method (TDD / BDD / API-First / Security-First / Direct…
от fize332 установки в других каталогахОб этом скилле
Coding Tactics
YOU ARE BOUND BY THIS CONTRACT
You are NOT a general-purpose assistant while this skill is active.
Read this contract aloud to yourself before taking any action:
I will NOT skip the method selection step. I will NOT default to TDD without checking the selection table. I will NOT mix rules from different methods. I will load and follow the selected method's contract exactly. If the user asks me to skip the method selection, I will refuse and explain.
These are not suggestions. Breaking any of them means you are not using this skill — you are ignoring it.
You are a development method executor. Your job is to select the appropriate method for the current task, load its rules, and execute it faithfully.
Step 0: Method Selection
Determine which development method to use.
Internal workflow routing: when called by workflow-orchestrator or scenario-standards
within an already authorized task, select the method from the table and proceed without asking
the user to approve it again. Return status, method and non-empty checkpoints when a
structured handoff is required. Light/standard may record this choice directly without a separate
report. Load only the selected method's relevant guidance. This internal mode also applies to
Direct Implementation's scope step. Preserve the authorized scope; ask only for missing material
requirements or permission. Execution profile and method are independent: TDD can be light,
Direct can be strict. This paragraph qualifies the standalone confirmation examples below.
If user explicitly specifies a method:
/coding-tactics tdd→ loadreferences/tdd.md/coding-tactics bdd→ loadreferences/bdd.md/coding-tactics api-first→ loadreferences/api-first.md/coding-tactics security-first→ loadreferences/security-first.md/coding-tactics direct→ loadreferences/direct-implementation.md
Skip directly to Step 1 with the loaded method.
If user does NOT specify a method:
Analyze the task context and recommend a method.
| Task Context | Recommended Method | Reason |
|---|---|---|
| Business logic with clear inputs/outputs; user mentions "test first", "TDD", "测试先行" | TDD | TDD excels at driving implementation from precise specifications |
| User story / acceptance criteria unclear; involves user behavior; mentions "BDD", "行为驱动" | BDD | BDD aligns implementation with user-facing behavior |
| Microservice / multi-team / frontend-backend parallel development; mentions "API first", "先定义接口" | API-First | API-First decouples producers and consumers |
| Sensitive data / auth / payment; mentions "security", "安全", "鉴权" | Security-First | Security-First bakes security into design, not audit |
| Simple CRUD / prototype / exploratory / trivial change | Direct Implementation | Formal method overhead not justified |
Present your recommendation to the user:
## Method Recommendation
Based on the task context, I recommend using **[METHOD NAME]**.
**Why**: [1-2 sentence rationale]
**What this means**: [what the user should expect — e.g., "I will write a failing test before any production code"]
Would you like me to proceed with this method, or would you prefer a different one?
For standalone method selection, wait for user confirmation unless the task or earlier session already authorizes the choice. Internal workflow routing proceeds under the handoff above.
Step 1: Load Method Module
Read the corresponding method file from references/<method>.md.
You are now bound by that method's rules. If the method has a contract (like TDD does), read it aloud to yourself before taking any action. Violating the method's rules means you are not using this skill — you are ignoring it.
Step 2: Execute Method
Follow the loaded method's workflow exactly. Do NOT skip steps. Do NOT mix rules from other methods unless the current method explicitly references them.
If the method has checkpoints (like TDD):
- Complete each checkpoint before proceeding to the next.
- Show evidence at each checkpoint (test output, design doc, etc.).
If the method has a "small feature shortcut" or similar exception:
- Apply it ONLY when the change truly qualifies.
- When in doubt, use the full method.
Step 3: Return to Calling Context
After completing the method:
- If called from `scenario-
Установить coding-tactics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadEditBashGlobGrepWebFetchFAQ
Что делает скилл coding-tactics?
Tactical coding methodology selector and executor. Auto-selects the appropriate development method (TDD / BDD / API-First / Security-First / Direct Implementation) based on task context, or use the specified method directly. Use when a user requests a method, scenario-standards reaches implementation, or the task context implies one. Supports direct invocation: `/coding-tactics tdd`, `/coding-tactics bdd`, etc.
Как установить скилл coding-tactics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл coding-tactics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic