본문으로 건너뛰기
cccskills
무료GitHub에 공개

guild-specialize

Enriches CLAUDE.md by exploring the project and specializes agents to the real stack

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Guild Specialize

Explores the user's real project and enriches the entire Guild configuration with concrete information about the detected stack, architecture, and conventions.

This skill runs once after guild init. It transforms generic placeholders into real project information.

When to use

  • Immediately after running guild init
  • When a new stack is added to the project (new database, new framework)
  • When the project structure has changed significantly

Process

Step 1 — Read base context

Read the Guild configuration files:

  • CLAUDE.md — current instructions (contains [PENDING: guild-specialize] placeholders)
  • PROJECT.md — identity and stack declared during init

Step 2 — Explore the real project

Investigate the real project structure looking for:

Dependencies and versions:

  • package.json (Node.js/frontend)
  • pom.xml or build.gradle (Java)
  • requirements.txt or pyproject.toml (Python)
  • Gemfile (Ruby)
  • go.mod (Go)
  • Cargo.toml (Rust)

Architecture and structure:

  • Folders src/, app/, lib/, pkg/, internal/
  • Organization pattern: by layers, by features, by domain
  • Project entry points

Configuration and conventions:

  • tsconfig.json, eslint.config.*, .prettierrc
  • .env.example, .env.local (environment variables — do NOT read real .env)
  • Dockerfile, docker-compose.yml
  • CI/CD: .github/workflows/, .gitlab-ci.yml

Database and migrations:

  • Folder migrations/, db/, prisma/, drizzle/
  • Configured ORM or query builder
  • Existing schema

Existing documentation:

  • README.md — project overview
  • Internal documentation in docs/

Step 3 — Enrich CLAUDE.md

Invoke the Tech Lead agent using Task tool with model: "opus" (reasoning tier) to replace all [PENDING: guild-specialize] placeholders in CLAUDE.md with real information:

  • Stack with exact versions: extracted from dependency files
  • Folder structure explained: what each main folder does
  • Detected code conventions: linter, formatter, import style
  • Identified architecture patterns: MVC, hexagonal, modular, etc.
  • Known environment variables: listed from .env.example
  • Visible limitations and technical debt: outdated dependencies, TODOs found
  • Useful project commands: detected npm/make/cargo scripts

CLAUDE.md now uses zone markers (<!-- guild:auto-start:ID --> / <!-- guild:auto-end:ID -->) to delimit auto-generated sections. When enriching:

  • Replace content BETWEEN the markers, preserving the markers themselves
  • The following zones exist: structure, architecture, conventions, env-vars
  • Do NOT modify content outside of zone markers (user-owned sections)
  • If markers are missing (legacy project), replace [PENDING: guild-specialize] placeholders directly

Step 4 — Specialize agents

Invoke the Tech Lead agent using Task tool with model: "sonnet" (execution tier) to add project-specific context for each agent in .claude/agents/*.md:

  • advisor.md: real project domain, target users
  • tech-lead.md: specific stack, detected patterns, architecture decisions
  • developer.md: code conventions, main framework, file structure
  • code-reviewer.md: lint rules, project patterns, anti-patterns to watch
  • qa.md: testing framework, commands to run tests, current coverage
  • bugfix.md: debugging stack, logs, available tools

When specializing agents, append a zone at the bottom of each agent file:

<!-- guild:auto-start:agent-context -->
## Project-Specific Context
- Stack: [detected stack]
- Architecture: [detected patterns]
- Conventions: [detected conventions]
<!-- guild:auto-end:agent-context -->

This zone allows guild-re-specialize to update agent context later without touching the agent's core role definition.

Use the Task tool with model: "sonnet" to invoke each agent by reading their .claude/agents/[name].md if you need a specialized perspective to enrich their configuration.

The model parameter is resolved from the step's model-tier: reasoning→"opus", execution→"sonnet". System/gate steps run inline (no Task tool).

Step 5 — Confirm

Present a summary of what was detected:

Guild v1 specialized for [project-name]

Detected stack:
- [list of technologies with versions]

Architecture:
- [identified pattern]
- [main structure]

Updated agents:
- [list of agents with their applied specialization]

Use /resume or /build-feature to continue work.

Step 6 — Commit enrichment immediately

CRITICAL: After enriching CLAUDE.md and agent files, commit the changes immediately as their own atomic commit. Do NOT leave them as unstaged changes — they are vulnerable to git stash and other operations.

git add CLAUDE.md .claude/agents/*.md
git commit -m "chore: enrich CLAUDE.md and agents via guild-specialize"

This ensures enrichment survives any subsequent git operations (stash, checkout, rebase).

Example Session

User: /guild-specialize

Guild Specialize analyzing project...

Tech Lead (opus) — Enriching CLAUDE.md...
Stack detected:
- Node.js 20.11.0, TypeScript 5.3.3
- React 18.2.0, Next.js 14.1.0
- PostgreSQL via Prisma 5.9.0

Architecture:
- Next.js App Router (src/app/)
- API routes in src/app/api/
- Shared components in src/components/

Tech Lead (sonnet) — Specializing agents...
Agents updated:
- developer.md: Specialized for Next.js + TypeScript
- qa.md: Configured for Vitest + Playwright

Use /resume or /build-feature to continue work.

Important Notes

  • NEVER read real .env files — only .env.example or .env.local
  • If you cannot detect something with certainty, ask the user instead of assuming
  • Prioritize accuracy over completeness — it is better to say "not detected" than to fabricate
  • Agents should be specialized to the real stack, not generic
  • NEVER use git stash in automated pipelines — use wip: commits instead
  • CLAUDE.md changes must always be committed separately from feature code

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Full pipeline: evaluation -> spec -> implementation -> review -> QA

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Guild-Agents/guild42026년 7월 21일 업데이트

council

무료

Convenes multiple agents to debate an important decision

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Guild-Agents/guild42026년 7월 21일 업데이트

create-pr

무료

Create a pull request from the current branch with structured summary

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Guild-Agents/guild42026년 7월 21일 업데이트

debug

무료

Discipline skill — systematic debugging process. Use when encountering any bug, debug issue, test failure, broken function, or unexpected behavior, before proposing fixes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Guild-Agents/guild42026년 7월 21일 업데이트

qa-cycle

무료

QA + bugfix cycle until it passes

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Guild-Agents/guild42026년 7월 21일 업데이트

Incremental re-specialization — re-scans the project and updates only auto-generated zones in CLAUDE.md and agents

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Guild-Agents/guild42026년 7월 21일 업데이트

Guild-Agents의 스킬 모두 보기

이 스킬의 문제 신고