一键导入
htcc-verification-matrix
Choose and run the correct htcc verification commands for parser, CLI, CI, output permission, Docker, and documentation changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Choose and run the correct htcc verification commands for parser, CLI, CI, output permission, Docker, and documentation changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Keep htcc CI workflows aligned with the test runner command matrix, especially explicit self/components/subp/docker lists.
Work safely on htcc output replacement, fallback copy, file mode preservation, rollback, symlink, and hard-link behavior.
Fix htcc parser regressions with focused component tests, malformed-input QA, and nontermination safeguards.
Handle htcc review comments end-to-end: reproduce, judge validity, apply minimal fixes, verify, review, and prepare commit/push.
Expert Haskell engineer specializing in advanced type systems, pure
| name | htcc-verification-matrix |
| description | Choose and run the correct htcc verification commands for parser, CLI, CI, output permission, Docker, and documentation changes. |
| risk | safe |
| source | project |
| date_added | 2026-05-18 |
stylish-haskell -i <changed .hs files>.lsp_diagnostics on each changed .hs file when the diagnostics tool is available. If unavailable, state that and substitute stack build plus the relevant tests.git diff --check..yml / .yaml files. If yaml-ls is unavailable, use ruby -e 'require "yaml"; YAML.load_file("path")' or equivalent.git status --short and report uncommitted files.| Change type | Required tests | Manual QA |
|---|---|---|
| Parser combinators / AST typing | stack test --test-arguments components; full stack test for core parser behavior | malformed input through stack exec htcc -- /dev/stdin, often with timeout |
| CLI diagnostics / app/Main.hs | relevant subprocess tests or full stack test | run stack exec htcc -- ..., capture exit code, stdout, stderr |
| Output replacement / permissions | stack test --test-arguments components; full stack test if behavior is shared | create temp files/dirs with modes, run htcc -o, verify output and modes |
| CI workflow or Travis | stack test --test-arguments <added command>; YAML parse | inspect git diff and ensure every explicit list includes intended command |
| Docker command behavior | stack test --test-arguments docker and stack test --test-arguments docker --test-arguments --clean when Docker is available | do not fake Docker success; report unavailable Docker explicitly |
| Examples | cd example && make && cd dist && ./knapsack && ./merge_sorting_linked_list && ./shuffle_and_sort; cd example && make docker && make clean_docker only when Docker is available | execute generated examples when requested or affected |
| Documentation only | no Haskell formatter unless code changed; run referenced commands when they are the contract and feasible | check links/commands touched by the edit when practical |
timeout or gtimeout, whichever exists on the host, and report the command used.Changed: <paths>
Verification: <commands and pass/fail>
Manual QA: <input, exit code, key stdout/stderr or output-file observation>
Review: <reviewer outcomes>
Remaining: <none or explicit follow-up>