docs-issues
Manage markdown-based issues (bugs, features, debt, questions) in docs/reviews/ and export to GitHub, GitLab, or a todo.md index. Use when asked to track, list, create, or push issues from a docs/reviews tree.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- docs-issues
- license
- Apache-2.0
- metadata
- { "author": "ooe", "version": "1.0" }
- description
- Manage markdown-based issues (bugs, features, debt, questions) in docs/reviews/ and export to GitHub, GitLab, or a todo.md index. Use when asked to track, list, create, or push issues from a docs/reviews tree.
02 资源文件 5
- 资产文件assets/examples/bug.md616 B
- 资产文件assets/examples/debt.md664 B
- 资产文件assets/examples/feature.md775 B
- 资产文件assets/examples/question.md715 B
- 脚本scripts/issues.py17.2 KB
03 SKILL.md 正文
docs-issues
Manage issues as markdown files committed to the repo. Each issue is a single
.md file with YAML frontmatter, organized under docs/reviews/{kind}/.
Export to GitHub, GitLab, a managed docs/todo.md, or stdout.
When to Use
- User wants to track bugs/features/debt as files in the repo
- User wants to push markdown issues to GitHub or GitLab
- User wants a generated
docs/todo.mdindex of open work - User wants to author RFC-style issues alongside the code
Directory Layout
docs/
├── todo.md # auto-managed (between sentinel markers)
└── reviews/
├── bugs/
│ └── 2026-05-19-sql-injection-auth.md
├── features/
├── debts/
└── questions/
Issue File Schema
---
id: bug-001 # auto-allocated, format: {kind}-{NNN}
kind: bug # bug | feature | debt | question
title: SQL injection in auth.py
severity: major # critical | major | minor | nit
category: security
location: auth.py:42
status: open # open | closed | wontfix
created: 2026-05-19
source: review-adversarial:F1 # optional provenance
labels: [security, auth]
target:
github: null # set after export to that platform
gitlab: null
---
## Description
...
## Suggested Fix
...
Commands
list / show
# List all open issues
python scripts/issues.py list
# Filter by kind and status
python scripts/issues.py list --kind bug --status open
python scripts/issues.py list --format json
# Show one issue
python scripts/issues.py show bug-001
new
# Create a new issue (interactive author)
python scripts/issues.py new \
--kind bug \
--title "SQL injection in auth.py" \
--severity major \
--category security \
--location "auth.py:42" \
--labels "security,auth" \
--description "Optional one-paragraph description"
ID is auto-allocated as {kind}-{NNN} (next sequential per kind). Filename is
{YYYY-MM-DD}-{slug}.md under docs/reviews/{kind}s/.
status
python scripts/issues.py status bug-001 --set closed
python scripts/issues.py status feature-003 --set wontfix
export
# Generate/refresh docs/todo.md (managed section between markers)
python scripts/issues.py export --target todo
python scripts/issues.py export --target todo --output path/to/TODO.md
# Print all open issues to stdout (for manual paste into a tracker)
python scripts/issues.py export --target stdout --status open
# Push to GitHub via gh CLI (requires `gh auth login`)
python scripts/issues.py export --target github
python scripts/issues.py export --target github --label-prefix triage/
python scripts/issues.py export --target github --force # re-push already-exported
# Push to GitLab via glab CLI (requires `glab auth login`)
python scripts/issues.py export --target gitlab
Idempotency
todotarget: rewrites only the section between<!-- BEGIN: docs-issues -->and<!-- END: docs-issues -->markers; user content elsewhere is preserved.github/gitlabtargets: write the returned issue URL/number intotarget.github/target.gitlabin the markdown file. Subsequent exports skip already-pushed issues unless--forceis set.
Auto-detect Root
If --root is not given, the scripts walk up from the current directory looking
for a docs/reviews/ directory and use it. Falls back to ./docs/reviews/.
Agent Instructions
When the user asks to track or export issues:
- Author — Use
issues.py newwith the kind/title/severity/category. Don't write markdown files by hand unless extending an existing one with body content. - Update body — After
new, you may edit the markdown file to flesh out the body sections. Don't touch the frontmatter directly except viastatus. - List — Use
issues.py listto show the user what's tracked. Default to the table format unless they want JSON. - Export — Pick the target the user asked for; default to
todoif they just want a summary in the repo. - After tracker push — Tell the user the issue URLs/numbers from the exporter output; they're also persisted in the markdown frontmatter.
Dependencies
Python 3.6+ (standard library only). For tracker exports:
ghCLI for GitHub (brew install ghor equivalent)glabCLI for GitLab (brew install glabor equivalent)
04 同仓库更多 Skills
craft-build
Refresh the Craft macOS app builds — pull, cargo-build, package a .dmg for each app in the suite on the build Mac, and publish the artifacts to a fileserver. Use when asked to "refresh the craft builds", "rebuild the craft/mac apps", "update the open-source app builds", "deploy/publish the craft apps", or to add a new app repo to the set. Builds run on the configured build host over ssh, NOT inside a primate. Host, workspace root, repo manifest and deploy destination come from env or ~/.config/craft-build.conf (never hardcoded here).
spark-build
Build the cuda-* primate images (cuda-llama-cpp, cuda-comfy, cuda-vllm — the shared base for g.deceiver's six vLLM services) on a Blackwell GB10, freeing that box's unified memory first by stopping whatever it runs, then restarting it. NOTE the standalone coding cluster (qwen3-coder-next) was RETIRED 2026-09-05, so a "drain" is no longer a coding outage — it's a g.deceiver-service outage (hutch = memory stack; starsky = the live 27B brain, never build there mid-stream). Checks memory BEFORE stopping anything; --allow-outage / --skip-drain control the trade.
spark-bench
Run LLM evaluation harnesses (AIME 25, GPQA, LiveCodeBench v6, tau2-bench, SWE-Bench Verified via SWE-agent) against the spark-cluster from a dedicated x86 bench host (intel-nuc.tworivers). The harness runs in the spark-bench primate; only the OpenAI-compatible endpoint URL needs to change between baseline (cluster LB) and test (ad-hoc model server) runs.
secret-ops
Decrypt/encrypt this project's SOPS+age secrets and manage the private hemlighet repo. Use whenever a task reads or changes a secret — sops, age, vault, hemlighet, a *.sops file, personal/* dotfiles. Crypto runs on the configured secret host over ssh, NOT inside a primate. Host/identity come from env or ~/.config/secret-ops.conf (never hardcoded here).
sdlc
The default software development lifecycle every agent follows — intake, plan, isolate, implement, verify, review, land, deploy, observe, release. Use at the start of any coding task, and whenever deciding whether work is ready to deploy or ready to merge.
review-adversarial
Adversarial code review with structured findings and a review loop. Use when asked to critically review code, diffs, or design docs with an adversarial mindset.