teinam/kiro-with-harness/codebase-onboarding
Claude Code and agent skill by teinam/kiro-with-harness
- community
Checking that the SKILL.md file is still in the repository.
Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter project instructions file. Use when joining a new project or setting up a coding agent for the first time in a repo.
Install
npx vskill@latest install teinam/kiro-with-harness/codebase-onboardingSKILL.md
The same SKILL.md was published earlier as teinam/kiro-with-harness/codebase-onboarding.
Codebase Onboarding
Systematically analyze an unfamiliar codebase and produce a structured onboarding guide. Designed for developers joining a new project or setting up a coding agent in an existing repo for the first time.
When to Use
- First time opening a project with a coding agent
- Joining a new team or repository
- User asks "help me understand this codebase"
- User asks to generate an AGENTS.md (project instructions file) for a project — Kiro loads a workspace-root
AGENTS.mdas always-on steering (Claude Code reads the same content fromCLAUDE.md) - User says "onboard me" or "walk me through this repo"
How It Works
Phase 1: Reconnaissance
Gather raw signals about the project without reading every file. Run these checks in parallel:
Phase 2: Architecture Mapping
From the reconnaissance data, identify:
Tech Stack
- Language(s) and version constraints
- Framework(s) and major libraries
- Database(s) and ORMs
- Build tools and bundlers
- CI/CD platform
Architecture Pattern
- Monolith, monorepo, microservices, or serverless
- Frontend/backend split or full-stack
- API style: REST, GraphQL, gRPC, tRPC
Key Directories Map the top-level directories to their purpose:
<!-- Example for a React project — replace with detected directories -->
Data Flow Trace one request from entry to response:
- Where does a request enter? (router, handler, controller)
- How is it validated? (middleware, schemas, guards)
- Where is business logic? (services, models, use cases)
- How does it reach the database? (ORM, raw queries, repositories)
Phase 3: Convention Detection
Identify patterns the codebase already follows:
Naming Conventions
- File naming: kebab-case, camelCase, PascalCase, snake_case
- Component/class naming patterns
- Test file naming:
*.test.ts,*.spec.ts,*_test.go
Code Patterns
- Error handling style: try/catch, Result types, error codes
- Dependency injection or direct imports
- State management approach
- Async patterns: callbacks, promises, async/await, channels
Git Conventions
- Branch naming from recent branches
- Commit message style from recent commits
- PR workflow (squash, merge, rebase)
- If the repo has no commits yet or only a shallow history (e.g.
git clone --depth 1), skip this section and note "Git history unavailable or too shallow to detect conventions"
Phase 4: Generate Onboarding Artifacts
Produce two outputs:
Output 1: Onboarding Guide
Output 2: Starter AGENTS.md
Generate or update a project-specific AGENTS.md based on detected conventions. If AGENTS.md already exists, read it first and enhance it — preserve existing project-specific instructions and clearly call out what was added or changed.
Best Practices
- Don't read everything — reconnaissance should use Glob and Grep, not Read on every file. Read selectively only for ambiguous signals.
- Verify, don't guess — if a framework is detected from config but the actual code uses something different, trust the code.
- Respect existing AGENTS.md — if one already exists, enhance it rather than replacing it. Call out what's new vs existing.
- Stay concise — the onboarding guide should be scannable in 2 minutes. Details belong in the code, not the guide.
- Flag unknowns — if a convention can't be confidently detected, say so rather than guessing. "Could not determine test runner" is better than a wrong answer.
- Check the commands before writing — every command in Common Tasks and the AGENTS.md must exist in the manifest or Makefile (
package.jsonscripts,pyproject.toml,Makefiletargets). Fix or mark unverified any that do not, then re-check the list before writing the files.
Anti-Patterns to Avoid
- Generating a AGENTS.md that's longer than 100 lines — keep it focused
- Listing every dependency — highlight only the ones that shape how you write code
- Describing obvious directory names —
src/doesn't need an explanation - Copying the README — the onboarding guide adds structural insight the README lacks
Examples
Example 1: First time in a new repo
User: "Onboard me to this codebase" Action: Run full 4-phase workflow → produce Onboarding Guide + Starter AGENTS.md Output: Onboarding Guide printed directly to the conversation, plus a AGENTS.md written to the project root
Example 2: Generate AGENTS.md for existing project
User: "Generate a AGENTS.md for this project" Action: Run Phases 1-3, skip Onboarding Guide, produce only AGENTS.md Output: Project-specific AGENTS.md with detected conventions
Example 3: Enhance existing AGENTS.md
User: "Update the AGENTS.md with current project conventions" Action: Read existing AGENTS.md, run Phases 1-3, merge new findings Output: Updated AGENTS.md with additions clearly marked
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codebase-onboarding/SKILL.md
Popularity
- Repository stars
- 11
- Repository forks
- 4
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/teinam/kiro-with-harness/codebase-onboarding)