Skip to content

[FEATURE]: Guided AGENTS.md setup flow for /init command #25815

@LifetimeVip

Description

@LifetimeVip

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The /init command generates an AGENTS.md file, but the quality depends heavily on the user knowing what to include. A guided/interactive flow would help users create high-signal AGENTS.md files.

Suggested approach:

  1. Interactive prompts during /init: After the user types /init, present a series of questions:

    • What is the main goal of this project?
    • What are the key conventions or patterns used?
    • Are there any critical files or directories the agent should know about?
    • Any preferred workflows or build commands?
  2. Template-based generation: Use answers to fill a structured AGENTS.md template with sections for project overview, conventions, critical paths, and workflows.

  3. Preview before save: Show the generated content and let the user edit before saving.

This complements the bug fix in #19341 (/init truncation). This request is about improving the quality of the generated AGENTS.md content, not fixing truncation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions