Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
日本語の概要は準備中です。原文の説明を表示しています。
Generate CHANGELOG entries following conventional commits format with semantic versioning. Use when finalizing features to maintain proper change history.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
This skill provides systematic guidance for generating CHANGELOG entries that follow conventional commits format and semantic versioning principles, ensuring clear and consistent change history documentation.
Objective: Understand what changed in this feature/fix.
Review commit history:
# View commits since last release/main
git log --oneline main..HEAD
# View detailed commits
git log main..HEAD
# View files changed
git diff --stat main..HEAD
# View actual changes
git diff main..HEAD
Identify change types:
Review issue and PR:
Deliverable: Clear understanding of all changes
Objective: Classify the change according to conventional commits.
Conventional Commit Types:
| Type | Description | Version Impact | Use When |
|---|---|---|---|
feat | New feature | MINOR (0.X.0) | Adding new functionality |
fix | Bug fix | PATCH (0.0.X) | Fixing a bug |
docs | Documentation | PATCH (0.0.X) | Only docs changed |
style | Code style | PATCH (0.0.X) | Formatting, whitespace |
refactor | Code refactoring | PATCH (0.0.X) | Code restructure, no behavior change |
perf | Performance | PATCH (0.0.X) | Performance improvements |
test | Tests | PATCH (0.0.X) | Adding/updating tests |
chore | Maintenance | PATCH (0.0.X) | Build, deps, configs |
BREAKING CHANGE | Breaking change | MAJOR (X.0.0) | Incompatible API changes |
Decision Tree:
Does it add new functionality?
└─ Yes → `feat` (MINOR bump)
└─ No → Does it fix a bug?
└─ Yes → `fix` (PATCH bump)
└─ No → Is it a breaking change?
└─ Yes → `BREAKING CHANGE` (MAJOR bump)
└─ No → Choose appropriate type (PATCH bump)
Breaking Changes: A breaking change occurs when:
Examples:
feat: add user authentication system (#123)
fix: resolve memory leak in cache manager (#124)
docs: update API documentation for v2.0 (#125)
refactor: simplify database connection logic (#126)
perf: optimize query performance with indexing (#127)
BREAKING CHANGE: change authentication API (#128)
Deliverable: Identified change type and version impact
Objective: Determine the next version number.
Semantic Versioning Format: MAJOR.MINOR.PATCH
Version Increment Rules:
Read current version:
# From CHANGELOG.md
head -20 CHANGELOG.md
# From pyproject.toml (Python)
grep "^version" pyproject.toml
# From package.json (Node.js)
grep '"version"' package.json
# From __init__.py (Python)
grep "__version__" src/__init__.py
Calculate next version:
# Example calculation
current = "1.2.3" # Current version
# For MAJOR bump (breaking change)
next = "2.0.0"
# For MINOR bump (new feature)
next = "1.3.0"
# For PATCH bump (bug fix)
next = "1.2.4"
Pre-release versions:
1.0.0-alpha.1 # Alpha release
1.0.0-beta.1 # Beta release
1.0.0-rc.1 # Release candidate
Deliverable: Next version number
Objective: Create properly formatted CHANGELOG entry.
Read existing CHANGELOG:
# Read CHANGELOG to understand format
Read CHANGELOG.md
CHANGELOG Format (Keep a Changelog):
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.3.0] - 2024-01-15
### Added
- User authentication system with JWT tokens (#123)
- Password reset functionality (#125)
- Email verification for new accounts (#126)
### Changed
- Updated user profile API to include avatar URL (#127)
- Improved error messages for validation failures (#128)
### Fixed
- Memory leak in cache manager (#124)
- Race condition in concurrent requests (#129)
### Security
- Implemented rate limiting for login attempts (#130)
- Added CSRF protection for all forms (#131)
### Performance
- Optimized database queries with proper indexing (#132)
- Reduced API response time by 40% (#133)
### Deprecated
- `/api/v1/users` endpoint (use `/api/v2/users`) (#134)
### Removed
- Legacy authentication method (#135)
## [1.2.3] - 2024-01-01
### Fixed
- Critical bug in payment processing (#120)
[Unreleased]: https://github.com/user/repo/compare/v1.3.0...HEAD
[1.3.0]: https://github.com/user/repo/compare/v1.2.3...v1.3.0
[1.2.3]: https://github.com/user/repo/compare/v1.2.2...v1.2.3
Entry Categories:
| Category | Use For |
|---|---|
| Added | New features, new capabilities |
| Changed | Changes in existing functionality |
| Fixed | Bug fixes |
| Deprecated | Features marked for removal |
| Removed | Removed features |
| Security | Security improvements/fixes |
| Performance | Performance improvements |
Writing Guidelines:
Example Entries:
### Added
- User authentication system with JWT tokens and refresh token support (#123)
- Supports email/password and OAuth providers
- Includes session management and logout functionality
- Comprehensive test suite with 95% coverage (#125)
### Changed
- **BREAKING**: Authentication API now requires `Authorization` header instead of query parameter (#126)
- Database schema updated to support user roles (#127)
### Fixed
- Memory leak in cache manager causing high RAM usage (#124)
- Race condition in concurrent file uploads (#128)
- Incorrect error messages for validation failures (#129)
### Security
- Implemented rate limiting (100 req/min per IP) to prevent brute force attacks (#130)
- Added input sanitization to prevent XSS attacks (#131)
- Updated dependencies to fix security vulnerabilities (CVE-2024-1234) (#132)
### Performance
- Optimized database queries with proper indexing, reducing query time by 60% (#133)
- Implemented Redis caching for frequently accessed data (#134)
- Reduced API response time from 500ms to 200ms average (#135)
Deliverable: CHANGELOG entry content
Objective: Insert new entry into CHANGELOG.md.
Process:
Update CHANGELOG.md:
# Changelog
## [Unreleased]
## [1.3.0] - 2024-01-15 ← NEW ENTRY HERE
### Added
- Your new features
### Fixed
- Your bug fixes
## [1.2.3] - 2024-01-01 ← Previous entry
### Fixed
- Previous fixes
[Unreleased]: https://github.com/user/repo/compare/v1.3.0...HEAD ← Update this
[1.3.0]: https://github.com/user/repo/compare/v1.2.3...v1.3.0 ← Add this
[1.2.3]: https://github.com/user/repo/compare/v1.2.2...v1.2.3
Use Edit tool:
# Read the file first
Read CHANGELOG.md
# Then edit to insert new entry
Edit CHANGELOG.md
old_string: "## [Unreleased]\n\n## [1.2.3]"
new_string: "## [Unreleased]\n\n## [1.3.0] - 2024-01-15\n\n### Added\n- Feature description (#123)\n\n## [1.2.3]"
Deliverable: Updated CHANGELOG.md file
Objective: Update version in all relevant files.
Files to update:
[project]
name = "project-name"
version = "1.3.0" # Update this
"""Package initialization."""
__version__ = "1.3.0" # Update this
__author__ = "Author Name"
{
"name": "package-name",
"version": "1.3.0", // Update this
"description": "Package description"
}
setup(
name="package-name",
version="1.3.0", # Update this
...
)
Update process:
# Find all files with version numbers
Grep pattern="version.*=.*[0-9]+\.[0-9]+\.[0-9]+"
# Update each file
Edit pyproject.toml
old_string: 'version = "1.2.3"'
new_string: 'version = "1.3.0"'
Edit src/__init__.py
old_string: '__version__ = "1.2.3"'
new_string: '__version__ = "1.3.0"'
Deliverable: Version numbers updated in all files
Objective: Ensure CHANGELOG meets quality standards.
Quality Checklist:
Review Examples:
Good Entry:
### Added
- User authentication system with JWT and OAuth support (#123)
- Password reset flow with email verification (#125)
✅ Clear, specific, includes references
Bad Entry:
### Added
- Authentication stuff
- Password thing
❌ Vague, no references, not informative
Good Breaking Change:
### Changed
- **BREAKING**: Authentication API now requires `Authorization: Bearer <token>` header instead of `?token=` query parameter (#126)
- Migration: Update client code to send token in header
- Old method will be removed in v2.0.0
✅ Clearly marked, explains change, provides migration path
Bad Breaking Change:
### Changed
- Auth API changed (#126)
❌ Not marked as breaking, no details, no migration help
Deliverable: Quality-verified CHANGELOG entry
DO:
DON'T:
DO:
DON'T:
Added: New features that users can now use
### Added
- Dark mode toggle in settings (#123)
- Export data to CSV functionality (#124)
Changed: Modifications to existing features
### Changed
- Improved search performance by 50% (#125)
- Updated UI layout for better mobile experience (#126)
Fixed: Bug fixes that users will notice
### Fixed
- Crash when opening large files (#127)
- Incorrect calculation in reports (#128)
Deprecated: Features marked for future removal
### Deprecated
- Legacy API endpoints (use v2 API) (#129)
- Will be removed in version 3.0.0
Removed: Features that have been deleted
### Removed
- Support for Internet Explorer 11 (#130)
Security: Security improvements or fixes
### Security
- Fixed XSS vulnerability in comment system (CVE-2024-1234) (#131)
- Added rate limiting to prevent brute force attacks (#132)
Performance: Performance improvements
### Performance
- Reduced page load time by 40% through lazy loading (#133)
- Optimized database queries for reports (#134)
Scenario: Added user authentication system
Change Type: feat
Version: 1.0.0 → 1.1.0 (MINOR bump)
CHANGELOG Entry:
## [1.1.0] - 2024-01-15
### Added
- User authentication system with email/password and OAuth support (#123)
- JWT-based authentication with refresh tokens
- Session management with configurable timeout
- Password reset flow with email verification
- User profile management interface (#125)
- Role-based access control (RBAC) system (#126)
### Security
- Implemented bcrypt password hashing (#124)
- Added rate limiting for login attempts (5 per minute) (#127)
- CSRF protection for all authenticated endpoints (#128)
[1.1.0]: https://github.com/user/repo/compare/v1.0.0...v1.1.0
Scenario: Fixed memory leak
Change Type: fix
Version: 1.1.0 → 1.1.1 (PATCH bump)
CHANGELOG Entry:
## [1.1.1] - 2024-01-16
### Fixed
- Memory leak in cache manager causing gradual RAM increase (#129)
- Race condition in concurrent file uploads (#130)
- Incorrect timezone handling in date filters (#131)
[1.1.1]: https://github.com/user/repo/compare/v1.1.0...v1.1.1
Scenario: Changed authentication API
Change Type: BREAKING CHANGE
Version: 1.1.1 → 2.0.0 (MAJOR bump)
CHANGELOG Entry:
## [2.0.0] - 2024-01-20
### Changed
- **BREAKING**: Authentication API now requires Bearer token in Authorization header (#132)
- **Before**: `GET /api/resource?token=xxx`
- **After**: `GET /api/resource` with `Authorization: Bearer xxx` header
- **Migration**: Update all API clients to send token in header
- Query parameter authentication will be removed in this version
- **BREAKING**: User model now requires email verification (#133)
- All existing users marked as verified
- New registrations require email confirmation
- **Migration**: No action needed for existing users
### Added
- Improved token security with short-lived access tokens (#134)
- Automatic token refresh mechanism (#135)
### Deprecated
- `/auth/login-legacy` endpoint (use `/auth/login`) (#136)
- Will be removed in v3.0.0
[2.0.0]: https://github.com/user/repo/compare/v1.1.1...v2.0.0
# View git log
git log --oneline --graph --all
# View changes since tag
git log v1.0.0..HEAD
# View files changed
git diff --stat main..HEAD
# Create git tag
git tag -a v1.1.0 -m "Release version 1.1.0"
git push origin v1.1.0
Input: Completed feature implementation and documentation Process: Systematic CHANGELOG generation following conventions Output: Updated CHANGELOG.md with proper versioning Next Step: PR creation with CHANGELOG included
# 1. Review changes
git log --oneline main..HEAD
git diff --stat main..HEAD
# 2. Determine change type
# Decision: New feature → feat → MINOR bump
# 3. Calculate next version
# Current: 1.2.3
# Next: 1.3.0 (MINOR bump for new feature)
# 4. Read current CHANGELOG
Read CHANGELOG.md
# 5. Generate entry content
# Write comprehensive entry with all changes
# 6. Update CHANGELOG.md
Edit CHANGELOG.md
# Insert new version section
# 7. Update version files
Edit pyproject.toml
# Change version to 1.3.0
Edit src/__init__.py
# Change __version__ to "1.3.0"
# 8. Verify quality
# Review entry for completeness and clarity
# 9. Commit
git add CHANGELOG.md pyproject.toml src/__init__.py
git commit -m "chore: update CHANGELOG for v1.3.0"
CHANGELOG is complete when:
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
日本語の概要は準備中です。原文の説明を表示しています。
Analyze feature requirements, dependencies, and security considerations. Use when starting feature implementation from GitHub issues to understand scope, technical feasibility, and risks.
日本語の概要は準備中です。原文の説明を表示しています。
Run SQL queries against psql, BigQuery, or MySQL from the terminal, including natural-language-to-SQL and schema exploration. Use when analyzing data, inspecting DB state, or debugging tables. Trigger on "query the database", "SQL", "show me data from", "explore table".
日本語の概要は準備中です。原文の説明を表示しています。
Design REST APIs or function contracts with clear request/response specifications, error handling patterns, authentication strategies, and comprehensive documentation.
日本語の概要は準備中です。原文の説明を表示しています。
Generate comprehensive API endpoint tests for REST and GraphQL APIs. Creates tests for all HTTP methods, status codes, authentication, and validation.
日本語の概要は準備中です。原文の説明を表示しています。
Design component architecture and module structure using established architectural patterns for clean, maintainable, and scalable systems.
日本語の概要は準備中です。原文の説明を表示しています。