/ Каталог / Песочница / swing-skills
● Сообщество TheStack-ai ⚡ Сразу

swing-skills

автор TheStack-ai · TheStack-ai/swing-skills

6 cognitive firewalls for AI agents — clarify, research, options, review, trace, mortem — each targeting a named bias: premature closure, hallucination, anchoring, confirmation, black-box reasoning, optimism.

A skill pack of 6 self-contained cognitive tools that plug specific biases. swing-clarify forces 5W1H on ambiguous requests. swing-research runs a 4-stage verified pipeline with S/A/B/C source grading. swing-options generates 5 probability-weighted alternatives including unconventional ones. swing-review does structured devil's advocacy (steel-man first, then 3-vector attack). swing-trace inventories assumptions and surfaces weakest links. swing-mortem does prospective failure analysis.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

swing-skill.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "swing-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/TheStack-ai/swing-skills",
        "~/.claude/skills/swing-skills"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "swing-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/TheStack-ai/swing-skills",
        "~/.claude/skills/swing-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "swing-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/TheStack-ai/swing-skills",
        "~/.claude/skills/swing-skills"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "swing-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/TheStack-ai/swing-skills",
        "~/.claude/skills/swing-skills"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "swing-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/TheStack-ai/swing-skills",
        "~/.claude/skills/swing-skills"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "swing-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/TheStack-ai/swing-skills",
          "~/.claude/skills/swing-skills"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add swing-skill -- git clone https://github.com/TheStack-ai/swing-skills ~/.claude/skills/swing-skills

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: swing-skills

Force clarification before an ambiguous task is executed

👤 Anyone who's seen AI agents gallop off in the wrong direction ⏱ ~10 min beginner

Когда использовать: A stakeholder dropped a short, ambiguous request.

Предварительные требования
  • Skill installed — git clone https://github.com/TheStack-ai/swing-skills ~/.claude/skills/swing-skills
Поток
  1. Run swing-clarify
    Use swing-clarify. Request: 'make the dashboard better'. Decompose 5W1H.✓ Скопировано
    → What/who/when/where/why/how decomposition + clarifying questions

Итог: A concrete scope you can actually execute against.

Сочетать с: agent-skill-tdd-skill

Research a topic with graded sources, not a wall of links

👤 Analysts, researchers ⏱ ~45 min intermediate

Когда использовать: You want a defensible brief, not hallucinated bullet points.

Поток
  1. Run swing-research
    Use swing-research. Question: 'what's the state of Rust in web backends (2025)?' Output claims with S/A/B/C grades.✓ Скопировано
    → Claim table with tier + source

Итог: A brief you could defend to a skeptical stakeholder.

Подводные камни
  • B/C-tier claims treated as fact — The grade is there to weight; read them as weaker
Сочетать с: firecrawl · brave-search

Break anchoring by generating five weighted alternatives

👤 Decision-makers who notice they're anchoring ⏱ ~20 min beginner

Когда использовать: You've got a favorite solution and want a sanity check.

Поток
  1. Run swing-options
    Use swing-options. Decision: which DB for our new service? Give 5 probability-weighted options including unconventional.✓ Скопировано
    → 5 options with weights + rationale

Итог: A decision made from options, not one default.

Structured review: steel-man then attack from 3 vectors

👤 Teams wanting a real review, not rubber-stamps ⏱ ~30 min intermediate

Когда использовать: Before committing to a plan or design.

Поток
  1. Run swing-review
    Use swing-review on design.md. Steel-man it first, then attack from correctness, operability, and cost.✓ Скопировано
    → Strong version of the design, then 3 attack surfaces

Итог: A design that either holds or gets better.

Run a pre-mortem on a plan before execution

👤 PMs and leads about to green-light something important ⏱ ~30 min intermediate

Когда использовать: Right before kickoff on risky work.

Поток
  1. Run swing-mortem
    Use swing-mortem. Assume plan.md failed in 6 months. List 5 failure scenarios with leading indicators.✓ Скопировано
    → 5 scenarios + early-warning signals

Итог: Early-warning instrumentation built in from day one.

Expose the weakest assumption in a decision tree

👤 Engineers debugging reasoning, not just code ⏱ ~20 min intermediate

Когда использовать: A decision feels off but you can't articulate why.

Поток
  1. Run swing-trace
    Use swing-trace on this decision: 'we'll use Kafka'. Inventory assumptions; call out the weakest.✓ Скопировано
    → Assumption list ranked by risk

Итог: The weakest link exposed before it breaks.

Комбинации

Сочетайте с другими MCP — эффект x10

swing-skill + skills-skill-6

Layer Swing's firewalls with InfraNodus graph analysis

After swing-review, run InfraNodus critical-perspective for graph-based critique.✓ Скопировано
swing-skill + agent-skill-tdd-skill

Clarify + research before the TDD flow

Start with swing-clarify + swing-research, then hand off to agent-skill-tdd.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
swing-clarify ambiguous request Any vague task 0
swing-research question Research with defensibility 0
swing-options decision Anchoring risk 0
swing-review plan/design Pre-commit review 0
swing-trace decision Reasoning audit 0
swing-mortem plan Before kickoff 0

Стоимость и лимиты

Во что обходится

Квота API
None
Токенов на вызов
Moderate per skill (research is highest)
Деньги
Free
Совет
Use swing-clarify by default; others on-demand

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: None
Исходящий трафик: None beyond your LLM calls

Устранение неполадок

Частые ошибки и исправления

swing-research cites sources that don't check out

Cross-check S-tier sources manually; lower grades are weaker by design

swing-review feels like a formality

Force adversarial framing: 'what would an angry senior engineer say?'

Альтернативы

swing-skills в сравнении

АльтернативаКогда использоватьКомпромисс
InfraNodus skillsYou want graph-based thinking augmentationNo bias-specific firewalls
Manual reviewOne-off trivial decisionsNo structure

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills