af-init

Generate AGENTS.md and governance rules for Greenfield and Brownfield projects.

3|Updated Oct 5, 2025
One-click install
npx skills add https://github.com/korchasa/ide-rules --skill af-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-init
Source: https://github.com/korchasa/ide-rules/tree/main/catalog/skills/af-init
Command: npx skills add https://github.com/korchasa/ide-rules --skill af-init

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

Initialize project governance by generating AGENTS.md and governance rules, enabling a reproducible starting point for new or existing codebases.

Core Features & Use Cases

  • Auto-create AGENTS.md and rules scaffolding to document intent and governance.
  • Inventory project context and generate initial documents for Greenfield and Brownfield projects.
  • Provide a minimal, ready-to-run scaffolding and scripts to bootstrap a maintainable project structure.

Quick Start

Run the af-init skill to generate AGENTS.md, rules, and initial scaffolding for your repository.

Frequently Asked Questions about af-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I initialize project governance and generate an AGENTS.md file?

To initialize project governance, you can generate an AGENTS.md file and governance rules to establish a reproducible starting point that documents intent and structure for your repository.

Can I use a project initialization tool for both greenfield and brownfield codebases?

Yes, project initialization applies to both greenfield and brownfield codebases. It inventories existing project context to generate initial documents, scaffolding, and rule sets as needed for either environment.

What is the best way to bootstrap scaffolding and rules for an existing repository?

The best way to bootstrap scaffolding is to run an initialization process that ensures idempotent generation, meaning it safely creates or updates documents and rules without overwriting existing valid components.

How does idempotent generation work when initializing project rules?

Idempotent generation during initialization ensures that when components like AGENTS.md already exist, the process tracks steps safely and creates or updates documents accordingly without breaking your current setup.

Do I need to manually track steps when generating an AGENTS.md file?

No, you do not need to manually track steps. The initialization process uses a task management tool to track steps automatically while creating your project documents and governance rule sets.