一键导入
commit-convention
Conventional Commits, work-unit commits, NO Co-Authored-By. Load before creating any commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Conventional Commits, work-unit commits, NO Co-Authored-By. Load before creating any commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
AI layer embeds the Pi SDK. Load when touching AI module, harness integration, providers, MCP decision, or chat UI.
Overall stack and module shape for nyxterm. Load when touching Tauri commands, PTY wiring, frontend↔backend IPC, or xterm rendering.
Project philosophy and decision-making heuristics. Load before scope debates, feature proposals, or refactors.
Engram embedded + MCP fallback. Topic key conventions. Load when touching anything memory-related or starting/closing a session.
Native windows/splits/panes (absorb tmux). Load when touching multiplex module, keybinds, or session persistence.
Flake structure, Home Manager module, nixGL wrapper. Load when touching flake.nix, packaging, or NixOS integration.
基于 SOC 职业分类
| name | commit-convention |
| description | Conventional Commits, work-unit commits, NO Co-Authored-By. Load before creating any commit. |
| triggers | ["commit","git commit","commit message"] |
Conventional Commits. Scope optional but encouraged.
<type>(<scope>): <subject in present imperative>
<optional body explaining WHY, not what>
<optional footer with BREAKING CHANGE: ... or Refs #N>
| Type | Use for |
|---|---|
feat | new user-visible capability |
fix | bug fix |
chore | build, deps, tooling, non-functional |
docs | docs only (README, CONTRIBUTING, skills, code comments-only changes) |
refactor | restructure without behavior change |
perf | performance improvement (measured) |
test | tests only |
style | formatting, whitespace, no logic change |
ci | GitHub Actions, CI config |
build | build system, packaging (Nix flake, Cargo.toml, etc.) |
revert | revert a previous commit |
feat(pty): add SIGWINCH propagation for tmux-less resize
fix(theme): emit theme to webgl renderer after context restore
chore: bump portable-pty to 0.9.1
docs(agents): document OSC 7 trust window
refactor(multiplex): extract pane grid into dedicated module
perf(buffer): coalesce 4ms PTY flushes — 40% fewer IPC calls
test(pty): cover backpressure overflow path
build(nix): switch to pnpm.fetchDeps for frontend deps
ci: add cargo clippy gate
Refs #42 or Closes #42 in the footer.Co-Authored-By: anyone@anywhere🤖 Generated with [Claude Code]The human owns the commit. The agent assisted. Attribution is via the PR review trail, not the commit message.
One commit = one coherent change. Tests + docs + code of that change go together, not in separate commits.
Examples:
feat(pty): add SIGWINCH propagation includes the implementation, the test, and the relevant docs/skill update.Exception: when a sequence has internal milestones that each compile and pass tests independently, splitting can aid review. Then the boundary is "each commit is a green build", not "files of type X".
Don't skip with --no-verify. If a hook fails, fix the underlying issue (lint, format, test). The hook is there because the team decided it should pass.
If a hook is broken or wrong, fix the hook in a separate PR; don't bypass.