Skip to main content
ClaudeWave
Slash Command801 repo starsupdated 7mo ago

ci-guard

The ci-guard slash command manually triggers the Commit & Branch Guard workflow to validate branch naming conventions and Conventional Commit syntax on a specified branch or commit SHA. Use this command before merging to ensure your code adheres to project standards for branch names and commit messages, helping prevent CI/CD pipeline failures.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alirezarezvani/claude-code-skill-factory/HEAD/.claude/commands/ci-guard.md -o ~/.claude/commands/ci-guard.md
Then start a new Claude Code session; the slash command loads automatically.

ci-guard.md

## Purpose
Run `ci-commit-branch-guard.yml` manually to validate branch naming and Conventional Commit syntax.

## Usage

```
/ci-guard [ref]
```

- `ref` (optional): Branch or SHA to validate. Defaults to current branch.

## Steps
1. Ensure you are authenticated with GitHub CLI (`gh auth status`).
2. Determine the branch to validate (defaults to `git branch --show-current`).
3. Trigger the workflow:
   ```bash
   gh workflow run ci-commit-branch-guard.yml --ref ${ref:-$(git branch --show-current)}
   ```
4. Watch progress:
   ```bash
   gh run watch --workflow "Commit & Branch Guard"
   ```
5. Resolve any failures (branch rename or commit amend) before continuing.
agents-guideSubagent

Interactive guide for building custom Claude Code Agents and subagents. Asks straightforward questions, generates enhanced YAML frontmatter with tools/model/color/field/expertise, creates agent .md files, validates format, and helps install to .claude/agents/ or ~/.claude/agents/. Use when user wants to build workflow specialist agents.

factory-guideSubagent

Main navigation guide for Claude Code Skills Factory. Use when user wants to build custom Skills, Prompts, or Agents. Orchestrates and delegates to specialized guide agents.

hooks-guideSubagent

Interactive guide for building custom Claude Code hooks. Asks straightforward questions, uses hook-factory skill, generates complete hooks with validation, and provides installation instructions.

prompts-guideSubagent

Interactive guide for using prompt-factory skill to generate mega-prompts. Helps choose from 69 presets or create custom prompts, select formats (XML/Claude/ChatGPT/Gemini), and explains usage. Use when user wants to generate production-ready prompts for any LLM.

skills-guideSubagent

Interactive guide for building custom Claude Skills. Asks straightforward questions, uses SKILLS_FACTORY_PROMPT template, generates complete skill files, validates format, creates ZIP, and helps install. Use when user wants to build multi-file skill capabilities.

cmSlash Command

Stage working tree changes and create a Conventional Commit (no push).

cpSlash Command

Stage, commit, and push the current branch following git governance rules.

prSlash Command

Create a pull request from the current branch.