gitnexus-work
Skill này làm gì
Nó hướng dẫn agent của bạn xây dựng thay đổi theo kế hoạch từng bước một, kiểm thử mỗi bước trước khi đi tiếp. Nó dành cho lập trình viên đã có kế hoạch và muốn thực hiện cẩn thận.
Khi nào nên dùng
- ✓Khi bạn có một file kế hoạch và muốn công việc được thực hiện từng bước.
- ✓Khi một tác vụ nhỏ, có giới hạn nên được làm trực tiếp với các kiểm tra cẩn thận.
- ✓Khi bạn muốn mỗi thay đổi được xác minh và commit thành những phần nhỏ.
Liên kết skill
https://github.com/abhigyanpatwari/GitNexus/blob/main/.claude/skills/gitnexus-work/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể thực hiện kế hoạch trong docs/plans cho tính năng thử lại và commit mỗi bước sau khi nó vượt qua các kiểm thử không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc kế hoạch, kiểm tra tác động của mỗi ký hiệu nó sửa và chạy các kiểm thử đã được lên kế hoạch. Nó chỉ commit khi thay đổi đã được xác nhận là đúng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
gitnexus-work — execute a gitnexus-plan
Execute an implementation plan produced by gitnexus-plan, shipping it as a
sequence of verified, atomic commits. The plan's section 11
(implementation_context pack) is the primary machine-readable input; the
prose sections are its rationale. This skill does edit code — it is the
executor counterpart to the planning-only gitnexus-plan.
/gitnexus-work <plan path> # execute this plan
/gitnexus-work # newest docs/plans/*gitnexus-plan*.md here
/gitnexus-work <small task text> # direct mode, see Input triage
Input triage
- Plan path (or blank → the newest
docs/plans/*gitnexus-plan*.mdunder the current repo root): the normal mode; continue to Phase 1. Schema-2 plans have a normalized repo-relativedocs/plans/YYYY-MM-DD-gitnexus-plan-<3-5-word-slug>.mdgenerated_plan_path. Resolve only a lexical candidate, then invoke `scripts/evidence-provenance.mjs read-plan --repo <root> --generated-plan
<candidate>and load only the exact bytes in its descriptor-anchored receipt. Require the receipt's canonical repo-relative path to equal the document'sgenerated_plan_path` byte-for-byte;
reject an external, escaping, differently scoped, or mismatched value. A
plan in another target repo may still be passed by explicit path. If Phase 1's
pre-completed check finds every §7 step of the newest plan already landed,
stop and ask instead of re-executing it.
- Bare task text: trivial and bounded (1–2 files, no architectural
decisions) → implement directly with the same discipline:
impactbefore every symbol edit, minimal change, tests when behavior changes, verification commands taken from the repo's own scripts (package.json / CI),detect_changesbefore every commit, and the shared Build-current/index-current procedure before graph-dependent impact and final verification. Anything larger → recommend running/gitnexus-planfirst; honor the user's choice if they decline.
Phase 1 — Load and re-anchor the plan
- Resolve the target repo and normalized plan candidate, then invoke this
skill's descriptor-anchored
scripts/evidence-provenance.mjs read-plancommand exactly as specified inreferences/evidence-provenance.md. Reject a missing, external, escaping, symlinked, or differently scoped path. Decode and read the receipt's exactplan_bytes_base64completely; never read or reopen the lexical path directly. It is a decision artifact, not a script: scope boundaries andavoidentries bind you; exact code is yours to write. Retain the receipt's canonicalgenerated_plan_pathandplan_digestin session state. Never edit the plan body. - Parse the §11
implementation_contextpack:acceptance_criteria,evidence_provenance,primary_symbols,related_symbols,files_to_modify,execution_path,pdg_constraints,architectural_patterns,tests,verification_commands,risks,assumptions,open_questions,avoid. Compact plans carry the mini-pack subset — absent optional fields are empty, not errors.evidence_provenanceis mandatory: absence or schema 1 means a legacy plan, not a clean tree. Before relying on it, require exact byte-for-byte equality between the read-plan receipt's canonicalgenerated_plan_pathandevidence_provenance.generated_plan_path. - Two-layer drift check — always recompute. Even when current HEAD is the
same HEAD as the plan pin, recompute both the canonical global dirty digest
and the sorted cited-path manifest. Read
references/evidence-provenance.md, then invoke this skill'sscripts/evidence-provenance.mjswith the plan's exactgenerated_plan_path, every cited manifest path, and schema version 2. Never recreate its bytes in shell or prose. Schema 1 cannot be recomputed unambiguously and requires conservative re-anchoring. Include object kind plus HEAD/index/worktree/untracked layer digests, and classifystaged,unstaged,untracked,deleted,renamed,mixed, andabsentevidence. Honor the generated-plan exclusion exactly; do not exclude all plans. - Re-anchor on either mismatch. Missing or legacy provenance, a HEAD
mismatch, or a global dirty digest mismatch requires a conservative
re-anchor before work:
- Diff every cited-path manifest entry. Changed cited paths — including staged-only, unstaged-only, deleted, bot
Câu hỏi thường gặp
Nó có cần file kế hoạch không?
Không phải lúc nào. Skill cũng có thể nhận một tác vụ nhỏ trực tiếp, không cần kế hoạch đầy đủ.
Nó tránh làm hỏng mọi thứ bằng cách nào?
Nó kiểm tra tác động của mỗi ký hiệu trước khi sửa, và kiểm tra các thay đổi trước mỗi commit.
Nó tìm kế hoạch ở đâu?
Nếu bạn không nêu tên, nó dùng file kế hoạch mới nhất trong thư mục docs/plans.
Chi tiết
Mô tả gốc của tác giả
Use when executing an engineering plan produced by gitnexus-plan (or a small bounded task directly) — implements step by step with GitNexus impact checks before every symbol edit, tests from the plan''s scenarios, and detect_changes gating every commit. Examples: "/gitnexus-work docs/plans/2026-07-11-gitnexus-plan-ingestion-retry.md", "/gitnexus-work" (latest plan), "execute the plan".
repo: abhigyanpatwari/GitNexus
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #3614
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
gitnexus-cli
48kGiúp agent của bạn chạy các lệnh GitNexus để lập chỉ mục một dự án mã nguồn, kiểm tra trạng thái, xóa chỉ mục hoặc tạo wiki.
gitnexus-debugging
48kGiúp agent của bạn lần theo một lỗi qua codebase, tìm nơi lỗi bắt đầu và đoạn mã nào gọi phần bị lỗi.
gitnexus-exploring
48kGiúp agent của bạn khám phá một codebase lạ, giải thích các phần kết nối với nhau thế nào và một tính năng như đăng nhập hoạt động ra sao.
gitnexus-guide
48kCung cấp cho agent của bạn bảng tra cứu nhanh các công cụ, tài nguyên và đồ thị tri thức của GitNexus, rồi chỉ đến hướng dẫn phù hợp.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.