mAi: #41 - Add template skeleton with labels, CLAUDE.md, .gitignore, issue templates
Standard label set: p1-p3, status:*, type:* (no skill labels) CLAUDE.md skeleton with placeholder sections .gitignore covering mai, Python, Go, Node, OS files Issue templates for features, bugs, and research
This commit is contained in:
23
.gitea/issue_template/bug.yaml
Normal file
23
.gitea/issue_template/bug.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Bug Report
|
||||
about: Report something that isn't working
|
||||
title: ""
|
||||
labels:
|
||||
- "type:bug"
|
||||
body:
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: What happened?
|
||||
description: Describe the bug.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: What should have happened instead?
|
||||
- type: textarea
|
||||
id: reproduce
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: How can the bug be triggered?
|
||||
18
.gitea/issue_template/feature.yaml
Normal file
18
.gitea/issue_template/feature.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Feature Request
|
||||
about: Propose a new feature or enhancement
|
||||
title: ""
|
||||
labels:
|
||||
- "type:feature"
|
||||
body:
|
||||
- type: textarea
|
||||
id: goal
|
||||
attributes:
|
||||
label: Goal
|
||||
description: What should this feature accomplish?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: details
|
||||
attributes:
|
||||
label: Details
|
||||
description: Any specifics, constraints, or context.
|
||||
18
.gitea/issue_template/research.yaml
Normal file
18
.gitea/issue_template/research.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Research
|
||||
about: Investigation or analysis task
|
||||
title: ""
|
||||
labels:
|
||||
- "type:research"
|
||||
body:
|
||||
- type: textarea
|
||||
id: question
|
||||
attributes:
|
||||
label: Research question
|
||||
description: What needs to be investigated?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: context
|
||||
attributes:
|
||||
label: Context
|
||||
description: Background, constraints, or related resources.
|
||||
29
.gitignore
vendored
Normal file
29
.gitignore
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
# Transient mai files
|
||||
.maiproject/events.log
|
||||
.maiproject/reports.db
|
||||
.maiproject/spawn.lock
|
||||
.maiproject/inbox_lastread
|
||||
.maiproject/mai.db
|
||||
.maiproject/.migrated-sqlite
|
||||
.maiproject/todos/
|
||||
|
||||
# Python
|
||||
__pycache__/
|
||||
|
||||
# Go
|
||||
/bin/
|
||||
|
||||
# Node
|
||||
node_modules/
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
|
||||
# Editor
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Environment
|
||||
.env
|
||||
.env.local
|
||||
29
CLAUDE.md
Normal file
29
CLAUDE.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# PROJECT_NAME
|
||||
|
||||
Brief description of what this project does.
|
||||
|
||||
**Memory group_id:** `PROJECT_NAME`
|
||||
|
||||
## Purpose
|
||||
|
||||
- What this project is for
|
||||
- Key goals and responsibilities
|
||||
|
||||
## Reference Docs
|
||||
|
||||
- `docs/` — project documentation
|
||||
|
||||
## Labels
|
||||
|
||||
This repo uses the standard label set from mRepoTemplate:
|
||||
|
||||
**Priority:** p1 (critical), p2 (normal), p3 (low)
|
||||
**Status:** blocked, cancelled, deferred, done, in-progress, needs-input
|
||||
**Type:** bug, chore, docs, feature, idea, research
|
||||
|
||||
Add project-specific labels (e.g., `skill:*`) as needed.
|
||||
|
||||
## Worker Preferences
|
||||
|
||||
- Prefer **gitster** role for Gitea issues (full cycle: research + code + commit + update issue)
|
||||
- All workers must use memory and self-improve
|
||||
11
README.md
11
README.md
@@ -1,3 +1,10 @@
|
||||
# mRepoTemplate
|
||||
# PROJECT_NAME
|
||||
|
||||
Template repo with standard label set and project skeleton for new m projects
|
||||
Brief description.
|
||||
|
||||
## Setup
|
||||
|
||||
1. Create repo from this template
|
||||
2. Update `CLAUDE.md` with project-specific info (name, memory group_id, purpose)
|
||||
3. Add project-specific labels (e.g., `skill:*`) if needed
|
||||
4. Register in `~/.config/m/projects.yaml`
|
||||
|
||||
Reference in New Issue
Block a user