This skill provides the procedures and knowledge for setting up a new project environment compatible with AI-driven development (Agent Skills Ecosystem). It is intended to be used as a specialized knowledge set when an agent determines that project initialization is necessary.
Core Principles
- Standard Commands: To install the skill,
npx skills addand always obtain the latest and appropriate version. - Documentation First: Establish the project's "rules (AGENTS.md)" and "instructions (instructions.md)" before the code.
- Modular Setup: Use a structure that allows selective introduction of necessary features (skills).
Workflow
1. Establishing the Project Definition (AGENTS.md)
At the project root, AGENTS.md and define the agent's role and the project-wide instructions (system prompt).
Action:
Use the following template to create AGENTS.md .
# Agent Definitions & Instructions
このプロジェクトでは、以下の役割を持つAIエージェントが協調して開発を行います。
## Project Instructions (System Prompt)
このプロジェクトでは「ドキュメント駆動開発」と「Agent Skills」ワークフローを採用しています。
すべての変更は、実装の前にドキュメント(SPEC.md, DESIGN.mdなど)に反映される必要があります。
(その他、コーディング規約や振る舞いに関するルールをここに記述してください)
## Roles
(プロジェクトのニーズに合わせて役割を追加・削除してください)
### 1. [Role Name] (role description)
- **責任**: ...
- **スキル**: ...
### examples:
### Architect (設計)
- **責任**: 要件定義、システム設計、技術選定、ドキュメント管理。
- **スキル**: `architect` (recommended)
### Developer (実装)
- **責任**: コードの実装、リファクタリング、単体テスト作成。
- **スキル**: `developer` (recommended)
2. Installing the skill
AGENTS.md Install the skills necessary for the role defined in .
Action: Consult with the user and select and install the necessary skills.
# 構文: npx skills add [skill-name]
npx skills add [required-skill]
[!TIP] Common skills:
dev-support,architect,developer,qa,devops, etc. If there are Tech Stack-specific skills, propose those as well.
4. Initializing the Documentation Structure
Create the standard documentation directory.
Action:
mkdir -p docs/dev
touch docs/dev/README.md
Post-Completion Steps
After completing the environment setup procedure, the agent should make judgments and proposals regarding the next actions based on the project's current phase and the user's instructions. Do not include automatic transition instructions to specific skills.