Skip to content

add agent options when running npx create-rnvibecode #5

Description

@bidah

Currently we have that the cli at https://github.com/react-native-vibe-code/react-native-vibe-code-sdk/tree/main/packages/starter-kit will create a CLAUDE.md file after cloning project from github but we want an option of the commander cli interactive for the user to choose to create system prompt depending. as ref "There is no universal standard filename for agent instructions/context files across LLM providers — it's fragmented, though AGENTS.md (plural) has emerged as a popular, open, cross-provider convention since mid-2025, backed by collaboration among OpenAI, Google, and others. Many projects now use it as a "README for agents" to provide coding guidelines, conventions, setup steps, etc., for AI agents.Here's the typical / historical file name per major provider for agent/coding context or instructions (especially in tools like IDE integrations, CLIs, or agent modes):Anthropic (Claude)
Primary/conventional file: CLAUDE.md
→ Used by Claude Code / Claude Agent SDK / related tools to load project-specific instructions.
→ Some newer setups symlink or point to AGENTS.md for better cross-tool compatibility.
→ Anthropic also has SKILL.md / Skills folders for reusable agent capabilities (more advanced than simple instructions).
OpenAI
Primary/conventional file: AGENTS.md
→ This is the native / promoted name for OpenAI Codex, OpenAI agents, and related tooling.
→ OpenAI helped drive the AGENTS.md standard (they even acquired the agents.md domain for best practices).
→ It autoloads AGENTS.md (and fallbacks like AGENTS.override.md) in repositories.
Google (Gemini)
Primary/conventional file: GEMINI.md (older/default in Gemini CLI and early tools)
→ Configurable — you can set it to AGENTS.md in settings (e.g., .gemini/settings.json with "contextFileName": "AGENTS.md").
→ Newer Gemini integrations (Gemini Code Assist, Jules, Android Studio Gemini) increasingly support or recommend AGENTS.md directly.
→ Some docs/examples use AGENT.md (singular), but AGENTS.md is the emerging unified choice.

In practice in 2026:Many developers now just use AGENTS.md everywhere and configure tool-specific agents (if needed) to read from it (via symlinks, overrides, or config settings).
This avoids maintaining multiple files like CLAUDE.md + AGENTS.md + GEMINI.md.
The site https://agents.md/ documents the format and lists supporting tools.

If you're setting up a repo, starting with AGENTS.md at the root (and optionally subfolders for monorepos) gives the best future-proof compatibility across these three providers.

" but look the web.

Activity

  1. bidah commented on Feb 23, 2026

    @bidah
    CollaboratorAuthor

    @claude plan and implement this

  2. claude commented on Feb 23, 2026

    @claude

    Claude finished @bidah's task in 4m 13s —— View job • claude/issue-5-20260223-1003 • Create PR ➔


    Plan & Implementation: Agent Options for npx create-rnvibecode

    Todo List:

    • Analyze the issue and understand requirements
    • Read the starter-kit package to understand current implementation
    • Plan the interactive CLI changes
    • Add @inquirer/select dependency to package.json
    • Update cli.ts with interactive agent file selection prompt
    • Commit and push changes

    What was implemented

    packages/starter-kit/src/cli.ts — Interactive agent file selection:

    When running npx create-rnvibecode my-app, the user is now prompted with a select menu:

    ? Which AI agent instruction file would you like to create?
    ❯ CLAUDE.md  — Anthropic Claude / Claude Code
      AGENTS.md  — Cross-provider standard
      GEMINI.md  — Google Gemini
      All files  — CLAUDE.md + AGENTS.md + GEMINI.md
      Skip  — No agent instruction file
    

    Non-interactive flag for scripted/CI usage:

    npx create-rnvibecode my-app --agent claude    # CLAUDE.md only
    npx create-rnvibecode my-app --agent agents    # AGENTS.md only
    npx create-rnvibecode my-app --agent gemini    # GEMINI.md only
    npx create-rnvibecode my-app --agent all       # all three files
    npx create-rnvibecode my-app --agent none      # skip agent files

    All file options use the same React Native coding guidelines content — just with the filename appropriate for each provider. The .claude/ directory is still created alongside CLAUDE.md when that option is chosen.

    packages/starter-kit/package.json — Added @inquirer/select ^4.0.2 dependency.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions