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 80dc462..1b93dca 100644 --- a/prompts/generate-spec.md +++ b/prompts/generate-spec.md @@ -1,7 +1,6 @@ --- name: generate-spec -title: Generate Specification -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 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