vibe-rules
Version:
A utility for managing Cursor rules, Windsurf rules, and other AI prompts
13 lines (12 loc) • 595 B
TypeScript
import { RuleConfig, RuleGeneratorOptions } from "../types.js";
/**
* Formats rule content for non-cursor providers that use XML-like tags.
* Includes additional metadata like alwaysApply and globs in a human-readable format
* within the rule content.
*/
export declare function formatRuleWithMetadata(config: RuleConfig, options?: RuleGeneratorOptions): string;
/**
* Creates a complete XML-like block for a rule, including start/end tags
* and formatted content with metadata
*/
export declare function createTaggedRuleBlock(config: RuleConfig, options?: RuleGeneratorOptions): string;