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

ai-first-toolkit

автор techwolf-ai · techwolf-ai/ai-first-toolkit

A skills pack that audits, re-engineers, and bootstraps projects following AI-first design principles.

ai-first-toolkit is a multi-skill bundle for Claude Code and Codex that looks at your project through an AI-first lens: is the codebase easy for an agent to navigate, edit, and reason about? It includes skills for AI-readiness audits, refactoring toward clear structure, and bootstrapping new projects with the right scaffolding from day one.

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

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

Живое демо

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

ai-first-toolkit-skill.replay ▶ готово
0/0

Установка

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

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

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

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

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

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

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

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

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

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

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

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

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

claude mcp add ai-first-toolkit-skill -- git clone https://github.com/techwolf-ai/ai-first-toolkit ~/.claude/skills/ai-first-toolkit

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

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

Реальные сценарии: ai-first-toolkit

How to audit a codebase for AI-agent readiness

👤 Tech leads preparing a codebase for heavy AI-assisted work ⏱ ~45 min intermediate

Когда использовать: Before the team commits to doing a lot of feature work through Claude or Codex.

Предварительные требования
  • Skill cloned — git clone https://github.com/techwolf-ai/ai-first-toolkit ~/.claude/skills/ai-first-toolkit
Поток
  1. Run the audit
    Audit this repo for AI-agent readiness. Score each dimension and list the top 5 friction points.✓ Скопировано
    → Dimension scores + specific files to fix
  2. Prioritize fixes
    Which of those fixes would give the biggest agent-effectiveness lift per hour of work?✓ Скопировано
    → Ranked list with effort/impact
  3. Apply the top fix
    Apply fix #1 end-to-end — edit files, update docs, add tests.✓ Скопировано
    → Diff + confirmation

Итог: A concrete improvement plan and at least one applied fix making the repo friendlier to AI agents.

Подводные камни
  • Audit turns into a generic 'improve docs' blob — Ask for file:line level findings, not abstract advice
Сочетать с: filesystem · github

Bootstrap a new AI-friendly project

👤 Founders or ICs starting a new repo ⏱ ~30 min beginner

Когда использовать: Day zero of a new project, before you pick bad defaults that will haunt you.

Поток
  1. State the project
    Bootstrap a new TypeScript API project using ai-first-toolkit defaults. Purpose: internal billing API.✓ Скопировано
    → Proposed folder structure, tsconfig, scripts, README skeleton
  2. Scaffold the files
    Create the files. Include AGENTS.md and CLAUDE.md with the relevant codebase notes.✓ Скопировано
    → Repo files materialized
  3. First commit
    Initialize git and make the first commit with a clean message.✓ Скопировано
    → Clean initial repo

Итог: A new repo that's friendly to both humans and AI agents from commit 0.

Подводные камни
  • Scaffolding imports dependencies you don't want — Ask Claude to list dependencies before installing — accept each one
Сочетать с: github · filesystem

Re-engineer a messy module for AI readability

👤 Engineers paying down tech debt one module at a time ⏱ ~60 min advanced

Когда использовать: You've isolated a module that Claude keeps getting wrong — usually a sign its structure isn't agent-legible.

Поток
  1. Diagnose the module
    Look at src/billing/. What about this code makes it hard for an agent to edit safely?✓ Скопировано
    → Specific red flags: indirection, hidden state, long functions
  2. Plan the refactor
    Propose a 3-step refactor that improves agent-legibility without changing public API.✓ Скопировано
    → Stepwise plan with diff sketches
  3. Execute step 1
    Apply step 1. Keep tests green.✓ Скопировано
    → PR-sized diff

Итог: A module that Claude can actually reason about on the next iteration.

Подводные камни
  • Over-refactor and break behaviors you didn't mean to — Insist on public API stability and run tests after each step
Сочетать с: filesystem · github

Комбинации

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

ai-first-toolkit-skill + filesystem

Audit scans the repo; filesystem is needed to actually read it

Walk the repo and score AI-readiness; report findings file-by-file.✓ Скопировано
ai-first-toolkit-skill + github

Open a PR with the proposed AGENTS.md / CLAUDE.md additions

Apply the audit's top 3 fixes and open a PR titled 'AI-first improvements'.✓ Скопировано

Инструменты

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

ИнструментВходные данныеКогда вызыватьСтоимость
ai-readiness-audit repo root Pre-investment in AI-heavy workflows 0
ai-first-bootstrap project spec (lang, purpose, stack) Greenfield projects 0
re-engineer-module module path + goals When a module resists agent edits 0

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

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

Квота API
none beyond your LLM provider
Токенов на вызов
5–20k for an audit of a medium repo
Деньги
free, open source
Совет
Scope audits to a subtree rather than the whole monorepo

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

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

Хранение учётных данных: none
Исходящий трафик: none beyond what filesystem/github tools do

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

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

Audit is too abstract

Re-prompt with a concrete dimension: 'evaluate just the test layout' or 'just the module boundaries'.

Bootstrap picks wrong language

Always state language+runtime+build tool in the first prompt.

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

ai-first-toolkit в сравнении

АльтернативаКогда использоватьКомпромисс
init (built-in)You just need a CLAUDE.md and don't care about the restNarrower scope
antivibe-skillYou want the opposite lens — critique of AI-shaped sludgeDiagnostic, not prescriptive

Ещё

Ресурсы

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

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

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