一键导入
smoke-test-triage
Triage and fix panache smoke-test regressions (idempotency, losslessness, parse/format checks) from CI debug-format reports and linked issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Triage and fix panache smoke-test regressions (idempotency, losslessness, parse/format checks) from CI debug-format reports and linked issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Incrementally make Panache's CST shape for HTML-block /
Grow Panache's CommonMark spec conformance under `Flavor::CommonMark` by running every `spec.txt` example through the shared parser, comparing rendered HTML against the spec's expected HTML (byte-equality after `<li>` whitespace normalization), and triaging failures into renderer / parser-shape / flavor-leak / dialect-divergence / missing-feature buckets. Use when asked to advance the CommonMark pass rate, grow the allowlist, or unblock a CommonMark regression.
Incrementally migrate Panache's Pandoc-dialect inline parsing onto the unified inline IR (currently CommonMark-only) one bounded sub-task at a time, verifying every CST divergence against pandoc-native before fixing or deferring.
Add a new built-in lint rule to the Panache linter — wire it into the registry, gate it on the right extension/flavor, add a regression fixture with focused assertions, and document it.
Incrementally build Panache's math parser and formatter — a lossless structural TeX CST for inline/display math, then content-aware reformatting behind an experimental gate — one bounded phase at a time.
Profile-driven performance work on the panache parser or formatter. Measure first with perf + the right harness; classify hotspots into one of a small set of buckets; apply the matching cheap fix; verify median wall-time moved before committing.
| name | smoke-test-triage |
| description | Triage and fix panache smoke-test regressions (idempotency, losslessness, parse/format checks) from CI debug-format reports and linked issues. |
Use this skill when asked to investigate failures reported by smoke-test scans
or debug format CI issues (especially idempotency/losslessness regressions).
Read the issue/report details first:
idempotency, losslessness, parse, etc.)Reproduce in a local clone of the target repository:
panache debug format --checks all --report <sample-file>panache debug format --checks all --dump-dir <dir> --dump-passes <file>Minimize:
Classify the failure before fixing — and verify against pandoc-native before any formatter-side fix:
pandoc <repro>.md -f markdown -t native
and compare to panache's CST (cargo run -- parse < <repro>.md).
Pandoc-native is the behavioral reference (per .claude/rules/parser.md).
If panache's CST differs structurally from pandoc — different block
types (e.g. BulletList where pandoc has CodeBlock), missing/extra
nesting, wrong attribute attachment — the bug is parser-side, no
matter which pass shows the symptom. Idempotency is a downstream
symptom of upstream shape divergence.--dump-passes) to compare:
crates/panache-parser/tests/fixtures/pandoc-conformance/corpus/
so the regression is guarded by the pandoc conformance harness.Add regression fixture(s):
tests/fixtures/cases/<case-name>/input.{md,qmd,Rmd}tests/fixtures/cases/<case-name>/expected.{md,qmd,Rmd}tests/golden_cases.rscrates/panache-parser/tests/fixtures/cases/<case-name>/Fix implementation at root cause:
Validate:
cargo test --test golden_cases <case-name>panache debug format --checks all --report <fixture-input>cargo check --workspacecargo test --workspacecargo clippy --workspace --all-targets --all-features -- -D warningscargo fmt -- --check.qmd smoke regressions, ensure tests run with correct flavor context
(Quarto detection matters for hashpipe/chunk behavior).When done, report: