Skip to content

Commit 7a04aa4

Browse files
committed
chore(claude): standardize requirements
1 parent 75f4d82 commit 7a04aa4

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,5 @@ $RECYCLE.BIN/
154154
.DS_Store
155155

156156
# Claude Code local settings
157-
.claude/settings.local.json
157+
.claude/settings.local.json
158+
CLAUDE.local.md

.claude/CLAUDE.md renamed to CLAUDE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22

33
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
44

5+
## Critical Rules
6+
7+
**These rules override all other instructions:**
8+
9+
1. **NEVER commit directly to main** - Always create a feature branch and submit a pull request
10+
2. **Conventional commits** - Format: `type(scope): description`
11+
3. **GitHub Issues for TODOs** - Use `gh` CLI to manage issues, no local TODO files. Use conventional commit format for issue titles
12+
4. **Pull Request titles** - Use conventional commit format (same as commits)
13+
5. **Branch naming** - Use format: `type/scope/short-description` (e.g., `feat/ui/settings-dialog`)
14+
6. **Working an issue** - Always create a new branch from an updated main branch
15+
7. **Check branch status before pushing** - Verify the remote tracking branch still exists. If a PR was merged/deleted, create a new branch from main instead
16+
8. **WPF for all UI** - All UI must be implemented using WPF (XAML/C#). No web-based technologies (HTML, JavaScript, WebView)
17+
18+
---
19+
20+
### GitHub CLI Commands
21+
22+
```bash
23+
gh issue list # List open issues
24+
gh issue view <number> # View details
25+
gh issue create --title "type(scope): description" --body "..."
26+
gh issue close <number>
27+
```
28+
29+
### Conventional Commit Types
30+
31+
| Type | Description |
32+
|------|-------------|
33+
| `feat` | New feature |
34+
| `fix` | Bug fix |
35+
| `docs` | Documentation only |
36+
| `refactor` | Code change that neither fixes a bug nor adds a feature |
37+
| `test` | Adding or updating tests |
38+
| `chore` | Maintenance tasks |
39+
40+
---
41+
542
## Project Overview
643

744
This is a Visual Studio extension that adds a right-click context menu command to open solution files, project files, or individual files in Notepad++. It targets .NET Framework 4.8 and uses the VS SDK.

0 commit comments

Comments
 (0)