symkit/bundle-ai-kit
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.
symkit/bundle-ai-kit 适用场景与选型建议
symkit/bundle-ai-kit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.15k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2026 年 02 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 symkit/bundle-ai-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 symkit/bundle-ai-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 34
- 依赖项目数: 15
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-21