diff --git a/askcc/definitions.py b/askcc/definitions.py index ed1f603..7bcfe21 100644 --- a/askcc/definitions.py +++ b/askcc/definitions.py @@ -322,14 +322,14 @@ `` ` ``` - Mermaid label safety: quote labels containing `/`, `\\`, `(`, `)`, `|`, `:`, or starting \ -with punctuation — e.g. `B["/simplify, commit, push"]`, not `B[/simplify, commit, push]`. \ +with punctuation — e.g. `B["/code-review, commit, push"]`, not `B[/code-review, commit, push]`. \ Unquoted leading `/` or `\\` is parsed as parallelogram/trapezoid shape syntax and breaks \ rendering with a "Lexical error / Unrecognized text" message. - Keep diagrams concise — one or two covering the most important flows. \ Skip this section for trivial changes (config-only, docs-only, single-line fix). On completion: -- Run /simplify or /refactor to improve the code. +- Run /code-review or /refactor to improve the code. - Commit and push the feature branch. - If no PR exists, open one linked to the issue. - If a PR exists (follow-up changes), review and update its description (see "PR description update"). diff --git a/askcc/skills/handle-github-issue/SKILL.md b/askcc/skills/handle-github-issue/SKILL.md index 7552a7d..f5dfa2a 100644 --- a/askcc/skills/handle-github-issue/SKILL.md +++ b/askcc/skills/handle-github-issue/SKILL.md @@ -229,10 +229,10 @@ PR description: - Include `## Key Flows` with mermaid diagrams for the main flows changed by this PR. Focus on control flow, data flow, or state transitions. Skip this section for trivial changes (config-only, docs-only, single-line fix). - Mermaid label safety: quote labels containing `/`, `\`, `(`, `)`, `|`, `:`, or starting with punctuation — - e.g. `B["/simplify, commit, push"]`, not `B[/simplify, commit, push]`. + e.g. `B["/code-review, commit, push"]`, not `B[/code-review, commit, push]`. On completion: -- Run /simplify or /refactor to improve the code. +- Run /code-review or /refactor to improve the code. - Commit and push the feature branch. - If no PR exists, open one linked to the issue. - If a PR exists (follow-up changes), review and update its description (see "PR description update" below). diff --git a/pyproject.toml b/pyproject.toml index ed6d0a4..80a1108 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "askcc" -version = "0.2.13" +version = "0.2.14" description = "A one-shot cc cli executor" authors = [{ name = "mknt", email = "shane.cousins@gmail.com" }] readme = "README.md" diff --git a/tests/test_askcc.py b/tests/test_askcc.py index b04ee13..95bf842 100644 --- a/tests/test_askcc.py +++ b/tests/test_askcc.py @@ -445,14 +445,14 @@ class TestDevelopPromptMermaidLabelSafety: r"""The develop prompt must instruct quoting mermaid labels with shape-reserved chars. Without quoting, labels starting with `/` or `\` are parsed as parallelogram/trapezoid - shape syntax (e.g. `B[/simplify]`) and break rendering with a lexical error. + shape syntax (e.g. `B[/code-review]`) and break rendering with a lexical error. """ def test_includes_label_safety_guidance(self): assert "Mermaid label safety" in DEVELOP_AGENT_PROMPT def test_includes_quoted_example(self): - assert 'B["/simplify, commit, push"]' in DEVELOP_AGENT_PROMPT + assert 'B["/code-review, commit, push"]' in DEVELOP_AGENT_PROMPT def test_warns_against_parallelogram_collision(self): assert "parallelogram/trapezoid shape syntax" in DEVELOP_AGENT_PROMPT diff --git a/uv.lock b/uv.lock index d1c213b..9189417 100644 --- a/uv.lock +++ b/uv.lock @@ -4,7 +4,7 @@ requires-python = "==3.14.*" [[package]] name = "askcc" -version = "0.2.13" +version = "0.2.14" source = { editable = "." } [package.dev-dependencies]