mcp-ai-agent-guidelines
Version:
A comprehensive Model Context Protocol server providing advanced tools, resources, and prompts for implementing AI agent best practices
31 lines • 799 B
TypeScript
/**
* Spec parser - extracts structured data from spec.md markdown
*
* @module strategies/speckit/spec-parser
*/
import type { SpecContent } from "./types.js";
/**
* Parse spec.md markdown content into structured SpecContent
*
* @param markdown - The markdown content to parse
* @returns Structured spec content for validation
*
* @example
* ```typescript
* const markdown = `
* # My Specification
*
* ## Overview
* This is a sample spec.
*
* ## Objectives
* - Implement feature X
* - Improve performance
* `;
*
* const spec = parseSpecFromMarkdown(markdown);
* // Returns: { title: "My Specification", overview: "This is a sample spec.", ... }
* ```
*/
export declare function parseSpecFromMarkdown(markdown: string): SpecContent;
//# sourceMappingURL=spec-parser.d.ts.map