feat(ci): enhance GitHub templates and add configuration files

Phase 2: GitHub Templates & Configuration

Issue Templates:
- Enhanced bug_report.md with Python version and component fields
- Added 'needs discussion' label to feature_request.md for better triage

PR Template:
- Added CI/CD workflow change type
- Expanded checklist with quality gates, documentation, testing, and CI/CD sections
- Added Conventional Commits reminder and branch naming convention
- Better organized sections for code quality, docs, testing

Configuration Files:
- CODEOWNERS: Auto-request review from @alirezarezvani for critical paths
- commit-template.txt: Conventional Commits guide with examples
- dependabot.yml: Weekly Python (pip) and GitHub Actions dependency updates

Aligns templates with new CI/CD workflows from Phase 1:
- PR validation expects Conventional Commits format
- Quality gates check Python, Markdown, Bash, secrets
- Branch naming conventions enforced by pr-into-dev workflow

Next: Phase 3 (dev branch creation, branch protection documentation)
This commit is contained in:
Reza Rezvani
2025-11-12 12:54:03 +01:00
parent dd6a6c24d7
commit 2651797190
5 changed files with 141 additions and 2 deletions
+32
View File
@@ -0,0 +1,32 @@
# ClaudeForge Code Owners
# These owners will be automatically requested for review when someone opens a PR that modifies code in these areas
# Default owner for everything in the repo
* @alirezarezvani
# GitHub workflows and actions
/.github/ @alirezarezvani
# Installation scripts (critical for users)
/install.sh @alirezarezvani
/install.ps1 @alirezarezvani
# Core skill modules
/skill/*.py @alirezarezvani
# Slash commands
/command/ @alirezarezvani
# Guardian agent
/agent/ @alirezarezvani
# Documentation (important for user experience)
/docs/ @alirezarezvani
/README.md @alirezarezvani
/CHANGELOG.md @alirezarezvani
# Quality hooks
/hooks/ @alirezarezvani
# Setup scripts
/setup/ @alirezarezvani
+3 -1
View File
@@ -29,7 +29,9 @@ What actually happened.
- **OS:** [e.g., macOS 13.5, Windows 11, Ubuntu 22.04]
- **Claude Code Version:** [e.g., 2.1.0]
- **ClaudeForge Version:** [e.g., 1.0.0]
- **Installation Method:** [user-level / project-level]
- **Python Version:** [e.g., 3.11.6] (if relevant)
- **Installation Method:** [curl install / local install / user-level / project-level]
- **Component:** [installer / skill / command / agent / docs]
## Additional Context
+1 -1
View File
@@ -2,7 +2,7 @@
name: Feature Request
about: Suggest a new feature or enhancement for ClaudeForge
title: '[FEATURE] '
labels: enhancement
labels: enhancement, status: needs discussion
assignees: ''
---
+65
View File
@@ -0,0 +1,65 @@
# <type>(<scope>): <subject>
#
# <body>
#
# <footer>
# === Conventional Commits Format ===
#
# TYPE (required):
# feat: A new feature
# fix: A bug fix
# docs: Documentation only changes
# style: Code style changes (formatting, missing semi-colons, etc.)
# refactor: Code changes that neither fix bugs nor add features
# perf: Performance improvements
# test: Adding or updating tests
# build: Changes to build system or dependencies
# ci: Changes to CI/CD configuration files and scripts
# chore: Other changes that don't modify src or test files
# revert: Reverts a previous commit
#
# SCOPE (optional):
# installer, skill, command, agent, docs, ci, workflows, etc.
#
# SUBJECT (required):
# - Use imperative mood: "add" not "added" or "adds"
# - Don't capitalize first letter
# - No period at the end
# - Maximum 50 characters
#
# BODY (optional):
# - Explain what and why vs. how
# - Wrap at 72 characters
# - Use imperative mood
#
# FOOTER (optional):
# - Reference issues: Closes #123, Fixes #456
# - Breaking changes: BREAKING CHANGE: description
#
# === Examples ===
#
# feat(installer): add Windows PowerShell support
#
# Add install.ps1 script for Windows users with equivalent
# functionality to install.sh bash script.
#
# Closes #42
#
# ---
#
# fix(skill): correct Python syntax validation
#
# Fix flake8 configuration to properly detect syntax errors
# in skill modules. Previous config was too permissive.
#
# Fixes #156
#
# ---
#
# docs: update installation guide with troubleshooting
#
# Add common installation issues and solutions to
# docs/TROUBLESHOOTING.md based on user feedback.
#
# Relates to #78, #82, #91
+40
View File
@@ -0,0 +1,40 @@
version: 2
updates:
# Python dependencies (skill modules)
- package-ecosystem: "pip"
directory: "/skill"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
labels:
- "dependencies"
- "python"
- "component: skill"
commit-message:
prefix: "build(deps)"
include: "scope"
open-pull-requests-limit: 5
# Group minor and patch updates together
groups:
python-dependencies:
patterns:
- "*"
update-types:
- "minor"
- "patch"
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "10:00"
labels:
- "dependencies"
- "github-actions"
- "component: ci/cd"
commit-message:
prefix: "ci(deps)"
open-pull-requests-limit: 5