skills/agent-folder-init/SKILL.md
Add or repair .agents/ project context for an existing repo. Use for AI agent documentation, session tracking, task management, and coding standards; do not use as the primary new-product scaffold.
npx skillsauth add shipshitdev/library agent-folder-initInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Inputs:
Outputs:
.agents/ documentation structure and root AGENTS.md after explicit --writeCLAUDE.md or .cursor/rules/agent-context.mdc only when that
platform is explicitly selected; Codex uses AGENTS.mdCreates/Modifies:
.agents/, root AGENTS.md, optional CLAUDE.md, optional Cursor project rule,
and .editorconfigExternal Side Effects:
--write performs local file writes onlyConfirmation Required:
--write--force-entry-files; symlink and
non-file targets are always refusedDelegates 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 plans, then 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"
# Review the plan, then write the shared files
python3 scripts/scaffold.py \
--root /path/to/project \
--name "My Project" \
--write \
--allow-outside
# Add only the documented Claude and Cursor entry surfaces
python3 scripts/scaffold.py \
--root /path/to/project \
--name "My Project" \
--platform claude \
--platform cursor \
--write \
--allow-outside
The default is always a dry run. --force-entry-files is the only flag that permits
overwriting AGENTS.md, CLAUDE.md, or the generated Cursor entry rule. Other
existing files are preserved.
.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
Shared rules and coding standards go in the applicable AGENTS.md. Use
AGENTS.override.md only for an intentional subtree override and CLAUDE.md
only for Claude-specific additions. Durable supporting detail belongs in
.agents/memory/.
Task tracking uses GitHub Issues (gh issue list, gh issue create) — not local task files.
AGENTS.md # shared instructions; native Codex entry
CLAUDE.md # only with --platform claude
.cursor/rules/agent-context.mdc # only with --platform cursor
The scaffold never generates .codex/commands, copies user settings, or imports a
library checkout. It copies only four .agents/ templates, .editorconfig, and the
explicitly selected entry templates. Missing canonical assets are a hard failure before
any write; there is no embedded or stale fallback.
AGENTS.md - Shared project instructions and .agents/ navigationCLAUDE.md - Optional Claude-specific additions that reference AGENTS.md.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)AGENTS.mdThis 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 |
development
TypeScript refactoring and modernization guidelines from a principal specialist perspective. This skill should be used when refactoring, reviewing, or modernizing TypeScript code to ensure type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving TypeScript type architecture, narrowing, generics, error handling, or migration to modern TypeScript features.
tools
Resolves TypeScript and JavaScript problems across type-level programming, performance, monorepo management, migration, and modern tooling. Invoke when diagnosing "type instantiation excessively deep" errors, migrating JS to TS, configuring strict tsconfig, debugging module resolution, or choosing between Biome/ESLint/Turborepo/Nx.
tools
Turborepo monorepo build system guidance. Triggers on: `turbo.json`, task pipelines, `dependsOn`, caching, remote cache, the `turbo` CLI, `--filter`, `--affected`, CI optimization, environment variables, internal packages, monorepo structure, and package boundaries. Use when the user configures tasks or workflows, creates packages, sets up a monorepo, shares code between apps, runs changed packages, debugs cache behavior, or works in an `apps/` plus `packages/` workspace.
tools
Provides Tailwind CSS v4 performance optimization and best practices guidelines. Triggers when writing, reviewing, or refactoring Tailwind CSS v4 code; when working with Tailwind configuration, @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization.