From shipshitdev-library
Scaffolds `.agents/` project context (sessions, memory, agent configs) for existing repos. Use when adding AI coding-assistant documentation or migrating to structured AI workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shipshitdev-library:agent-folder-initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Inputs:
assets/agent-configs/claude/agents/senior-backend-engineer.mdassets/agent-configs/claude/agents/senior-frontend-engineer.mdassets/agent-configs/claude/commands/bug.mdassets/agent-configs/claude/commands/clean.mdassets/agent-configs/claude/commands/code-review.mdassets/agent-configs/claude/commands/commit-summary.mdassets/agent-configs/claude/commands/end.mdassets/agent-configs/claude/commands/inbox.mdassets/agent-configs/claude/commands/new-session.mdassets/agent-configs/claude/commands/quick-fix.mdassets/agent-configs/claude/commands/refactor-code.mdassets/agent-configs/claude/commands/start.mdassets/agent-configs/claude/commands/task.mdassets/agent-configs/claude/commands/validate.mdassets/agent-configs/claude/rules/ai-agent-behavior.mdassets/agent-configs/claude/rules/claude-behavior.mdassets/agent-configs/claude/rules/coding-standards.mdassets/agent-configs/claude/rules/session-workflow.mdassets/agent-configs/claude/rules/user-preferences.mdassets/agent-configs/cursor/commands/README.mdInputs:
Outputs:
.agents/ documentation structureAGENTS.md, CLAUDE.md, and CODEX.mdCreates/Modifies:
.agents/, .claude/, .codex/, .cursor/, and root agent entry filesExternal Side Effects:
Confirmation Required:
Delegates To:
project-init-orchestrator when starting a new product repofullstack-workspace-init / npx @shipshitdev/v0 when a new Shipshit.dev product should be scaffoldedagent-config-audit after generation to detect drift or stale configThis skill scaffolds a lean AI agent documentation system including:
.agents/sessions/).agents/memory/ (one topic per file)For new Shipshit.dev product repos, prefer project-init-orchestrator, which
routes to npx @shipshitdev/v0 and includes the standard .agents, .claude,
and .codex setup.
Run the scaffold script:
python3 scripts/scaffold.py --help
# Basic usage
python3 scripts/scaffold.py \
--root /path/to/project \
--name "My Project"
# With custom options
python3 scripts/scaffold.py \
--root /path/to/project \
--name "My Project" \
--tech "nextjs,nestjs" \
--allow-outside
.agents/
├── README.md # Navigation hub
├── memory/
│ └── README.md # Source of truth for durable project facts
└── sessions/
├── README.md # Session format guide
└── TEMPLATE.md # Session file template
Rules and coding standards go in the repo's agent entry file (AGENTS.md, CLAUDE.md, or CODEX.md) and the user's platform-level instruction file — not inside .agents/.
Task tracking uses GitHub Issues (gh issue list, gh issue create) — not local task files.
.claude/
├── commands/ # Slash commands (project-specific)
│ ├── start.md
│ ├── end.md
│ ├── new-session.md
│ ├── commit-summary.md
│ ├── code-review.md
│ ├── bug.md
│ ├── quick-fix.md
│ ├── refactor-code.md
│ ├── inbox.md
│ ├── task.md
│ ├── validate.md
│ └── clean.md
├── agents/ # Specialized agents (project-specific)
│ ├── senior-backend-engineer.md
│ └── senior-frontend-engineer.md
└── skills/ # Project-specific skills
.codex/
├── commands/
└── skills/
.cursor/
└── commands/
Note: Agent configs (agents/, commands/) are copied from the installed library bundle so projects get the latest version. Rules are not copied because they are expected to be managed at the user or repo level to avoid duplication and drift.
AGENTS.md - Points to .agents/README.mdCLAUDE.md - Claude-specific entry pointCODEX.md - Codex-specific entry point.editorconfig - Editor configurationmemory/architecture.md, memory/deployment.md, memory/entities.md, etc.last_verified: YYYY-MM-DD front-matter field.status: temporary.sessions/YYYY-MM-DD.mdAfter scaffolding, customize:
.agents/memory/architecture.md - Document your architecture decisions.agents/memory/entities.md - Document your data entities.agents/memory/deployment.md - Document deployment steps and gotchasgh issue create).claude/rules/ - Add project-specific rule files.claude/commands/ - Add project-specific slash commandsThis skill integrates with:
| Skill | How It Works Together |
|---|---|
project-init-orchestrator | Routes new product requests to v0 before lower-level setup |
fullstack-workspace-init | Uses v0 for new Shipshit.dev product workspaces |
linter-formatter-init | Sets up quality tooling in the scaffolded project |
husky-test-coverage | Enforces test coverage in pre-commit hooks |
npx claudepluginhub shipshitdev/skills --plugin worktreeGenerates and maintains AGENTS.md files for AI agents by detecting project structure, extracting commands, CI rules, and architecture boundaries. Useful for onboarding agents and standardizing documentation.
Generates hierarchical AGENTS.md structures for codebases to optimize AI agent token usage. Use for repo analysis, monorepos, JIT indexing, and token-efficient root/sub-folder docs.
Generates AGENTS.md files for repository folders with build commands, testing instructions, code style, project structure, and boundaries. Only generates where AGENTS.md is missing.