chore: Sprachmittler OpenCode starter kit

This commit is contained in:
schihei committed 2026-11-26 11:59:38 +01:00
commit 374085ec2f
94 files changed
+4563

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
---
description: Record a new architecture decision in docs/DECISIONS.md
---
Add a new ADR to the end of `docs/DECISIONS.md` titled "$ARGUMENTS".
Use the next free number and the existing format (Status, Context, Decision, Consequences). Base the content on the current conversation and code. If the decision changes a documented contract, update the affected section of `docs/ARCHITECTURE.md` (or the relevant spec) in the same change and mention the ADR there. Show the diff when done.
+7
View File
@@ -0,0 +1,7 @@
---
description: Compare translation models on the private evaluation corpus and report the results, e.g. /evaluate 7B 1.8B
agent: translation-evaluator
---
Evaluate these models (empty means all installed Hy-MT3 candidates from `docs/HYMT3_MODEL.md`): $ARGUMENTS
Use `evaluation/corpus.json`. If it does not exist, explain how to create it from `evaluation/corpus.example.json` and stop.
+6
View File
@@ -0,0 +1,6 @@
---
description: Generate a manual test script for features that cannot be tested headlessly
---
Create a step-by-step manual test script for: $ARGUMENTS
Cover, where relevant: double copy in the app under test; panel focus (the source app must stay active); streaming; Copy; Replace and ⌘Z; clipboard restoration with rich text and images; Accessibility denied and granted; Services; long text; CJK/RTL; VoiceOver and keyboard navigation; Ollama stopped, model missing and remote endpoint refused; a clipboard manager running. Say which synthetic fixture or which kind of personal text to use. Include what to look for in Console.app (subsystem = the app bundle ID; no selected text, translation, pasteboard content, app name or path may appear). Format as a checklist with expected results. If the user reports results back, update `docs/TESTING.md` or `docs/SELECTION_AND_CLIPBOARD.md` accordingly.
+16
View File
@@ -0,0 +1,16 @@
---
description: Implement the next open task from docs/PROGRESS.md end-to-end
---
Open `docs/PROGRESS.md` and select the first task that is not `[x]` (respect milestone order; if one is `[~]`, continue it; if one is `[!]`, report the blocker and ask before moving on).
Then follow the "Workflow for every task" in AGENTS.md exactly:
1. Read the task row in `docs/IMPLEMENTATION_PLAN.md` and the referenced docs sections.
2. For tasks in M4 or later, or any task touching more than 3 files, first ask the @architect subagent for a plan and follow it.
3. Load the `translation-quality` skill if the task touches prompts, chunking, validation or evaluation; load `selection-capture` if it touches pasteboard, Accessibility, the panel or insertion.
4. Write tests first (delegate to @test-engineer where helpful), then implement.
5. Run `make verify` until green.
6. Ask @swift-reviewer to review the diff; address all Blockers and Should-fix items.
7. Update `docs/PROGRESS.md` and any affected docs/ADRs.
8. Report: task ID, summary, verification output, manual test steps (if any), follow-ups.
Additional instructions from the user (may be empty): $ARGUMENTS
+5
View File
@@ -0,0 +1,5 @@
---
description: Get an implementation plan for a task or feature without writing code
agent: architect
---
Produce an implementation plan for: $ARGUMENTS
+5
View File
@@ -0,0 +1,5 @@
---
description: Review current uncommitted changes with the swift-reviewer agent
agent: swift-reviewer
---
Review the current working-tree changes (`git diff` and `git diff --staged`) for Sprachmittler according to your checklist. Focus area (optional): $ARGUMENTS
+9
View File
@@ -0,0 +1,9 @@
---
description: Summarise project progress and the next three tasks
---
Read `docs/PROGRESS.md`, `git log --oneline -15`, and `git status`. Report:
- Milestone completion (done/total per milestone)
- Tasks in progress or blocked, with reasons
- Next three tasks with one-line scope each
- Any doc/code drift you notice (e.g. ARCHITECTURE describes something not implemented or vice versa)
Do not modify files.
+8
View File
@@ -0,0 +1,8 @@
---
description: Implement a specific task by ID, e.g. /task T2.2
---
Implement task **$ARGUMENTS** from `docs/IMPLEMENTATION_PLAN.md`.
Before starting, confirm in `docs/PROGRESS.md` that all tasks it depends on (earlier tasks in the same milestone and all earlier milestones) are done. If not, list the missing ones and ask whether to proceed anyway.
Then follow the "Workflow for every task" in AGENTS.md: plan (use @architect for non-trivial tasks), load `translation-quality` for prompt, chunking, validation or evaluation work and `selection-capture` for pasteboard, Accessibility, panel or insertion work, tests first, implement, `make verify`, @swift-reviewer review, update PROGRESS.md and docs, and report with manual test steps where the task touches the double copy, pasteboard, Accessibility, the panel, Services or real translation quality.
+9
View File
@@ -0,0 +1,9 @@
---
description: Run the full verification suite and fix failures
---
Run `make verify`. If it fails:
- Classify each failure (format, lint, shell scripts, privacy-check, build, test).
- Fix the root cause in production code or tests — never disable a rule, delete a test, or weaken an assertion to get green. If a test is genuinely wrong, explain why before changing it.
- Re-run until green.
Report the final result and a short list of what you changed. $ARGUMENTS