mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-02-14 10:23:09 +08:00
Add complete .cursor/ directory with rules, agents, skills, commands, and MCP config adapted for Cursor's format. This makes ecc-universal a truly cross-IDE package supporting Claude Code, Cursor, and OpenCode. - 27 rule files with YAML frontmatter (description, globs, alwaysApply) - 13 agent files with full model IDs and readonly flags - 30 skill directories (identical Agent Skills standard, no translation) - 31 command files (5 multi-* stubbed for missing codeagent-wrapper) - MCP config with Cursor env interpolation syntax - README.md and MIGRATION.md documentation - install.sh --target cursor flag for project-scoped installation - package.json updated with .cursor/ in files and cursor keywords
51 lines
1.2 KiB
Markdown
51 lines
1.2 KiB
Markdown
---
|
|
description: "Git commit message format, PR workflow, and feature implementation workflow"
|
|
alwaysApply: true
|
|
---
|
|
|
|
# Git Workflow
|
|
|
|
## Commit Message Format
|
|
|
|
```
|
|
<type>: <description>
|
|
|
|
<optional body>
|
|
```
|
|
|
|
Types: feat, fix, refactor, docs, test, chore, perf, ci
|
|
|
|
Note: Attribution disabled globally via ~/.claude/settings.json.
|
|
|
|
## Pull Request Workflow
|
|
|
|
When creating PRs:
|
|
1. Analyze full commit history (not just latest commit)
|
|
2. Use `git diff [base-branch]...HEAD` to see all changes
|
|
3. Draft comprehensive PR summary
|
|
4. Include test plan with TODOs
|
|
5. Push with `-u` flag if new branch
|
|
|
|
## Feature Implementation Workflow
|
|
|
|
1. **Plan First**
|
|
- Use **planner** agent to create implementation plan
|
|
- Identify dependencies and risks
|
|
- Break down into phases
|
|
|
|
2. **TDD Approach**
|
|
- Use **tdd-guide** agent
|
|
- Write tests first (RED)
|
|
- Implement to pass tests (GREEN)
|
|
- Refactor (IMPROVE)
|
|
- Verify 80%+ coverage
|
|
|
|
3. **Code Review**
|
|
- Use **code-reviewer** agent immediately after writing code
|
|
- Address CRITICAL and HIGH issues
|
|
- Fix MEDIUM issues when possible
|
|
|
|
4. **Commit & Push**
|
|
- Detailed commit messages
|
|
- Follow conventional commits format
|