What problem does it solve?
Contributing to the LingTai Go repository (lingtai-tui, lingtai-portal, install.sh) requires navigating distributed ANATOMY and CONTRACT documentation systems, shared on-disk state compatibility between two binaries, and strict pull-request safety gates. This Skill routes every development task through the correct baseline, documentation, validation, and authorization steps so changes stay consistent and reviewable.
Core Features & Use Cases
- Baseline and Worktree Discipline: Establishes the task scope, verifies the worktree HEAD equals the selected baseline (normally origin/main), and enforces focused branches under .worktrees/.
- Distributed Documentation Routing: Directs progressive reading of root ANATOMY.md and CONTRACT.md plus per-package anatomy/contract files before editing, and requires updating them in the same PR when structure or interfaces change.
- Layered Validation and PR Gates: Prescribes Go test/vet runs, the anatomy citation scan, portal web builds, and a pre-commit checklist covering authorization, author identity, and staged diff review.
- Use Case: Before modifying the portal's handling of a shared .lingtai/ state field, follow this Skill to confirm the baseline, read the relevant contract, keep lingtai-tui and lingtai-portal migration versions in lockstep, run focused tests, and open an authorized pull request.
Quick Start
Ask the agent to follow the lingtai-tui-dev guide to implement and validate a small change to the lingtai-portal codebase on a fresh branch off origin/main.