Skip to content

6869: Add claude.md and Claude Code configuration#62

Open
turegjorup wants to merge 19 commits intodevelopfrom
feature/6869_agent_config
Open

6869: Add claude.md and Claude Code configuration#62
turegjorup wants to merge 19 commits intodevelopfrom
feature/6869_agent_config

Conversation

@turegjorup
Copy link
Copy Markdown
Contributor

@turegjorup turegjorup commented Mar 19, 2026

Link to ticket

https://leantime.itkdev.dk/dashboard/show#/tickets/showTicket/6869

Description

Add vendor-neutral agents.md with project context for AI coding agents, and Claude Code settings with permissions, hooks, and plugins. Update README with AI coding agents section describing the setup.

https://dev.to/javiereguiluz/claude-code-for-symfony-and-php-the-setup-that-actually-works-1che

Latest additions:

  • Agents: PR readiness checker (runs all CI-equivalent checks locally) and Doctrine migration generator
  • Skills: /update-api-spec for regenerating OpenAPI spec files
  • Hooks: PreToolUse guard for lock files/.env.local, Prettier auto-format for JS/CSS/YAML/MD
  • MCP: Team-shared .mcp.json with context7 for live documentation lookup

Screenshot of the result

If your change affects the user interface you should include a screenshot of the result with the pull request.

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

If your code does not pass all the requirements on the checklist you have to add a comment explaining why this change
should be exempt from the list.

Additional comments or questions

If you have any further comments or questions for the reviewer please add them here.

Add vendor-neutral agents.md with project context for AI coding agents,
and Claude Code settings with permissions, hooks, and plugins. Update
README with AI coding agents section describing the setup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@turegjorup turegjorup requested a review from cableman March 19, 2026 11:38
@turegjorup turegjorup self-assigned this Mar 19, 2026
turegjorup and others added 3 commits March 19, 2026 12:44
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
"feature-dev@claude-plugins-official": true
},
"alwaysThinkingEnabled": true,
"defaultMode": "acceptEdits"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I do not think this should be the default behavior, it will not match all users workflow. The "alwaysThinkingEnabled" will burn tokens and time way to fast. It is better to do "ultrathink" when you need it.

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.

Removed

@@ -0,0 +1,142 @@
# 🤖 Code Agents - DevOps ITKsites
Copy link
Copy Markdown
Contributor

@cableman cableman Mar 19, 2026

Choose a reason for hiding this comment

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

Note this file is not read by claude, this is jetbrains only

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.

Renamed to claude.md

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.

But it's not "jetbrains only" https://agents.md/ 😃

{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"env": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do we want to play with experimental as default in projects? 😊

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.

Removed

"Bash(gh release delete:*)",
"Bash(gh release edit:*)",
"Bash(gh repo create:*)",
"Bash(gh repo delete:*)",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe move to deny, and lets the human delete?

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.

All "delete" commands have been moved to "deny"

turegjorup and others added 3 commits March 25, 2026 13:54
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Jesper Pedersen <jesper@yepz.dk>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 25, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@a555524). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/Trait/ExportCrudControllerTrait.php 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop      #62   +/-   ##
==========================================
  Coverage           ?   12.61%           
  Complexity         ?      819           
==========================================
  Files              ?      118           
  Lines              ?     2560           
  Branches           ?        0           
==========================================
  Hits               ?      323           
  Misses             ?     2237           
  Partials           ?        0           
Flag Coverage Δ
unittests 12.61% <0.00%> (?)

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

☔ View full report in Codecov by Sentry.
📢 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.

turegjorup and others added 6 commits March 25, 2026 14:18
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add PHPStan, twig-cs-fixer, and composer normalize PostToolUse hooks
- Add SessionStart hook to ensure Docker services are running
- Add Stop hook for Symfony DI container validation
- Scope docker compose permissions (destructive commands require confirmation)
- Restore php-lsp plugin
- Set COMPOSE_USER env var

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace opaque RabbitMQ Erlang cookie with self-documenting value
and add comment indicating these are local dev credentials.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- PHP 8.4+ → 8.5+, Symfony 7.3 → 8.0
- EasyAdmin 4.x → 5.x, PHPUnit 11+ → 13+
- Expand CI section to reflect all 14 workflow checks

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

API Specification - Non-breaking changes

API Changelog 0.0.0 vs. 0.0.0

No changes

turegjorup and others added 3 commits March 27, 2026 10:53
Use plain constructor instead of the removed static factory method,
fixing PHPStan staticMethod.notFound errors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@turegjorup turegjorup requested review from cableman and yepzdk March 27, 2026 10:11
@turegjorup turegjorup changed the title 6869: Add agents.md and Claude Code configuration 6869: Add claude.md and Claude Code configuration Mar 27, 2026
turegjorup and others added 3 commits March 27, 2026 11:29
Add PR readiness and migration generator agents, update-api-spec skill,
PreToolUse lock file guard, Prettier PostToolUse hook, and team-shared
.mcp.json with context7.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Convert absolute host paths to relative paths in all PostToolUse hooks
using ${CLAUDE_FILE_PATH#$CLAUDE_PROJECT_DIR/} so tools inside Docker
containers can resolve the files. Document agents, skills, hooks, and
MCP servers in README.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fix MD030 violations: reduce list marker spacing from 3 to 1 space.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

4 participants