Skip to content

chore: update AGENTS.md - #2014

Draft
Malte Janz (MalteJanz) wants to merge 1 commit into
mainfrom
chore/update-agents-md
Draft

Malte Janz (MalteJanz) wants to merge 1 commit into
mainfrom
chore/update-agents-md

Conversation

@MalteJanz

Copy link
Copy Markdown
Contributor

Note

Pretty much WIP and up to discussion. Feel free to try it out and provide feedback / thoughts what else we should change about our AGENTS.md to get more consistent results.

What changed?

Trims AGENTS.md by roughly 80 lines and points to dedicated docs instead of repeating them.

  • Adds a one-line description of Shopware CLI and a rule to introduce constants for repeated values.
  • Folds the deployment section into the package list (internal/deployment/, backend/, ssh/) and drops the detailed PHAR, remote PHP and initialization notes.
  • Replaces the inlined command convention summary with pointers to docs/COMMAND_CONVENTIONS.md and docs/TELEMETRY.md.
  • Adds a Documentation section: contributor docs go into ./docs (ADR or Markdown), user docs into shopware/docs.
  • Removes the AI integration section, the example extension and project commands, the verifier tool internals, and the note on deprecated top-level url / admin_api.

Why?

AGENTS.md is read on every agentic coding session, part of the context and costing tokens. It should be as minimal as possible, while still guiding the agent to better outcomes.

Additionally in recent months AI models improved a lot, and having too much in a AGENTS.md could even produce worse output.

How was this tested?

TODO: We likely want to do some testing here, maybe we can trim down the AGENTS.md even more while keeping the quality of the output up with our standards.

Related issue or discussion

Retro todo item from myself.

@MalteJanz Malte Janz (MalteJanz) self-assigned this Dec 1, 2026
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Comment thread AGENTS.md
Comment on lines -148 to -152
### AI Integration

The CLI includes AI-powered features for:

- Twig template upgrades (`extension ai twig-upgrade`)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it be that this never existed? At least shopware-cli extension ai twig-upgrade doesn't work for me 👀 . Anyways that would be end user docs again and not a "must know" for the agent to develop on the cli.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.77%. Comparing base (4e786fb) to head (4a2caeb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2014      +/-   ##
==========================================
+ Coverage   69.74%   69.77%   +0.03%     
==========================================
  Files         543      543              
  Lines       36888    36891       +3     
==========================================
+ Hits        25726    25741      +15     
+ Misses      11162    11150      -12     
Flag Coverage Δ
go-test 69.77% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants