ワンクリックで
atlas-iterative
Iterative 3-phase workflow with peer review cycle for changes needing validation (15-30 min)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Iterative 3-phase workflow with peer review cycle for changes needing validation (15-30 min)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Implementation and troubleshooting agent - builds features and fixes bugs
DevOps expertise for deployment, CI/CD, infrastructure, and automation
Adversarial quality gate agent for code review - finds flaws before users do
Product management expertise for story creation, backlog management, validation, and release coordination
Security audits, vulnerability analysis, and security best practices enforcement
Full 9-phase workflow for complex features, epics, and security-critical changes (2-4 hours)
| name | atlas-iterative |
| description | Iterative 3-phase workflow with peer review cycle for changes needing validation (15-30 min) |
Perfect for:
Time estimate: 15-30 minutes (including review cycles)
Success criteria:
Phase 1: Make Change → Implement change
Phase 2: Peer Review (Cycle) → Review → Fix → Repeat until pass
Phase 3: Deploy → Test + deploy
Goal: Implement the change you know needs to happen.
Understand what needs changing
Make the change
Self-verify
.atlas/conventions.md if available)Example 1: Button spacing
/* Before */
.button {
padding: 8px;
margin: 4px;
}
/* After (better spacing) */
.button {
padding: 16px;
margin: 8px;
}
Example 2: Extract helper function
// Before (validation inline)
const isValid = email.includes('@') && email.length > 5
// After (extracted for reusability)
const validateEmail = (email) => {
return email.includes('@') && email.length > 5
}
const isValid = validateEmail(email)
Goal: Get peer feedback, address issues, repeat until approved.
1. Submit for review
2. Receive feedback
3. Address feedback
4. Re-submit
5. Repeat until PASS
Self-review first
# Run your project's validation commands
# Examples:
npm run typecheck # Type checking
npm run lint # Linting
npm test # Unit tests
cargo test # Rust tests
pytest # Python tests
Submit for peer review
Receive feedback
Address feedback
Re-submit
Before submitting:
During review:
Review pass criteria:
Feedback 1: Missing edge case
// Review: "What if the array is empty?"
// Before
const firstItem = items[0]
// After
const firstItem = items.length > 0 ? items[0] : null
if (!firstItem) return null
Feedback 2: Convention violation
# Review: "Should use project's logging utility"
# Before
print("Debug info:", data)
# After
logger.debug("Processing data", extra={"data": data})
Feedback 3: Performance concern
// Review: "This runs on every render - should be memoized"
// Before
const sortedItems = items.sort((a, b) => a.name.localeCompare(b.name))
// After
const sortedItems = useMemo(
() => items.sort((a, b) => a.name.localeCompare(b.name)),
[items]
)
If the atlas-agent-peer-reviewer skill is available:
"Review my changes: [brief description]
Files changed:
- /path/to/file1.js
- /path/to/file2.js
What I changed:
[Explanation]
Please check for:
- Edge cases
- Project conventions
- Code quality
- Security concerns
"
The peer-reviewer agent will provide structured feedback with a verdict:
Goal: Deploy the approved changes.
Final validation
# Run your project's pre-deploy checks
# Examples:
npm run typecheck && npm test
make test
./scripts/validate.sh
Update changelog/release notes Follow your project's convention for documenting changes:
# If using CHANGELOG.md:
## [Unreleased]
### Changed
- Improved button spacing for better UX
# If using PENDING_CHANGES.md:
## Title: Improve button spacing for better UX
### Changes Made:
- Updated button padding from 8px to 16px
- Applied consistently across login and signup screens
- Peer reviewed and approved
# If using git commit messages:
# Just ensure descriptive commit message
Deploy using your project's process
# Examples - use your project's deployment method:
./scripts/deploy.sh dev # Custom deployment script
git push origin feature-branch # Push for CI/CD pipeline
npm run deploy:staging # NPM script
make deploy ENV=staging # Makefile target
Verify deployment
Escalate to Standard workflow if:
Escalate to Full workflow if:
"Escalating to Standard workflow. Found 4 files need changes and complex edge cases require planning."
Then restart from Phase 1 of Standard workflow.
Use case: Adjust spacing, alignment, sizing for better UX
Pattern:
Time: 15-20 minutes
Use case: Extract logic, improve code organization
Pattern:
Time: 20-25 minutes
Use case: Update animations, transitions, visual effects
Pattern:
Time: 15-25 minutes
"Change looks good to me, deploying immediately"
Problem: Purpose of Iterative is validation. Without review, use Quick workflow.
Solution: Complete the review cycle or use Quick workflow if validation not needed.
Reviewer: "Missing edge case"
You: "Looks fine to me, merging anyway"
Problem: Defeats purpose of peer review.
Solution: Address all blocking feedback or escalate to discuss with team.
Started: "Adjust button padding"
Now doing: "Adjust padding + refactor button component + add new props"
Problem: No longer iterative, too complex.
Solution: Escalate to Standard workflow or split into multiple tasks.
/* File: src/components/Card.css */
/* Before */
.card {
padding: 12px;
margin: 8px;
}
.card-title {
font-size: 16px;
margin-bottom: 4px;
}
/* After (improved spacing) */
.card {
padding: 16px; /* More breathing room */
margin: 12px; /* Better separation between cards */
}
.card-title {
font-size: 18px; /* Larger, more prominent */
margin-bottom: 8px; /* Better separation from subtitle */
}
Self-verify: Looks better visually ✅
Submit: "Updated card spacing for better hierarchy. Please review."
Feedback received:
Address feedback:
/* Checked on mobile breakpoint - spacing scales well ✅ */
/* Verified: 4px base unit → 8px, 12px, 16px all match design system ✅ */
Re-submit: "Tested on mobile and verified design system compliance, all good."
Feedback received:
Update changelog:
## [Unreleased]
### Changed
- Improved card spacing for better visual hierarchy
- Increased padding from 12px to 16px
- Increased margin from 8px to 12px
- Increased title font size from 16px to 18px
- Increased title bottom margin from 4px to 8px
- Tested on mobile breakpoints
- Verified design system compliance
Deploy:
./scripts/deploy.sh staging
# ✅ Deployed successfully
Total time: 20 minutes ✅
# Validation (adapt to your project)
npm run typecheck # JavaScript/TypeScript
npm run lint # Linting
npm test # Unit tests
cargo test # Rust
pytest # Python
go test ./... # Go
# Deploy (adapt to your project)
./scripts/deploy.sh staging
git push origin feature-branch
npm run deploy:dev
make deploy ENV=dev
To adapt this workflow for your project, create these files in your repository:
.atlas/conventions.mdDocument your project-specific rules that should be checked during Phase 2:
# Project Conventions
## Code Quality Standards
- All functions must have JSDoc comments
- Maximum function length: 50 lines
- Cyclomatic complexity: < 10
## Naming Conventions
- Components: PascalCase (UserProfile.jsx)
- Utilities: camelCase (formatDate.js)
- Constants: UPPER_SNAKE_CASE (API_ENDPOINT)
## State Management
- Use Redux for global state
- Use useState for component-local state
- Never mutate state directly
## Testing Requirements
- Minimum 80% code coverage
- All public APIs must have unit tests
- Integration tests for critical paths
## Platform-Specific Rules (if applicable)
- Mobile: Avoid nested ScrollViews
- Web: Ensure keyboard navigation support
- iOS: Test on both iPhone and iPad simulators
- Android: Use percentage widths for multi-column layouts
## Security
- Never log sensitive data
- Validate all user inputs
- Use parameterized queries for database access
.atlas/anti-patterns.shCreate automated checks for project-specific code smells:
#!/bin/bash
# Exit on first error
set -e
echo "Running project-specific anti-pattern checks..."
# Check for debug statements
if grep -r "console\.log\|debugger" src/ --exclude-dir=node_modules; then
echo "❌ Debug statements found - remove before deploying"
exit 1
fi
# Check for direct state mutations (if using Redux)
if grep -r "state\." src/ --exclude-dir=node_modules | grep "="; then
echo "⚠️ Possible direct state mutation - verify immutability"
fi
# Check for missing error handling
if grep -r "fetch(" src/ --exclude-dir=node_modules | grep -v "catch"; then
echo "⚠️ fetch() without error handling detected"
fi
# Check for hardcoded credentials
if grep -ri "password\|api_key\|secret" src/ --exclude-dir=node_modules | grep -v "placeholder"; then
echo "❌ Possible hardcoded credentials found"
exit 1
fi
echo "✅ Anti-pattern checks passed"
Make it executable: chmod +x .atlas/anti-patterns.sh
Update the "Deploy" phase to use your specific commands:
Option A: Custom script
./scripts/deploy.sh [environment]
Option B: CI/CD pipeline
git push origin feature-branch # Triggers CI/CD
Option C: Direct deployment
npm run deploy:staging
make deploy ENV=staging
Choose your project's changelog format:
Option A: CHANGELOG.md (Keep a Changelog format)
## [Unreleased]
### Added
- New feature description
### Changed
- Improvement description
### Fixed
- Bug fix description
Option B: PENDING_CHANGES.md (custom format)
## Title: [Descriptive title]
### Changes Made:
- Change 1
- Change 2
Option C: Git commit messages only
feat: add user authentication
fix: resolve login button spacing
refactor: extract validation logic
Atlas will automatically:
.atlas/conventions.md and reference it during Phase 2 reviews.atlas/anti-patterns.sh during self-review if it existsIf these files don't exist, Atlas falls back to generic best practices.
The Iterative workflow adds peer validation to simple changes. Use it when:
Key advantage: Catches edge cases and convention violations early through structured review.
Remember: If review reveals complexity, escalate to Standard workflow rather than forcing it through Iterative.