setup
Initialize a project for local specs and tickets: scaffolds .scratch/, domain docs, and AGENTS.md, checks graphify, and generates the HTML Project Hub.
Skill by pedrosatin
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pedrosatin-setup
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/setup
What's inside
- Skill name
setup- Description
- Initialize a project for local specs and tickets: scaffolds .scratch/, domain docs, and AGENTS.md, checks graphify, and generates the HTML Project Hub.
- License
- MIT
- Instructions
- 91 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (12)
- SKILL.md
- 01-primeiro.md · fixtures/minimal-scratch/demo-feature/issues/
- 02-segundo.md · fixtures/minimal-scratch/demo-feature/issues/
- 03-terceiro.md · fixtures/minimal-scratch/demo-feature/issues/
- 04-quarto.md · fixtures/minimal-scratch/demo-feature/issues/
- 05-quinto.md · fixtures/minimal-scratch/demo-feature/issues/
- spec.md · fixtures/minimal-scratch/demo-feature/
- generate-hub.mjs · scripts/
- scratch-tickets.mjs · scripts/
- domain.md · templates/
- hub-design-contract.md · templates/
- issue-tracker.md · templates/
SKILL.md (first lines)
# /setup (and /init)
Configure the repository for the full local software engineering workflow:
- **Specs & tickets**: local tracking in `.scratch/` on the primary worktree for `/to-spec` and `/to-tickets`.
- **Domain docs**: a single-context convention in `docs/agents/`, glossary in `GLOSSARY.md`, and ADRs in `docs/adr/`.
- **Knowledge graph**: integration with `graphify` to map dependencies and central nodes.
- **Project Hub**: an interactive HTML dashboard in `.scratch/index.html` with a ticket Kanban board, spec reader, rules, and graph links.
This is a conversational process: explore the environment, summarize your findings, confirm with the user, and generate the structure. Use the user's or project's language for the conversation and deliverables. Agent instruction templates are maintained in English.
## Process
### 1. Explore the project
Inspect the current repository to understand its initial state:
- **Project name**: `package.json`, `Cargo.toml`, `pyproject.toml`, or directory name.
- **Rules file**: is there an `AGENTS.md` or `CLAUDE.md` at the root? Does it already have an `## Agent skills` section?
- **Knowledge graph**: is there a `graphify-out/` directory with `graph.html`?
- **Existing specs and tickets**: are there files in `.scratch/` or `docs/specs`?
- **Graphify installation**: is the `graphify` binary available on PATH (`command -v graphify`) or through Python?
### 2. Present findings and ask
Summarize what you found and ask the questions needed before proceeding, one at a time, leading with the recommended answer. Adapt the example questions below to the user's language.
**A. Install and run Graphify:**
- If the `graphify` command is **not** installed:
> *"Graphify is not installed in this environment. Would you like to install it with `uv tool install graphifyy` or `pip install graphifyy`? (recommended: **yes**)"*
- If `graphify-out/graph.html` does **not** exist in the repository:
> *"Would you like to run Graphify now to map the codebase and generate the interactive graph? (recommended: **yes**)"*
If confirmed, run `graphify .`. If the user chooses not to run it now, continue setup normally. The dashboard will indicate that the graph can be generated at any time with `/graphify`.
**B. Repository rules file:**
- Choose the file to edit:
- If `AGENTS.md` exists, use it.
- If `CLAUDE.md` exists, use it.
- If neither exists, propose creating `AGENTS.md`.
- Show the user a preview of the `## Agent skills` block:
```markdown
## Agent skills
### Issue tracker
Local tracking in Markdown files under `.scratch/<feature>/` on the primary worktree.
Interactive dashboard at `.scratch/index.html`.
See `docs/agents/issue-tracker.md`.
### Domain docs
Single-context convention (`GLOSSARY.md`, `docs/adr/`). See `docs/agents/domain.md`.
```
- Wait for the user's confirmation before writing.
### 3. Write configuration files
After confirmation:
1. Resolve the repository's **primary worktree** (`git worktree list --porcelain | awk '/^worktree / { print $2; exit }'`). Scaffold and hub generation use that path, even when the session cwd is a linked agent worktree. See `templates/issue-tracker.md` (Scratch root).
2. Copy this skill's templates into the project (on the primary):
- `templates/issue-tracker.md` → `docs/agents/issue-tracker.md`
- `templates/domain.md` → `docs/agents/domain.md`
3. Ensure the `.scratch/` directory exists at the **primary** project root.
4. Add or update the `## Agent skills` block in the chosen rules file (`AGENTS.md` or `CLAUDE.md`). Do not duplicate the section if it already exists.
### 4. Generate the Project Hub dashboard
This skill owns hub regeneration. Resolve `<setup>` as this skill's directory (the folder that contains this SKILL.md). Always pass the target repository:
```bash
node <setup>/scripts/generate-hub.mjs <primary-worktree-root>
```
Sibling skills resolve `<setup>` as the `setup` folder next to themselves. A cwd-relative `../setup/scripts/generate-hub.mjs` follows the terminal, not the skill, and fails from the project root. Pass the primary worktree root, not a disposable agent checkout.
If the user supplied `--docs`, pass `--docs`. Fixes and visual changes belong in this generator; regenerate `.scratch/index.html` instead of patching it.
Maintainers: `node scripts/generate-hub.mjs --fixture` smokes the generator against `fixtures/minimal-scratch/`.
### Project Hub design contract
Before changing the generator or the hub's appearance, read `templates/hub-design-contract.md`.
Operator-facing constraints: one offline file, no CDN; Kanban scan, formatted Markdown (tickets, specs, rules, GRAPH_REPORT), and a copyable dispatch prompt; details in a right-hand side panel; zinc/slate neutrals with a green accent by default, brand color inferred from CSS variables, theme-color, or Tailwind when the evidence is reliable. Generic LLM indigo/purple, emoji in interface labels, theatrical hover lift, and pill-heavy rounding stay out of the visual identity.
### 5. Finish and explain the workflow
Present a clickable dashboard link in the terminal:
`file://<absolute-path>/.scratch/index.html`
Explain the integrated workflow to the user:
- **/to-spec**: create conversational specifications directly in `.scratch/<feature>/spec.md`.
- **/to-tickets**: split specs into vertical slices (*tracer bullets*) in `.scratch/<feature>/issues/<NN>-<slug>.md`.
- Both commands automatically update the project dashboard when they finish.From pedrosatin/skills, MIT.
More from pedrosatin/skills
- 0.570score
clean-crap
pedrosatin
Measure JavaScript and TypeScript function complexity, join LCOV test coverage, compute CRAP scores, and gate delivery on a threshold.
SkillAFreshness: AClaude Code +9 - 0.570score
validate-agent-config
pedrosatin
Validate the machine's agent configuration: instruction files (CONTEXT.md, AGENTS.md, CLAUDE.md, GEMINI.md), symlinks, @ imports, skill frontmatter, and…
SkillAFreshness: AClaude Code +9 - 0.570score
humanizer
pedrosatin
Rewrite AI-sounding English prose so it reads like the writer without changing what it says.
SkillAFreshness: AClaude Code +9 - 0.567score
board
pedrosatin
Open the project board (Project Hub at .scratch/index.html) in the default browser.
SkillAFreshness: AClaude Code +9 - 0.565score
pr-description
pedrosatin
Draft a local PR body from the diff and observed validation, or create/edit the remote PR with evidence attachments.
SkillAFreshness: AClaude Code +9 - 0.561score
unslop-br
pedrosatin
Remove vícios de linguagem de IA (AI slop), clichês, gerundismos e estruturas artificiais em Português Brasileiro (PT-BR).
SkillAFreshness: AClaude Code +9 - 0.561score
pr-loop
pedrosatin
Deliver one backlog item through /pr-loop: implement, clean, verify, review, correct, then publish and merge with authorization.
SkillAFreshness: AClaude Code +9 - 0.560score
graphify
pedrosatin
Use when exploring or asking questions about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists…
SkillAFreshness: AClaude Code +9 - 0.558score
babysit-prs
pedrosatin
Review open PRs in the current repository, merge the safe ones, and leave a draft comment on the rest.
SkillAFreshness: AClaude Code +9 - 0.539score
grilling
pedrosatin
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: AClaude Code +9 - 0.539score
publication-hygiene
pedrosatin
Validate Git commits, pushes, and GitHub pull-request activity before publishing, removing agent provenance and operational WIP while preserving product…
SkillAFreshness: AClaude Code +9 - 0.536score
to-spec
pedrosatin
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pedrosatin/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pedrosatin
- 0.570score
humanizer
pedrosatin
Rewrite AI-sounding English prose so it reads like the writer without changing what it says.
SkillAFreshness: AClaude Code +9 - 0.570score
validate-agent-config
pedrosatin
Validate the machine's agent configuration: instruction files (CONTEXT.md, AGENTS.md, CLAUDE.md, GEMINI.md), symlinks, @ imports, skill frontmatter, and…
SkillAFreshness: AClaude Code +9 - 0.570score
clean-crap
pedrosatin
Measure JavaScript and TypeScript function complexity, join LCOV test coverage, compute CRAP scores, and gate delivery on a threshold.
SkillAFreshness: AClaude Code +9 - 0.567score
board
pedrosatin
Open the project board (Project Hub at .scratch/index.html) in the default browser.
SkillAFreshness: AClaude Code +9 - 0.565score
pr-description
pedrosatin
Draft a local PR body from the diff and observed validation, or create/edit the remote PR with evidence attachments.
SkillAFreshness: AClaude Code +9 - 0.561score
unslop-br
pedrosatin
Remove vícios de linguagem de IA (AI slop), clichês, gerundismos e estruturas artificiais em Português Brasileiro (PT-BR).
SkillAFreshness: AClaude Code +9
Cite this page
setup skill. Agent Mart. https://agentmart.dev/skills/pedrosatin-setup (last updated 2026-10-24)