ma-agents 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/skills/README.md
CHANGED
|
@@ -7,7 +7,7 @@ This directory contains reusable skills for development workflows.
|
|
|
7
7
|
### 1. Git Workflow Skill
|
|
8
8
|
**Directory:** `git-workflow-skill/`
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
**MANDATORY** feature branch workflow for ALL file-changing operations. Enforces branch creation via worktrees, conventional commits, automatic PR creation, and returns to dev branch after push. Agents MUST use this skill for every activity that modifies tracked repository files.
|
|
11
11
|
|
|
12
12
|
**Usage:**
|
|
13
13
|
```bash
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# Mandatory Usage Policy (CRITICAL)
|
|
2
|
+
|
|
3
|
+
**This skill is MANDATORY for all activities that modify tracked files in this repository.**
|
|
4
|
+
|
|
5
|
+
1. **Before starting ANY work** that changes source code, config files, or documentation: You MUST run `./scripts/start-feature.sh` (or the equivalent `git worktree add`) to create an isolated feature branch and worktree.
|
|
6
|
+
2. **During development**: You MUST perform all file-writing activities inside the newly created worktree directory.
|
|
7
|
+
3. **After completing work**: You MUST run `./scripts/finish-feature.sh` (or the equivalent rebase/push/PR/cleanup sequence) to integrate your changes and clean up the worktree.
|
|
8
|
+
|
|
9
|
+
**Failure to follow this workflow is a violation of repository standards.**
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# Git Workflow (Worktree-Based)
|
|
2
14
|
|
|
3
15
|
Multi-agent parallel development using git worktrees. Each agent gets an isolated working directory — no branch switching, no conflicts between agents.
|
|
@@ -168,10 +180,11 @@ git worktree prune
|
|
|
168
180
|
|
|
169
181
|
## Critical Rules
|
|
170
182
|
|
|
171
|
-
- **NEVER** modify tracked files without being in a worktree on a feature branch
|
|
172
|
-
- **NEVER** commit directly to `dev` or `main
|
|
173
|
-
- **ALWAYS** check if file is gitignored before applying this workflow
|
|
174
|
-
- **ALWAYS** create a worktree
|
|
175
|
-
- **ALWAYS** rebase on `dev` before pushing
|
|
176
|
-
- **ALWAYS** use conventional commit format
|
|
177
|
-
- **ALWAYS** add `.worktrees/` to your `.gitignore
|
|
183
|
+
- **NEVER** modify tracked files without being in a worktree on a feature branch.
|
|
184
|
+
- **NEVER** commit directly to `dev` or `main`.
|
|
185
|
+
- **ALWAYS** check if a file is gitignored before applying this workflow.
|
|
186
|
+
- **ALWAYS** create a worktree **BEFORE** calling any file-writing tools (write_to_file, replace_file_content, etc.).
|
|
187
|
+
- **ALWAYS** rebase on `dev` before pushing.
|
|
188
|
+
- **ALWAYS** use conventional commit format.
|
|
189
|
+
- **ALWAYS** add `.worktrees/` to your `.gitignore`.
|
|
190
|
+
- **ALWAYS** finish the workflow by creating a PR and removing the worktree once work is verified.
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Git Workflow",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "2.
|
|
3
|
+
"description": "MANDATORY worktree-based workflow for ALL file-changing activities. Enforces isolated feature branches, conventional commits, and PR-based merging.",
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"author": "AI Agent Skills",
|
|
6
|
-
"tags": [
|
|
7
|
-
|
|
6
|
+
"tags": [
|
|
7
|
+
"git",
|
|
8
|
+
"worktrees",
|
|
9
|
+
"workflow",
|
|
10
|
+
"branching",
|
|
11
|
+
"conventional-commits",
|
|
12
|
+
"pull-requests",
|
|
13
|
+
"multi-agent"
|
|
14
|
+
]
|
|
15
|
+
}
|