一键导入
ai-create-cmd
Create a new Claude skill for augint-shell repositories. Use when building new automation commands or skills.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new Claude skill for augint-shell repositories. Use when building new automation commands or skills.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Monitor CI pipeline after push, diagnose failures, auto-fix and re-push. Use after submitting work, or asking 'check the build' or 'how's the pipeline'.
Stand up a new repository with standard quality gates, CI/CD pipeline, and configuration files.
Find, analyze, and recommend GitHub issues to work on. Use when looking for issues, or asking 'what should I work on next'.
Create a feature branch from the correct base (dev or main), sync release bumps, and set up remote tracking. Use when starting work on an issue or saying 'start working on'.
Comprehensive repository health check with remote-first git hygiene, branch cleanup, and code quality analysis. Use for repo maintenance, or saying 'clean up the repo'.
Rollback a bad release or revert a merged PR. Use when something broke after a merge or release. Also triggered by 'something broke', 'undo the last release', 'revert'.
| name | ai-create-cmd |
| description | Create a new Claude skill for augint-shell repositories. Use when building new automation commands or skills. |
| argument-hint | [skill-name and description] |
Create a new Claude skill for trinity repositories: $ARGUMENTS
Follow these steps to create a well-structured skill:
Parse the skill request:
Extract from user input:
- Skill name (kebab-case)
- Skill purpose
- Key functionality needed
- Target repos (default: all trinity)
Determine skill scope:
Ask: "Should this skill also have a meta version for the augint-project repo?" (Only if the skill relates to project management, vision docs, or cross-repo operations)
Create the skill directory and file:
# Create in templates first
mkdir -p src/ai_shell/templates/claude/skills/{skill-name}
touch src/ai_shell/templates/claude/skills/{skill-name}/SKILL.md
Generate SKILL.md with this structure:
---
name: {skill-name}
description: {One-line description of what it does and when to use it. Max 250 chars.}
argument-hint: "[expected arguments]"
---
{Command description in active voice}: $ARGUMENTS
{Brief overview of what this skill does.}
## Usage Examples
- `/{skill-name}` - Default behavior
- `/{skill-name} specific args` - With arguments
## 1. {First Major Step}
- {Specific action}
- {Validation check}
```bash
# Example command
=== {Skill Name} Results ===
{Structured output format}
Status: {success/warnings/failures}
Choose appropriate frontmatter options:
argument-hint to show expected arguments in the skill menuValidate the skill:
# Check SKILL.md exists and has frontmatter
head -10 src/ai_shell/templates/claude/skills/{skill-name}/SKILL.md
# Verify frontmatter has required fields
grep -E "^(name|description):" src/ai_shell/templates/claude/skills/{skill-name}/SKILL.md
Register in scaffold.py:
Add the skill name to CLAUDE_SKILL_DIRS in src/ai_shell/scaffold.py:
CLAUDE_SKILL_DIRS = [
# ... existing skills ...
"{skill-name}",
]
Best practices:
/ai-submit-work")Copy to trinity repositories:
# Deploy via scaffold
for repo in augint-library augint-api augint-web; do
python -c "
from ai_shell.scaffold import scaffold_claude
from pathlib import Path
scaffold_claude(Path('../$repo'), overwrite=True)
"
done
Verify deployment:
# Check all trinity repos have the skill
ls -la ../augint-*/.claude/skills/{skill-name}/SKILL.md
{Action} for {purpose}: $ARGUMENTS
## 1. Check current state
## 2. Perform action
## 3. Verify success
## 4. Report results with next step
Analyze {target} for {criteria}: $ARGUMENTS
## 1. Gather data
## 2. Process and categorize
## 3. Generate insights
## 4. Provide recommendations
Automate {task} across {scope}: $ARGUMENTS
## 1. Validate prerequisites
## 2. Execute automation
## 3. Handle errors
## 4. Confirm completion
Consistent skill creation ensures all repositories have access to the same automation capabilities with predictable behavior and quality.