symkit/bundle-ai-kit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

CI Latest Version PHPStan Level 9

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. /feature workflow).

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固