maintain-wiki
Agent-maintained OKF wiki — INGEST source docs, LINT for issues, QUERY across concept pages. Run as part of build-epic Step 8 and verify-work Phase 3.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 290
- Forks
- 24
01 前言 Front Matter
- name
- maintain-wiki
- model
- haiku
- description
- Agent-maintained OKF wiki — INGEST source docs, LINT for issues, QUERY across concept pages. Run as part of build-epic Step 8 and verify-work Phase 3.
03 SKILL.md 正文
Maintain Wiki
Three operations for keeping the OKF wiki bundle consistent with its source docs.
INGEST
Read source doc (CLAUDE.md, CONVENTIONS.md, or SKILL.md) and write/update OKF concept pages:
# Regenerate skills-wiki from SKILL.md files
bash scripts/sync-skills.sh --okf
# Regenerate conventions-wiki from CONVENTIONS.md
bash scripts/decompose-conventions.sh
# Regenerate agent-guide from CLAUDE.md
bash scripts/generate-agent-guide.sh
LINT
Check for common OKF issues:
- Stale concepts — source file mtime vs concept page mtime. If source is newer, concept is stale.
- Orphan concepts — concept page exists but source doc section no longer exists.
- Missing cross-references — skill concept pages with no
enforced_byorreferenceslinks. - Contradictions — two concept pages that make opposite claims about the same topic.
- Broken links — internal OKF links that point to non-existent concept pages.
# Quick stale check: compare source vs concept mtimes
for page in specs/skills-wiki/skills/*.md; do
skill=$(basename "$page" .md)
source="skills/$skill/SKILL.md"
if [ -f "$source" ] && [ "$page" -ot "$source" ]; then
echo "STALE: $skill (SKILL.md newer than concept page)"
fi
done
QUERY
Search across OKF concept pages to answer questions:
# Find all concepts about a topic
grep -rl "topic" specs/skills-wiki/ specs/conventions-wiki/ specs/agent-guide/
# Trace a convention → enforcing skills
grep -A1 "enforced_by" specs/conventions-wiki/*.md
# Find skill by description keyword
grep -ril "keyword" specs/skills-wiki/skills/*.md
Verify
→ verify: test -d specs/skills-wiki && test -d specs/conventions-wiki && test -d specs/agent-guide
04 同仓库更多 Skills
skill-verify-fail-open-fixture
Negative-path fixture for run-skill-verify.sh — must never PASS.
negative-path
暂无简介
write-document
Write, organize, and sync high-integrity technical documents using the BMAD methodology. Ensures every document is Bold, Minimal, Actionable, and Durable. Use when creating architectural docs, technical guides, or organizing the specs/ directory.
wire-observability
Add structured JSON logging, observability commands, and idempotent setup scripts to a project. Use when a project needs production-readiness instrumentation, when user wants structured logging, or as a production-readiness gate at any phase of development.
wire-ci
CI pipeline setup with bundled, forge-neutral templates and local validation. Detects the forge from the git remote, generates workflows for supported forges, and skips honestly for the rest. The CI equivalent of wire-observability.
visual-dashboard
Start a browser-based dashboard that visualizes architecture, implementation plans, and project status. Persists artifacts in .bigpowers/dashboard/. Reads specs/state.yaml, release-plan.yaml, epics, and planning-status via HTTP API or opencode panel.