From b22b95889e8444db3590042e4eb3b874ce2c8d80 Mon Sep 17 00:00:00 2001 From: mAi Date: Tue, 17 Feb 2026 18:04:03 +0100 Subject: [PATCH] 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 --- .gitea/issue_template/bug.yaml | 23 +++++++++++++++++++++++ .gitea/issue_template/feature.yaml | 18 ++++++++++++++++++ .gitea/issue_template/research.yaml | 18 ++++++++++++++++++ .gitignore | 29 +++++++++++++++++++++++++++++ CLAUDE.md | 29 +++++++++++++++++++++++++++++ README.md | 11 +++++++++-- 6 files changed, 126 insertions(+), 2 deletions(-) create mode 100644 .gitea/issue_template/bug.yaml create mode 100644 .gitea/issue_template/feature.yaml create mode 100644 .gitea/issue_template/research.yaml create mode 100644 .gitignore create mode 100644 CLAUDE.md diff --git a/.gitea/issue_template/bug.yaml b/.gitea/issue_template/bug.yaml new file mode 100644 index 0000000..efc7fbf --- /dev/null +++ b/.gitea/issue_template/bug.yaml @@ -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? diff --git a/.gitea/issue_template/feature.yaml b/.gitea/issue_template/feature.yaml new file mode 100644 index 0000000..7bee7ec --- /dev/null +++ b/.gitea/issue_template/feature.yaml @@ -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. diff --git a/.gitea/issue_template/research.yaml b/.gitea/issue_template/research.yaml new file mode 100644 index 0000000..8711f76 --- /dev/null +++ b/.gitea/issue_template/research.yaml @@ -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. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..409e784 --- /dev/null +++ b/.gitignore @@ -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 diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..63500cc --- /dev/null +++ b/CLAUDE.md @@ -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 diff --git a/README.md b/README.md index b7ff4e0..32c22e6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ -# mRepoTemplate +# PROJECT_NAME -Template repo with standard label set and project skeleton for new m projects \ No newline at end of file +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`