Back to Skills

preparing-review

verified

Commit, push, create PR. Use after verification passes and ready to share work for team review.

View on GitHub

Marketplace

kecbigmt-plugins

kecbigmt/cc-plugins

Plugin

story-driven

development-workflow

Repository

kecbigmt/cc-plugins

plugins/story-driven/skills/preparing-review/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/kecbigmt/cc-plugins/blob/main/plugins/story-driven/skills/preparing-review/SKILL.md -a claude-code --skill preparing-review

Installation paths:

Claude
.claude/skills/preparing-review/
Powered by add-skill CLI

Instructions

# Preparing for Code Review

## Pre-Commit Checklist

```
Before Commit:
- [ ] Developer verification complete
- [ ] All tests pass
- [ ] Linting passes
- [ ] Story log updated
```

## Commit Granularity

**CRITICAL: One intent per commit.** Split by "why" not "what".

❌ FORBIDDEN:
```bash
git add .  # Groups unrelated changes
git commit -m "add feature X and refactor Y"
```

✅ REQUIRED:
```bash
git add src/feature.ts tests/feature.test.ts
git commit -m "feat: enable feature X"

git add src/utils.ts
git commit -m "refactor: extract common logic"
```

## Commit Message

**CRITICAL: Explain WHY, not WHAT (diff shows what)**

Format: `<type>(<scope>): <summary>` + body

Types: `feat`, `fix`, `refactor`, `test`, `docs`, `chore`

Good:
```
feat(sync): enable GitHub backup for notes

Users need version control. Initializes repo for that.
```

Bad (avoid):
```
feat(sync): add git init
^^ Only what, not why it matters
```

Guidelines:
- Title: what + value (imperative, ≤50 chars)
- Body: problem solved, context, user benefit
- Never restate code changes

## Push

```bash
git push -u origin <branch>  # first time
git push                      # subsequent
```

## Create PR

Use `pr-template` skill for PR structure and guidelines.

## Post-PR

Update story log:

```markdown
### Pull Request
PR: [#123](url)
Created: [date]
Status: Ready for review
```

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1317 chars