symkit/bundle-ai-kit
最新稳定版本:v0.0.13
Composer 安装命令:
composer require symkit/bundle-ai-kit
包简介
AI rules and optional skills for building Symfony bundles (best practices, SOLID, AbstractBundle, quality tooling)
README 文档
README
AI rules, AGENTS.md, agent prompts, and all skills for Symfony bundle packages (Cursor only): AbstractBundle, Contract pattern, SOLID, API/Doctrine/Messenger/UX topics, quality tooling.
On every composer install / composer update, the plugin copies into your bundle repo:
| Destination | Content |
|---|---|
.cursor/rules/*.mdc |
All rules |
.cursor/skills/*/ |
Every folder under ai/cursor/skills/ in the package |
.cursor/agents/*.md |
pm, architect, qa |
AGENTS.md (project root) |
Directives + rules index |
No composer.json configuration required. User-added files are never deleted; kit files are merged/overwritten only.
Requirements
- PHP 8.2+
- Composer 2.x or 3.x
- Cursor
Installation
Add the package as a dev dependency and allow the plugin.
Path repository (local clone):
{
"repositories": [
{ "type": "path", "url": "./bundles-rules" }
],
"require-dev": {
"symkit/bundle-ai-kit": "*"
},
"config": {
"allow-plugins": {
"symkit/bundle-ai-kit": true
}
}
}
VCS repository:
{
"repositories": [
{ "type": "vcs", "url": "https://github.com/your-org/bundles-rules" }
],
"require-dev": {
"symkit/bundle-ai-kit": "^1.0"
},
"config": {
"allow-plugins": {
"symkit/bundle-ai-kit": true
}
}
}
composer update symkit/bundle-ai-kit
Skills (always installed)
| Skill | Description |
|---|---|
feature |
PM → Architect → implementation → QA pipeline |
bug-fix |
TDD: regression test first, then fix |
refactor |
Safe refactor with coverage first |
onboard |
Profile bundle repo, update Project DNA in AGENTS.md |
learn |
Capture lessons to docs/lessons-learned.md |
quality-install |
PHPStan, CS-Fixer, Deptrac, Infection, GrumPHP, Makefile templates |
create-branch |
Branch naming type/slug |
commit |
Validate, commit, push (Conventional Commits) |
What you get
Rules
24 .mdc rules. symfony-bundle is alwaysApply; the others mostly use globs.
AGENTS.md + agents
AGENTS.md— behavioural directives and rules index (Project DNA via/onboard).pm,architect,qa— under.cursor/agents/(e.g./featureworkflow).
Merge-only behaviour
The plugin never removes files you added yourself.
.gitignore in your bundle
.cursor/ # Optional if you regenerate on each clone: # AGENTS.md
Commit .cursor/ + AGENTS.md after first sync, or ignore them and rely on Composer.
Contributing
Issues and pull requests are welcome.
License
MIT.
统计信息
- 总下载量: 1.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 5
- 依赖项目数: 15
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-21