Skip to content

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Oct 2, 2025

Q A
Bug fix? no
New feature? yes
Docs? yes
Issues --
License MIT

Support files like:

{
  "role": "You are an expert code reviewer with deep knowledge of software engineering best practices, design patterns, and code quality.",
  "responsibilities": [
    "Review code for bugs and potential issues",
    "Suggest improvements for code quality and maintainability",
    "Identify security vulnerabilities",
    "Recommend better design patterns when appropriate",
    "Ensure code follows language-specific best practices"
  ],
  "tone": "constructive and educational",
  "approach": "Provide thorough but concise feedback with specific suggestions and examples when helpful"
}

but also TXT or MD files are supported.

AI Bundle config

ai:
    agent
        my-agent:
            model: 'gpt-4o-mini'
            prompt:
                file: '%kernel.project_dir%/prompts/code-reviewer.json'

Proof

CleanShot 2025-10-02 at 11 59 17@2x

@OskarStark OskarStark self-assigned this Oct 2, 2025
@carsonbot carsonbot added Agent Issues & PRs about the AI Agent component AI Bundle Issues & PRs about the AI integration bundle Feature New feature Status: Needs Review labels Oct 2, 2025
@OskarStark OskarStark force-pushed the OskarStark/prompt-file-config branch 15 times, most recently from 8e15161 to d26a95e Compare October 2, 2025 10:01
@OskarStark OskarStark force-pushed the OskarStark/prompt-file-config branch from c12631d to 27effc1 Compare October 2, 2025 10:09
@OskarStark OskarStark force-pushed the OskarStark/prompt-file-config branch from 73d0614 to 9ed9428 Compare October 2, 2025 10:47
@OskarStark OskarStark merged commit 21ef09f into symfony:main Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Agent Issues & PRs about the AI Agent component AI Bundle Issues & PRs about the AI integration bundle Feature New feature Status: Reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants