agentleFS
juanitourquizajuanitourquiza/shipframe/skills/init-project/SKILL.md

init-project

Skill4 starsChanged 20 days agoMITView on GitHub

Scan a new or unfamiliar repo and generate AGENTS.md with stack, commands, structure, and agent context.

  • Reads credentials

49 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use addskill, apply-firmware and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +10 more from ryanportfolio

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search the project root and subdirectories for the following files and patterns.

    line 16
  2. Distinctive:

    After identifying which files exist, read:

    line 89
  3. Distinctive:

    Create AGENTS.md at the project root with the following structure.

    line 112

“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

init-project

Scan the current project and detect its full tech stack, then generate an AGENTS.md file with structured context so future Claude agents have everything they need to work effectively in this codebase.

Steps

1. Scan for stack indicators

Search the project root and subdirectories for the following files and patterns. Use Glob and Read tools — do not guess.

Languages & runtimes

  • package.json → JavaScript / TypeScript packages; infer Node.js only from runtime markers (engines.node, .nvmrc, .node-version) or server/tooling entry points.
  • tsconfig.json → TypeScript
  • requirements.txt, pyproject.toml, setup.py, Pipfile, .python-version, uv.lock, poetry.lock, Pipfile.lock → Python
  • Cargo.toml, Cargo.lock, rust-toolchain.toml → Rust
  • go.mod → Go
  • pom.xml, build.gradle, build.gradle.kts → Java / Kotlin
  • *.csproj, *.sln → C# / .NET
  • Gemfile → Ruby
  • composer.json, composer.lock, phpunit.xml, phpunit.xml.dist → PHP
  • pubspec.yaml → Dart / Flutter

Frameworks

  • In package.json dependencies/devDependencies: look for next, react, vite, @angular/core, vue, svelte, express, fastify, hono, remix, astro, nuxt, gatsby
  • In composer.json dependencies: look for laravel/framework and other declared PHP frameworks.
  • In Python files: look for django, flask, fastapi, sqlalchemy
  • In Cargo.toml: look for axum, actix-web, rocket
  • In go.mod: look for gin, echo, fiber

Databases & ORMs

  • In dependency files: look for prisma, drizzle-orm, typeorm, sequelize, mongoose, pg, mysql2, sqlite3, redis, supabase, @planetscale, @neon
  • Config files: prisma/schema.prisma, drizzle.config.*

Styling

  • tailwind.config.* → Tailwind CSS
  • In package.json: styled-components, @emotion, sass, less, @mui, @chakra-ui, @radix-ui, shadcn

Build tools & bundlers

  • vite.config.* → Vite
  • webpack.config.* → Webpack
  • turbo.json → Turborepo
  • nx.json → Nx
  • rollup.config.* → Rollup
  • .swcrc → SWC

Testing

  • In package.json: jest, vitest, @testing-library, playwright, cypress, mocha
  • pytest.ini, conftest.py → pytest
  • jest.config.*, vitest.config.*

Infrastructure & deployment

  • Dockerfile, docker-compose.* → Docker
  • .github/workflows/ → GitHub Actions
  • vercel.json, .vercel/ → Vercel
  • netlify.toml → Netlify
  • fly.toml → Fly.io
  • terraform/, *.tf → Terraform
  • kubernetes/, k8s/, *.yaml with kind: Deployment → Kubernetes

Monorepo

  • pnpm-workspace.yaml → pnpm workspaces
  • turbo.json → Turborepo
  • nx.json → Nx
  • lerna.json → Lerna
  • packages/, apps/ directories → likely monorepo

Package manager

  • pnpm-lock.yaml → pnpm
  • yarn.lock → Yarn
  • bun.lock, bun.lockb → Bun
  • package-lock.json → npm
  • poetry.lock, uv.lock, Pipfile.lock → Python dependency manager/lock
  • composer.lock → Composer exact PHP package versions
  • Cargo.lock → Cargo exact Rust dependency versions

Environment & config

  • .env, .env.example, .env.local → environment variables (list keys only, never values)
  • *.config.ts, *.config.js at root

2. Read key files in full

After identifying which files exist, read:

  • package.json (full)
  • tsconfig.json (full)
  • prisma/schema.prisma or drizzle.config.* if present
  • README.md if present (first 80 lines)
  • .env.example if present (keys only)

For detected ecosystems, inspect relevant lockfile entries to report resolved dependency versions; do not print or read huge lockfiles wholesale when targeted search will do. Runtime versions may instead come from toolchain files, engines, CI, or deployment config.

3. Infer project type

Based on findings, classify the project as one or more of:

  • web-app (frontend UI)
  • api (backend/REST/GraphQL)
  • fullstack (frontend + backend in same repo)
  • cli (command-line tool)
  • library (npm/pip/cargo package)
  • mobile (React Native, Flutter, Expo)
  • monorepo (multiple apps/packages)
  • infrastructure (IaC, DevOps-only)

4. Generate AGENTS.md

Create AGENTS.md at the project root with the following structure. Be specific — list actual package versions from dependency files, not guesses. If something is uncertain, omit it rather than guess.

# Project Context

## Project Type
<!-- e.g., fullstack web-app, monorepo -->

## Stack

### Language & Runtime
<!-- e.g., TypeScript 5.4, Node.js 20 -->

### Framework
<!-- e.g., Next.js 14 (App Router) -->

### Styling
<!-- e.g., Tailwind CSS 3.4, shadcn/ui -->

### Database & ORM
<!-- e.g., PostgreSQL via Prisma 5.x -->

### Testing
<!-- e.g., Vitest, Playwright for E2E -->

### Build & Tooling
<!-- e.g., Vite, Turborepo, pnpm workspaces -->

### Deployment
<!-- e.g., Vercel (frontend), Docker (API) -->

## Project Structure
<!-- Brief description of top-level directories and their purpose -->

## Environment Variables
<!-- List .env keys (no values) and what they're for if inferable -->

## Versioned Documentation
- For API-dependent changes, resolve package versions from lockfiles and consult matching local/Context documentation or official versioned docs.
- Context MCP is optional; install/configure it only when the user opts in. Do not edit host configuration or fetch documentation packages automatically.

## Development Commands
<!-- Extract from package.json scripts or README -->

5. Confirm to the user

  • What stack and exact dependency versions were detected, clearly distinguishing lockfile resolutions from manifest ranges.
  • Where AGENTS.md was written and which matching optional technology packs the user can review; do not imply packs were installed/copied or impose their commands.
  • For API-dependent work, how live-docs will use the resolved version. Report Context as available only if observed, unavailable only if verified, otherwise unverified; offer setup as opt-in and never edit host configuration or trigger docs downloads without authorization.
  • Any ambiguities or evidence gaps that could not be determined automatically.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.