mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 16:45:07 +00:00
chore: ignore Claude Code workspace files
This commit is contained in:
@@ -1,50 +0,0 @@
|
|||||||
---
|
|
||||||
name: github-ops
|
|
||||||
description: Use this skill for GitHub issue, PR, and release operations in the Mole repository via gh CLI.
|
|
||||||
---
|
|
||||||
|
|
||||||
# GitHub Operations Skill
|
|
||||||
|
|
||||||
Use this skill when working with GitHub issues, PRs, and releases for Mole.
|
|
||||||
|
|
||||||
## Golden Rule
|
|
||||||
|
|
||||||
**ALWAYS use `gh` CLI** for GitHub operations. Never use raw git commands or web scraping.
|
|
||||||
|
|
||||||
## Issue Handling
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# View issue
|
|
||||||
gh issue view 123
|
|
||||||
|
|
||||||
# List issues
|
|
||||||
gh issue list --state open
|
|
||||||
|
|
||||||
# NEVER comment without explicit user request
|
|
||||||
# Only prepare responses for user review
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pull Request Workflow
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# View current PR
|
|
||||||
gh pr view
|
|
||||||
|
|
||||||
# View PR diff
|
|
||||||
gh pr diff
|
|
||||||
|
|
||||||
# Checkout PR branch
|
|
||||||
gh pr checkout 123
|
|
||||||
```
|
|
||||||
|
|
||||||
## Safety Rules
|
|
||||||
|
|
||||||
1. **NEVER** comment on issues/PRs without explicit user request
|
|
||||||
2. **NEVER** create PRs automatically
|
|
||||||
3. **NEVER** merge without explicit confirmation
|
|
||||||
4. **ALWAYS** prepare responses for user review first
|
|
||||||
5. **ALWAYS** use `gh` instead of manual curl/API calls
|
|
||||||
|
|
||||||
## Issue Language
|
|
||||||
|
|
||||||
Draft replies in the same language as the issue author.
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
---
|
|
||||||
name: release
|
|
||||||
description: Use this skill when preparing, validating, and publishing a Mole release.
|
|
||||||
---
|
|
||||||
|
|
||||||
# Release Skill
|
|
||||||
|
|
||||||
Use this skill when preparing or executing a Mole release.
|
|
||||||
|
|
||||||
## Release Checklist
|
|
||||||
|
|
||||||
### Pre-Release
|
|
||||||
1. [ ] All tests pass: `./scripts/test.sh`
|
|
||||||
2. [ ] Format check: `./scripts/check.sh --format`
|
|
||||||
3. [ ] No uncommitted changes: `git status`
|
|
||||||
|
|
||||||
### Version Bump
|
|
||||||
|
|
||||||
Update version in:
|
|
||||||
- `bin/mole` (VERSION variable)
|
|
||||||
- `install.sh` (if version referenced)
|
|
||||||
|
|
||||||
### Build Verification
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Build
|
|
||||||
make build
|
|
||||||
|
|
||||||
# Test dry run
|
|
||||||
MOLE_DRY_RUN=1 ./mole clean
|
|
||||||
```
|
|
||||||
|
|
||||||
## Release Process
|
|
||||||
|
|
||||||
### 1. Create Git Tag
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Create annotated tag
|
|
||||||
git tag -a v0.x.x -m "Release v0.x.x"
|
|
||||||
|
|
||||||
# Push tag
|
|
||||||
git push origin v0.x.x
|
|
||||||
```
|
|
||||||
|
|
||||||
### 2. GitHub Release
|
|
||||||
|
|
||||||
Create release via GitHub UI or:
|
|
||||||
```bash
|
|
||||||
gh release create v0.x.x --generate-notes
|
|
||||||
```
|
|
||||||
|
|
||||||
## Safety Rules
|
|
||||||
|
|
||||||
1. **NEVER** auto-commit release changes
|
|
||||||
2. **ALWAYS** test build before tagging
|
|
||||||
3. **ALWAYS** verify tests pass
|
|
||||||
4. **NEVER** include local paths in release notes
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -42,6 +42,7 @@ tests/tmp-*
|
|||||||
*.lock
|
*.lock
|
||||||
|
|
||||||
# AI Assistant Instructions
|
# AI Assistant Instructions
|
||||||
|
.claude/
|
||||||
.agents/
|
.agents/
|
||||||
.gemini/
|
.gemini/
|
||||||
.kiro/
|
.kiro/
|
||||||
|
|||||||
Reference in New Issue
Block a user