From 213053ca7b0760b045cae9af775f8fcb97b351c0 Mon Sep 17 00:00:00 2001 From: Gregg Coppen Date: Fri, 17 Oct 2025 14:16:13 -0700 Subject: [PATCH 1/3] Remove title field from generate-spec prompt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove redundant title field from the generate-spec prompt frontmatter as the name field is sufficient for identification. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- prompts/generate-spec.md | 1 - 1 file changed, 1 deletion(-) diff --git a/prompts/generate-spec.md b/prompts/generate-spec.md index 80dc462..71cd410 100644 --- a/prompts/generate-spec.md +++ b/prompts/generate-spec.md @@ -1,6 +1,5 @@ --- name: generate-spec -title: Generate Specification description: Generate a Specification (Spec) for a feature tags: - planning From a645aa6153f1162942825164ee6f531e3ffa7742 Mon Sep 17 00:00:00 2001 From: Gregg Coppen Date: Fri, 17 Oct 2025 15:10:18 -0700 Subject: [PATCH 2/3] Remove title field from prompts and parser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the title field from all prompt frontmatter files and the MarkdownPrompt parser to fix Claude Code slash command parsing issues. The title field with spaces was causing slash commands to break at the first space character. Changes: - Remove title field from MarkdownPrompt dataclass - Remove title handling in decorator_kwargs() method - Remove title extraction in load_markdown_prompt() - Remove title field from all three prompt files - Add quotes to description fields for consistency - Fix indentation in manage-tasks.md meta section 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- mcp_server/prompt_utils.py | 6 ------ prompts/generate-spec.md | 2 +- prompts/generate-task-list-from-spec.md | 3 +-- prompts/manage-tasks.md | 5 ++--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/mcp_server/prompt_utils.py b/mcp_server/prompt_utils.py index 7a41759..30dddef 100644 --- a/mcp_server/prompt_utils.py +++ b/mcp_server/prompt_utils.py @@ -19,7 +19,6 @@ class PromptArgumentSpec: class MarkdownPrompt: path: Path name: str - title: str | None description: str | None tags: set[str] | None meta: dict[str, Any] | None @@ -29,8 +28,6 @@ class MarkdownPrompt: def decorator_kwargs(self) -> dict[str, Any]: kwargs: dict[str, Any] = {"name": self.name} - if self.title: - kwargs["title"] = self.title if self.description: kwargs["description"] = self.description if self.tags: @@ -50,7 +47,6 @@ def load_markdown_prompt(path: Path) -> MarkdownPrompt: frontmatter, body = parse_frontmatter(content) name = frontmatter.get("name") or path.stem - title = frontmatter.get("title") description = frontmatter.get("description") tags = _ensure_tag_set(frontmatter.get("tags")) enabled = frontmatter.get("enabled", True) @@ -62,7 +58,6 @@ def load_markdown_prompt(path: Path) -> MarkdownPrompt: if key not in { "name", - "title", "description", "tags", "arguments", @@ -77,7 +72,6 @@ def load_markdown_prompt(path: Path) -> MarkdownPrompt: return MarkdownPrompt( path=path, name=name, - title=title, description=description, tags=tags, meta=meta, diff --git a/prompts/generate-spec.md b/prompts/generate-spec.md index 71cd410..1b93dca 100644 --- a/prompts/generate-spec.md +++ b/prompts/generate-spec.md @@ -1,6 +1,6 @@ --- name: generate-spec -description: Generate a Specification (Spec) for a feature +description: "Generate a Specification (Spec) for a feature" tags: - planning - specification diff --git a/prompts/generate-task-list-from-spec.md b/prompts/generate-task-list-from-spec.md index cc2fc28..3f7ebd6 100644 --- a/prompts/generate-task-list-from-spec.md +++ b/prompts/generate-task-list-from-spec.md @@ -1,7 +1,6 @@ --- name: generate-task-list-from-spec -title: Generate Task List From Spec -description: Generate a task list from a Spec +description: "Generate a task list from a Spec" tags: - planning - tasks diff --git a/prompts/manage-tasks.md b/prompts/manage-tasks.md index 4a22cb6..32ff4c6 100644 --- a/prompts/manage-tasks.md +++ b/prompts/manage-tasks.md @@ -1,14 +1,13 @@ --- name: manage-tasks -title: Manage Tasks -description: Guidelines for managing task lists and working on tasks/subtasks +description: "Guidelines for managing task lists and working on tasks/subtasks" tags: - execution - tasks arguments: [] meta: category: task-management -allowed-tools: Glob, Grep, LS, Read, Edit, MultiEdit, Write, WebFetch, WebSearch + allowed-tools: Glob, Grep, LS, Read, Edit, MultiEdit, Write, WebFetch, WebSearch --- ## Manage Tasks From b285a8220c74118bde9223d08e27fe736e3eb777 Mon Sep 17 00:00:00 2001 From: Gregg Coppen Date: Fri, 17 Oct 2025 15:14:24 -0700 Subject: [PATCH 3/3] Remove title field from test fixtures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update test fixtures to remove the title field from prompt frontmatter, matching the changes made to the actual prompt files and parser. Also fix indentation for allowed-tools in manage-tasks test fixture. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- tests/conftest.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 28109ff..e75cf1e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -34,7 +34,6 @@ def temp_prompts_dir(): (prompts_dir / "generate-spec.md").write_text( """--- name: generate-spec -title: Generate Specification description: Generate a Specification (Spec) for a feature tags: - planning @@ -51,7 +50,6 @@ def temp_prompts_dir(): (prompts_dir / "generate-task-list-from-spec.md").write_text( """--- name: generate-task-list-from-spec -title: Generate Task List From Spec description: Generate a task list from a Spec tags: - planning @@ -68,7 +66,6 @@ def temp_prompts_dir(): (prompts_dir / "manage-tasks.md").write_text( """--- name: manage-tasks -title: Manage Tasks description: Guidelines for managing task lists and working on tasks/subtasks tags: - execution @@ -76,7 +73,7 @@ def temp_prompts_dir(): arguments: [] meta: category: task-management -allowed-tools: Glob, Grep, LS, Read, Edit, MultiEdit, Write, WebFetch, WebSearch + allowed-tools: Glob, Grep, LS, Read, Edit, MultiEdit, Write, WebFetch, WebSearch --- # Manage Tasks