init-agents-config
Generate .agents.yml config from user answers. Provides tech stack templates for Rails, Python, Node, and Generic projects.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Init Agents Config
Assemble .agents.yml from collected user answers during /majestic:init.
Resources
| Resource | Purpose |
|---|---|
CONFIG_VERSION |
Current .agents.yml schema version |
resources/rails.yaml |
Rails config template |
resources/python.yaml |
Python config template |
resources/node.yaml |
Node config template |
resources/generic.yaml |
Generic config template |
resources/agents-md-template.md |
AGENTS.md best practices |
resources/local-config-template.yaml |
Local overrides template |
Template Selection by Tech Stack
| Tech Stack | Template |
|---|---|
| Rails | resources/rails.yaml |
| Python | resources/python.yaml |
| Node | resources/node.yaml |
| Generic | resources/generic.yaml |
Assembly Instructions
- Read the appropriate template based on detected
tech_stack - Replace placeholders with collected answers:
-
{{config_version}}- Read fromCONFIG_VERSIONfile -
{{owner_level}}- beginner, intermediate, senior, expert -
{{task_management}}- github, linear, beads, file, none - Stack-specific fields from user answers
-
- Conditionally include/exclude sections:
- Remove
extras:section if no Solid gems selected (Rails) - Remove
toolbox.build_task.design_system_pathif no design system detected - Comment out
browser:section unless user selected non-Chrome browser
- Remove
- Write to
.agents.yml
Conditional Sections
Quality Gate Reviewers
Each stack has default reviewers. Include optional reviewers only if user enables them:
-
dhh-code-reviewer- Rails strict style -
data-integrity-reviewer- Migration safety -
codex-reviewer/gemini-reviewer- External LLM
Browser Config
Default is commented out (uses Chrome). Uncomment only if user selects Brave or Edge.
Extras (Rails only)
Include only Solid gems the user selected:
-
solid_cache -
solid_queue -
solid_cable
Output
Write generated config to .agents.yml in project root.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-02-04
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!