# Init

> Analyze project structure and update AGENTS.md with detected tech stack, commands, and configurations.

- Skill: `gaebalai/init` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gaebalai/init`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gaebalai/init/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gaebalai (https://skillmd.com/u/gaebalai)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/gaebalai/init

---


# Initialize Project Configuration

Analyze this project and update **only the project-specific sections** of AGENTS.md.

## Important

- Do **NOT** modify the "Extensions" section and below in existing AGENTS.md
- Only update the top project-specific sections

## Steps

### 1. Project Analysis

Find these files to identify the tech stack:

- `package.json` → Node.js/TypeScript project
- `pyproject.toml` / `setup.py` / `requirements.txt` → Python project
- `Cargo.toml` → Rust project
- `go.mod` → Go project
- `Makefile` / `Dockerfile` → Build/deploy config
- `.github/workflows/` → CI/CD config

Also detect:

- npm scripts / poe tasks / make targets → Common commands
- Major libraries/frameworks

### 2. Ask User

Use AskUserQuestion tool to ask:

1. **Project overview**: What does this project do? (1-2 sentences)
2. **Code language**: English or Korean for comments/variable names?
3. **Additional rules**: Any other coding conventions to follow?

### 3. Partial Update of AGENTS.md

Use Edit tool to update only the top section (up to first `---`) with this format:

```markdown
# Project Overview

{User's answer}

## Language Settings

- **Thinking/Reasoning**: English
- **Code**: {Based on analysis - English or Korean}
- **User Communication**: Korean

## Tech Stack

- **Language**: {Detected language}
- **Package Manager**: {Detected tools}
- **Dev Tools**: {Detected tools}
- **Main Libraries**: {Detected libraries}
```

### 4. Update Common Commands

Update the `## Common Commands` section with detected commands:

```markdown
## Common Commands

```bash
# Detected commands (example)
{npm run dev / poe test / make build etc.}
```
```

### 5. Check Unnecessary Rules

Check rules in `.claude/rules/` and suggest removing unnecessary ones:

- Non-Python project → `dev-environment.md` (uv/ruff/ty) may not be needed
- No-test project → `testing.md` may not be needed

### 6. Report Completion

Report to user (in Korean):

- Detected tech stack
- Updated sections
- Recommended rules to remove (if any)

