do-setup
БесплатноБез исполняемых скриптовНе проверенInitializes the project for the DO Framework: analyzes it, inventories installed skills and MCP servers (reporting gaps), and writes the framework's local…
от fabio-barboza★ 30 звёзд на GitHubОб этом скилле
Project Setup
Role
You are a senior developer advocate responsible for project initialization, tooling configuration, and ensuring the agent-assisted development environment is correctly set up.
Autonomous Execution Policy
CRITICAL: NEVER pause, stop, or wait for user input during execution. Proceed through ALL steps autonomously without asking the user to "continue", "proceed", or confirm intermediate results. The ONLY acceptable reasons to stop and ask the user are:
- The mandatory initial AI tool selection question (Step 0). This is the FIRST action the skill performs and is always required.
- The instructions file question (Step 1 item 4), asked only in
fullmode and only when the project has no instructions file at all. - When there is a genuine doubt or ambiguity that cannot be resolved by reading the project files.
Execution Constraints
CRITICAL: This skill MUST NOT execute the application, run tests, start servers, compile code, or perform any runtime validation. Its sole purpose is to analyze the project structure and produce the framework's context file. All analysis must be done by reading files and inspecting the directory structure — never by running the application.
An existing instructions file is read-only. CLAUDE.md, AGENTS.md, .github/copilot-instructions.md, .cursor/rules/*.mdc and .cursorrules belong to the project and are shared with people who may not use this framework, or who have other skills and MCPs installed. If any of them exists, never edit or append to it. Only when none of them exists may this skill create one (Step 4B), and only with the user's consent: the created file holds project content only — summary, commands, conventions, like a /init would produce — and never mentions this framework, its skills, MCPs or the .do/ folder. Do not invoke the tool's own /init (not every tool lets the agent run it): write the file yourself. Everything about the framework goes into the .do/ folder at the project root:
.do/
context.md # written by this skill: summary, conventions, commands, skills, MCPs
tmp/ # scratch files of the execution skills, deleted at the end of each run
.do/ is local to each developer (skills and MCPs differ per machine) and is ignored by git (Step 1).
Procedures
Preamble: Parse Invocation Argument
Check if the user invoked this skill with the argument agents (e.g., /do-setup agents).
- If the argument is
agents: set mode =agents-only. Skip Steps 1–4 and 6. Execute only Step 0 (AI tool selection) and Step 5 (install agents). - If the argument is
refresh: set mode =refresh. Execute only Step 0 (AI tool selection), Step 3 (discover skills), Step 3B (inventory MCPs), Step 4 restricted to the## Available Skills,## Uncovered Skillsand## Available MCPssections of.do/context.md, and Step 6. Skip Steps 1, 2 and 5 — except that, for GitHub Copilot, you must also re-sync the<server-name>/*MCP entries of thetools:list in.github/agents/agent-execute-task.agent.mdwith the MCPs found in Step 3B (add the new ones, keep the existing ones), since Copilot only exposes listed tools to the worker..do/context.mdmust already exist; if it does not, stop and tell the user to run/do-setup(full) first. In this mode derive the project technologies from its## Project Summarysection instead of re-analysing the project. - If no argument or any other argument: set mode =
full. Execute all steps in order.
Step 0: Ask the User Which AI Tool to Configure (MANDATORY FIRST ACTION — HARD STOP)
⛔ HARD STOP — DO NOT SKIP THIS QUESTION UNDER ANY CIRCUMSTANCE.
This question is the very first action of the skill. It is MANDATORY even when:
- you (the model) are running inside OpenCode, Claude Code, Cursor, or GitHub Copilot — the host you are running in is IRRELEVANT to the answer; the user may want to configure THIS project for a DIFFERENT tool;
- the project already contains
.claude/,.opencode/,AGENTS.md,.cursor/,.github/,opencode.json,CLAUDE.md, or any other tool-specific file or directory — these signals are forbidden inputs for this decision;- the user appears to have a "default" tool from prior conversations or memory — ignore it; ask again every time.
❌ DO NOT auto-detect, infer, guess, default, pre-fill, or assume the answer. ❌ DO NOT announce the answer and ask for confirmation ("I'll assume Opencode — ok?"). That is still skipping the question. ❌ DO NOT read any project file or run any directory listing before asking. ✅ DO stop execution right now and ask the user the question below verbatim.
The question to ask (verbatim)
Present these four options to the user, exactly:
Para qual ferramenta agêntica o projeto deve ser configurado?
- Claude Code — usa
.claude/skills/e instala o agente em.claude/agents/.- **GitHub Copilot
Установить do-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл do-setup?
Initializes the project for the DO Framework: analyzes it, inventories installed skills and MCP servers (reporting gaps), and writes the framework's local context file `.do/context.md` (summary, conventions, commands, skills and MCPs). Never edits an existing project instructions file (CLAUDE.md, AGENTS.md, .github/copilot-instructions.md, .cursor rules); when the project has none, offers to create one with project content only (no framework, skill or MCP references). Installs the orchestration agents and commands. Arguments: "agents" (install agents/commands only), "refresh" (re-detect skills/MCPs only). Use to initialize or configure the agent-assisted environment. Not for PRDs, implementation, review or QA.
Как установить скилл do-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл do-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic