/cursor-kit:setup-projectfrom cursor-kit
Bootstrap or repair a repo for the Bossmann agent stack (Claude Code primary; Cursor/Codex/Gemini via scripts/sync-all.sh) (cursor-kit templates, pstack models, Matt Pocock engineering skills, cursor-team-kit, continual-learning, verification-planning, simplify, blindspot-pass). Use whenever the user asks to set up / setar / scaffold a project or repo for agents, wire AGENTS.md + PROJECT.md + .claude/state, run first-time Cursor kit install, or says the repo is missing agent memory, checkpoints, docs/agents, or stack integration — even if they do not say "setup-project". Prefer this over ad-hoc copying of templates.
Ships in cursor-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Orchestrate one coherent per-repo setup on top of the global agent environment (Claude Code, Cursor). Compose existing skills and templates — do not rewrite them inline.
Canonical kit root: ~/Projects/estack (the git checkout itself, no symlink).
If missing, resolve from the plugin/repo path that contains templates/AGENTS.md.template.
Read references/layers.md before writing files so global vs per-repo stays clear.
AGENTS.md / PROJECT.md; only create or fill gapsAsk two questions up front (one answer each; lead with the recommended default):
Target mode (recommended: existing workspace if a project root is already open)
~/Projects/ or ~/Developer/ if present, else ~), create dir, git init, then move_agent_to_root into it before writing filesInterview depth
docs/prompts/05-quality-gates-install.md), arrumar ai-memory (install/repair companion via /setup-ai-memory; see §6c), remind kit skills verification-planning + simplify + blindspot-pass, and point at docs/02-playbook-onboarding.md for the stranger pathIf the user already stated mode/depth in the trigger message, skip the matching question.
On Claude Code the table below maps to: MCP → claude mcp list (codebase-memory, context7, ai-memory); hooks → ~/.claude/settings.json; pstack/superpowers → claude plugin list. Repair any tool in one go with ~/Projects/estack/scripts/sync-all.sh (merge-safe). Cursor-only paths (~/.cursor/...) apply when Cursor is the active tool.
Check, do not duplicate:
| Check | Healthy signal | Repair |
|---|---|---|
| pstack models | ~/.cursor/rules/pstack-models.mdc exists | Follow /setup-pstack (detect models → confirm → write rule) |
| Hooks | ~/.cursor/hooks.json has sessionStart / afterFileEdit / stop | Restore via kit ./scripts/sync-hooks.sh (merge-safe — preserves companions like ai-memory); do not invent a second hook system inside the repo; do not overwrite hooks.json from scratch when companions are present |
| ai-memory companion | Binary on PATH or ~/Applications/ai-memory/ai-memory; curl http://127.0.0.1:49374/mcp → 405; MCP ai-memory in ~/.cursor/mcp.json; hooks.json has kit and ai-memory commands | Repair if broken via /setup-ai-memory (or scripts/install-ai-memory.sh). If never installed: depth 1 → one-line note + skip; depth 2 → install/repair in §6c (default recommend yes on this stack). Keep AGENTS/PROJECT/checkpoint authoritative |
| Plugins | cursor-team-kit, continual-learning, pstack available | If missing, tell user to /add-plugin (or install this cursor-kit plugin); do not fake plugin install |
Summarize what was OK vs repaired in one short block before continuing.
From kit templates (templates/AGENTS.md.template, templates/PROJECT.md.template, state/checkpoint.json.example, templates/gitignore.snippet):
.claude/state/ exists; verify with test -dAGENTS.md only if absent — continual-learning sections only; if you created it, check with grep -c '^## Learned' (expect 2):
## Learned User Preferences## Learned Workspace FactsPROJECT.md only if absent; verify with test -s PROJECT.md.claude/state/checkpoint.json only if absent; check it parses with python3 -m json.toolcheckpoint.json ignore is missing; verify with git check-ignore .claude/state/checkpoint.jsonPrefer the kit's scripts/install.sh when the machine has ~/Projects/estack linked; otherwise copy the same files from this plugin repo root.
Do not copy global ~/.cursor/rules into the project.
Check: git status --short shows no new (??) file beyond the ones above; it may still list changes you did not make.
If PROJECT.md is still template-empty, or the user said yes to filling it:
package.json, pyproject.toml, README, CI)Depth 1: ask before filling an existing non-empty PROJECT.md.
Depth 2: fill/refresh from manifests unless the user declines.
Check: every command in PROJECT.md exists in a manifest; confirm with grep.
Run the same process as /setup-matt-pocock-skills (explore → section questions → confirm draft → write):
docs/agents/issue-tracker.mddocs/agents/domain.mddocs/agents/triage-labels.md only if triage skill is installed## Agent skills block in existing AGENTS.md or CLAUDE.md (never create the other when one exists; if neither exists, AGENTS.md is the kit default — create it in phase 2 first)Reuse the kit's setup-matt-pocock-skills templates.
Ensure AGENTS.md matches the plugin contract (two learned sections, plain bullets only).
Document for the user (do not invent secrets):
~/.cursor/projects/<workspace-slug>/agent-transcripts/.cursor/hooks/state/continual-learning-index.json (created by the plugin when it runs)Do not invent learned bullets during setup.
If this run created AGENTS.md, check: grep -c '^## Learned' AGENTS.md prints 2.
deslop) are available; if not, instruct /add-plugin cursor-team-kit/setup-pstack when phase 1 found the rule missing; otherwise one line that models already apply to new sessions/poteto-mode when that skill is installedPrefer the cursor-kit plugin (~/.cursor/plugins/local/cursor-kit/skills/
or marketplace/local plugin path). Do not also copy these into
~/.cursor/skills/ on desktop — duplicates confuse which copy is live.
| Skill | When to point the user at it |
|---|---|
verification-planning | Before non-trivial implement — evidence path + budget |
simplify | After behavior is proven — readability without behavior change |
blindspot-pass | Second pass before ship (edges / silent failures) |
If the plugin is missing and Cloud/VM needs the kit skills, run
scripts/install-cloud-skills.sh (copies only when plugin absent, unless
FORCE_USER_SKILLS=1). Desktop sync: rsync kit → local plugin, then Reload.
Depth 2: add a short Agent skills note in AGENTS.md or
docs/agents/ only if the Matt phase already maintains an Agent skills block —
list the three triggers in one line each. Depth 1: mention in the Done
report only.
If interview depth is 2 and the repo looks JS/TS (package.json with js/ts tooling, or *.ts/*.tsx dominant):
templates/quality-gates/ (recommended default when no ESLint max-lines rule exists); check first with ls .eslintrc* eslint.config.*.docs/prompts/05-quality-gates-install.md (copy templates, adapt paths, run measure, do not autofix); confirm the measure command runs and exits.docs/02-playbook-onboarding.md and docs/tools/05-quality-gates.md; verify both paths exist.PROJECT.md and check the line landed with grep..cursor/environment.json, offer to copy kit templates/cloud/environment.json → .cursor/environment.json so Builds install kit skills on the VM (see docs/tools/09-cloud-projects.md); verify with test -f .cursor/environment.json.Part of stack setup. Delegate to /setup-ai-memory — do not reimplement upstream.
/setup-ai-memory / scripts/install-ai-memory.sh. After repair, confirm kit hooks still present (./scripts/sync-hooks.sh is merge-safe; check grep -c ai-memory ~/.cursor/hooks.json).docs/prompts/07-ai-memory-wire.md + docs/tools/10-ai-memory.md; verify with the step 4 checks of /setup-ai-memory./setup-ai-memory later (check: test -x ~/Applications/ai-memory/ai-memory || command -v ai-memory)..ai-memory.toml only if the user wants custom workspace/project naming; check it with cat.~/Projects/estack/scripts/seed-project.sh <repo>. It installs the ai-memory routing snippet + managed skills into the repo (install-instructions --compact), applies the cross-project profile as a managed block via ai-memory profile apply (no-op until >=2 projects share a habit), and, only with AI_MEMORY_BOOTSTRAP=1 on an existing git repo and user consent (sends repo text to the configured LLM), runs ai-memory bootstrap. Handoff/brief delivery at SessionStart needs no repo step.git status --short that you added no new (??) file beyond what this skill created. Report: OK | repaired | installed | declined | N/A (non-macOS / blocked).Do not reinvent matt-pocock, pstack, or ai-memory core here.
Offer, do not force. Done when each offered check printed its result:
codebase-memory index_repository / list_projects for this root; confirm the root is listedcurl loopback /mcp → 405, or MCP memory_status; check the codedocs/02-playbook-onboarding.md (continue / PROJECT decision / failure retry); verify the file existsAlways end with a compact checklist:
## Setup complete
- Mode: existing | new (`path`)
- Interview: minimal | completo
- Global: OK | repaired (list)
- Created/updated: (file list)
- Matt Pocock: issue tracker = …
- Quality gates: offered | installed (measure) | N/A | declined
- ai-memory: OK | repaired | installed | declined | N/A
- Kit skills: verification-planning / simplify / blindspot-pass / setup-ai-memory = plugin | missing
- Plugins: team-kit / continual-learning / pstack = present | action needed
- Playbook: docs/02-playbook-onboarding.md
- External inventory: docs/EXTERNAL-COMPONENTS.md
- Next: reload window if MCP/plugins changed; then normal work (or `/poteto-mode` for non-trivial)
Check: each line comes from a step result, none guessed.
~/.cursor/hooks.json has no kit hooks → run ./scripts/sync-hooks.sh (merge-safe) and recheck step 1.curl to /mcp does not return 405 → repair through /setup-ai-memory, then rerun the check.move_agent_to_root fails after git init → stop and ask the user to open the new folder.setup-pstack, setup-matt-pocock-skills, /setup-ai-memory; fill PROJECT.md from manifests inline (no separate project-brain skill).claude/state stay authoritative; ai-memory wiki is an optional long-horizon companion (not a second checkpoint)scripts/install.ps1; on macOS/Linux prefer scripts/install.sh./scripts/sync-hooks.sh is merge-safe)move_agent_to_root fails after creating a new repo, stop and ask the user to open that folder before writing further project filesWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bossmann007/estack --plugin cursor-kit38 skills in this plugin
/4dGuided 4D questions (Delegation, Description, Discernment, Diligence) that train the user, one card at a time, to plan how they work with AI. Use at a project start (before a spec) or after a grilling/brainstorm round, or on "/4d", "4D", "AI fluency". Not for every task: skip small edits and routine work.
/ai-memory-curateCurate the ai-memory wiki from inside a Claude Code session, with no API key and no external LLM: read recent session observations and write distilled rules, decisions, gotchas and profile habits. Use when the user says "curar a memória", "curate memory", "consolidar ai-memory", or after a stretch of work when ai-memory has no LLM provider configured.
/apresentacao-animadaMotion graphics em HTML para MP4. Entrega - apresentação acadêmica (notas, folhas, roteiro, voz do aluno). Redes - vídeo vertical curto, só legenda, música NCS opcional. Use em "monta a apresentação", "apresentação animada", "motion graphics", "vídeo da entrega", "roteiro do vídeo", "folhas para apresentar", "vídeo para as redes", "vídeo para postar", "motion da extensão", "prompt de vídeo", "storyboard", "vídeo de terminal", ou se um enunciado exigir vídeo/demonstração. NÃO use para vídeo em React (remotion-best-practices), editar mídia existente (ffmpeg-skill) ou 3D (blender-*).Other plugins' skills for the same job