Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .claude/commands/make-branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ i{issue-index}-{type}/{action-description_with_underscores}
## Supported Types

- `feat` - New features
- `fix` - Bug fixes
- `docs` - Documentation changes
- `fix` - Bug fixes
- `doc` - Documentation changes
- `config` - Configuration updates
- `refactor` - Code refactoring
- `test` - Test additions or improvements
- `perf` - Performance improvements

## Examples

Expand All @@ -37,9 +39,9 @@ i{issue-index}-{type}/{action-description_with_underscores}
#23`
- Output: `i23-fix/resolve-styling-issues-in-dialog`

- Input: `/make-branch [docs]: add component usage examples
- Input: `/make-branch [doc]: add component usage examples
#42`
- Output: `i42-docs/add-component-usage-examples`
- Output: `i42-doc/add-component-usage-examples`

## Implementation

Expand Down
12 changes: 7 additions & 5 deletions .claude/commands/make-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ Automatically generate draft pull requests with intelligent content analysis.

Generate titles based on branch analysis using these prefixes:

- **feat**: New features, updates, output-changing code, agent rules/commands, utils
- **config**: prettier, eslint, ci/cd, dependency installs/bumps, docker, vscode settings
- **refactor**: lint fixes, prettier fixes, output-unchanged code improvements
- **fix**: bug fixes, correcting mistakes
- **test**: separate test PRs, storybook, .test file additions
- **feat**: New features, updates, output-changing code
- **fix**: Bug fixes, correcting mistakes
- **doc**: Documentation changes
- **config**: prettier, eslint, ci/cd, dependency installs/bumps, docker, vscode settings
- **refactor**: Lint fixes, prettier fixes, output-unchanged code improvements
- **test**: Test additions or improvements, storybook, .test file additions
- **perf**: Performance improvements

Note: Use `config` instead of `chore` (chore implies unimportance)

Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/agent.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: agent
about: Add or update agent rules, commands, or automation
title: "[agent]: "
labels: feat-agent
assignees: p-iknow
title: "agent: "
labels: agent
assignees: ""

---

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: bug
about: Create a bug report to help us improve
title: "[bug]: [Descrption]"
title: "bug: "
labels: bug
assignees: p-iknow
assignees: ""

---

Expand Down
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/component.md

This file was deleted.

6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: config
about: Add or update project configuration, dependencies, or tooling
title: "[confg]:"
labels: feat-config
assignees: p-iknow
title: "config: "
labels: config
assignees: ""

---

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/doc.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: doc
about: Add or update project documentation
title: "[doc]:"
title: "doc: "
labels: doc
assignees: p-iknow
assignees: ""

---

Expand Down
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/feat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: feat
about: Add a new feature or enhancement
title: "feat: "
labels: feat
assignees: ""

---

## Requirement

**What feature needs to be implemented:**

## Implementation Plan (optional)

**Feature scope:**

**Key components:**

**Files to be modified:**

## Should be tested

- [ ] Feature tested locally
- [ ] Edge cases covered
- [ ] Documentation updated (if applicable)

## Reference (optional)
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: fix
about: Fix a bug or issue
title: "fix: "
labels: fix
assignees: ""

---

## Summary

A clear and concise description of what needs to be fixed.

## Steps to Reproduce (if applicable)

1.
2.
3.

## Expected Behavior

## Current Behavior

## Root Cause (optional)

## Implementation Plan (optional)

**Files to be modified:**

**Approach:**

## Should be tested

- [ ] Fix verified locally
- [ ] Regression testing completed
- [ ] Edge cases covered

## Reference (optional)
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/perf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: perf
about: Improve performance
title: "perf: "
labels: perf
assignees: ""

---

## Requirement

**What needs performance improvement:**

**Current performance issue:**

**Target performance goal:**

## Implementation Plan (optional)

**Approach:**

**Optimization strategy:**

**Files to be modified:**

**Breaking changes (if any):**

## Should be tested

- [ ] Performance benchmarks run
- [ ] Improvement verified and measured
- [ ] No regression in other areas
- [ ] Documentation updated with performance notes

## Reference (optional)
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: refactor
about: Refactor existing code for better maintainability or performance
title: "refactor: "
labels: refactor
assignees: ""

---

## Requirement

**What needs to be refactored:**

**Why this refactoring is needed:**

## Implementation Plan (optional)

**Scope:**

**Approach:**

**Files to be modified:**

**Breaking changes (if any):**

## Should be tested

- [ ] Refactored code tested locally
- [ ] No functional changes verified
- [ ] All existing tests still passing
- [ ] Code quality metrics improved (if applicable)

## Reference (optional)
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: test
about: Add or improve tests
title: "test: "
labels: test
assignees: ""

---

## Requirement

**What tests need to be added/improved:**

## Implementation Plan (optional)

**Test type:**
- [ ] Unit tests
- [ ] Integration tests
- [ ] E2E tests
- [ ] Performance tests

**Test scope:**

**Files to be modified:**

## Should be tested

- [ ] Tests written and passing
- [ ] Coverage improved (if applicable)
- [ ] Edge cases covered
- [ ] Test documentation added

## Reference (optional)
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/util.md

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Automatically assigns issues and pull requests to their creator
# This helps with ownership tracking and accountability
name: Auto Assign

on:
pull_request:
types: [opened, ready_for_review]
issues:
types: [opened]

permissions:
contents: read
issues: write
pull-requests: write

jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- name: Auto assign to creator
# https://github.com/actions/github-script
uses: actions/github-script@v8
with:
script: |
const creator = context.payload.sender.login;
const number = context.payload.pull_request?.number || context.payload.issue?.number;
const itemType = context.payload.pull_request ? 'pull request' : 'issue';

try {
await github.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: number,
assignees: [creator]
});

console.log(`Assigned ${itemType} #${number} to @${creator}`);
} catch (error) {
console.log(`Failed to assign ${itemType}: ${error.message}`);
}
Loading