بنقرة واحدة
commit
Create a commit following repository guidelines with proper versioning and changelog updates.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a commit following repository guidelines with proper versioning and changelog updates.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Orchestrates SDD project initialization — version detection, environment verification, scaffolding, and git setup.
Manage project settings in sdd/sdd-settings.yaml including component settings that drive scaffolding.
Single gateway for all core↔tech-pack interactions. Reads manifests, resolves paths, loads skills/agents, routes commands.
Manage tasks and plans using the .tasks/ directory.
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
Standards for authoring SDD plugin commands — frontmatter, user interaction, skill/agent invocation, CLI integration, and output formatting.
| name | commit |
| description | Create a commit following repository guidelines with proper versioning and changelog updates. |
Create commits that follow the repository's guidelines with proper versioning and changelog updates.
Run git status and git diff to understand:
When to run: If any changed files are under plugin/core/system/ or plugin/fullstack-typescript/system/ (TypeScript source).
Run npm run typecheck:plugin and verify it passes. If there are type errors, fix them before proceeding — never commit code that doesn't compile.
Skip conditions:
plugin/core/system/ or plugin/fullstack-typescript/system/.md files, .tasks/, or non-TypeScript filesFor each affected plugin, check if version bump is needed:
Files That REQUIRE Version Bump:
| Directory/File | Description |
|---|---|
plugin/core/commands/ | All command .md files |
plugin/core/skills/ | All core skill .md files |
plugin/core/system/ | Core CLI system source files |
plugin/core/permissions/ | Permission configuration |
plugin/fullstack-typescript/agents/ | All agent .md files |
plugin/fullstack-typescript/skills/ | All tech pack skill .md files |
plugin/fullstack-typescript/system/ | Tech pack CLI system source files |
plugin/fullstack-typescript/templates/ | All template files |
plugin/.claude-plugin/ | Plugin manifest |
Files That Do NOT Require Version Bump (Marketplace-Level):
README.mdCLAUDE.mdCONTRIBUTING.mdchangelog/ directory (changelog entries go in version-specific files).claude/skills/ (marketplace-level skills).gitignore.claudeignoreplugin/tests/ (test files)If version bump is needed, prompt for type:
Update BOTH files:
plugin/.claude-plugin/plugin.json.claude-plugin/marketplace.jsonWhen to run: After updating version files, before proceeding to changelog.
If changes affect plugin/.claude-plugin/plugin.json or .claude-plugin/marketplace.json:
manifest-validation skill to validate both manifestsQuick validation:
# Verify versions match
jq -r '.version' plugin/.claude-plugin/plugin.json
jq -r '.plugins[0].version' .claude-plugin/marketplace.json
Skip conditions:
Changelog structure:
changelog/v{N}.md - Per-major-version files (v1.md, v2.md, v3.md, v4.md, v5.md)Plugin changes: Format ## [x.y.z] - YYYY-MM-DD (versioned releases)
Infrastructure changes: Format ## Infrastructure - YYYY-MM-DD (date-based)
Update the version-specific file (changelog/v{major}.md): Add entry at the top (after the header)
Entry format:
## [x.y.z] - YYYY-MM-DD
### [Category]
- **[component]**: Description of change
- Detail 1
- Detail 2
### Rationale
Why this change was made (for significant changes).
Categories:
Added - New featuresChanged - Changes to existing functionalityEnhanced - Improvements to existing featuresFixed - Bug fixesRemoved - Removed featuresDetermining the version file:
5.0.2 → v5.md)changelog/v{major}.mdWhen to run: If changes affect plugin functionality (commands, agents, skills, directory structure, workflows).
What to check:
docs-standards agent to audit documentation against current plugin stateDocumentation files to verify:
README.md - Quick start, project structure, permissionsdocs/getting-started.md - Tutorial and structure diagramsdocs/commands.md - Command references and examplesdocs/workflows.md - Workflow examplesdocs/agents.md - Agent descriptionsdocs/components.md - Component typesSkip conditions:
.claude/skills/).tasks/)If changes involve .tasks/ or are related to a tracked task:
Use the tasks skill to ensure proper task status management. The tasks skill is authoritative for:
Common scenarios:
| Scenario | Action |
|---|---|
| Plan created and approved | Use /tasks plan-review N to move task to plan-review |
| Starting implementation | Use /tasks implement N to move task to implementing |
| Implementation complete | Use /tasks review N to move task to reviewing |
| Work fully done | Use /tasks complete N to mark task complete |
Skip conditions:
Task-context detection: Before generating the message, check if the current branch is a feature branch for a task (e.g., feature/task-19-*). If so, and the task is in 4-implementing/ or 5-reviewing/, prefix the commit message with the task reference:
Task #19: [Action] [Component]: [Description]
Version bumps on feature branches:
Default format (when not on a task feature branch):
[Action] [Component]: [Description], bump to [version]
[Optional detailed explanation]
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Actions:
.tasks/)Task-only commits (all changed files are under .tasks/): Skip confirmation — proceed directly to Step 8.
All other commits: Present to the user:
Wait for user confirmation before proceeding.
After confirmation (or immediately for task-only commits):
User: /commit
Agent: Analyzing changes...
Found changes in:
- plugin/fullstack-typescript/agents/backend-dev.md
Detected plugin: plugin (current version: 1.10.19)
Version files need updating:
- plugin/.claude-plugin/plugin.json
- .claude-plugin/marketplace.json
What type of version bump?
1. PATCH (1.10.19 → 1.10.20) - Bug fixes, small improvements
2. MINOR (1.10.19 → 1.11.0) - New features
3. MAJOR (1.10.19 → 2.0.0) - Breaking changes
User: 1
Agent: Updating versions to 1.10.20...
✓ Updated plugin.json
✓ Updated marketplace.json
changelog/v1.md needs an entry for 1.10.20.
Proposed entry:
## [1.10.20] - 2026-01-17
### Fixed
- Updated backend-dev agent with improved error handling
Should I add this entry? (yes/edit/no)
User: yes
Agent: ✓ Updated changelog/v1.md
Proposed commit message:
---
Fix backend-dev agent: Improve error handling, bump to 1.10.20
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---
Files to commit:
- plugin/fullstack-typescript/agents/backend-dev.md
- plugin/.claude-plugin/plugin.json
- changelog/v1.md
- .claude-plugin/marketplace.json
Proceed with commit? (yes/edit/no)
User: yes
Agent: ✓ Committed: abc1234 "Fix backend-dev agent: Improve error handling, bump to 1.10.20"
Plugin TS changed? → Typecheck → Bump version → CHANGELOG → Check docs → Stage all → Commit
Plugin non-TS changed? → Bump version → CHANGELOG → Check docs → Stage all → Commit
Infrastructure file changed? → CHANGELOG → Stage all → Commit
Task-only changes? → Stage all → Commit (no confirmation needed)
## [x.y.z] - YYYY-MM-DD, infrastructure uses ## Infrastructure - YYYY-MM-DDchangelog/v{N}.md (no root CHANGELOG.md)tasks skill for all task status changes; don't manually edit task filesCRITICAL: If your changes would result in multiple changelog entries, split them into separate commits.
Example - Wrong:
git add file1.md file2.md file3.md
git commit -m "Add feature A, fix bug B, refactor C"
# Results in 3 changelog entries in one commit - BAD
Example - Correct:
git add file1.md && git commit -m "Add feature A"
git add file2.md && git commit -m "Fix bug B"
git add file3.md && git commit -m "Refactor C"
# Each commit has one changelog entry - GOOD
Why: Clean git history, easier rollbacks, clearer blame, simpler code review.
CRITICAL: Before amending, check if the commit has been pushed:
git log origin/main..HEAD --oneline
When a pushed commit needs fixing:
git commit --amendFix: Correct typo in previous commit (a3614c1)Run these before committing:
# Check versions match
echo "Plugin version:"
cat plugin/.claude-plugin/plugin.json | grep version
echo "Marketplace version:"
cat .claude-plugin/marketplace.json | grep version
# Check changelog has entry for new version
head -20 changelog/v5.md # Adjust version number as needed
# Check staged files
git status
The changelog is split by major version to stay within Claude's file size limits:
changelog/
├── README.md # Compelling summary of all major versions (for evaluators)
├── v1.md # All 1.x releases
├── v2.md # All 2.x releases
├── v3.md # All 3.x releases
├── v4.md # All 4.x releases
├── v5.md # All 5.x releases
└── v6.md # All 6.x releases (current)
When adding a new entry:
5.1.0 → major version 5)changelog/v5.md after the header sectionWhen creating a new major version:
changelog/v{N}.mdchangelog/README.md