faf_what
Explains the .faf file format, covering its definition, structure, and typical use cases.
Instructions
Quick explanation of .faf format
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers/tools.ts:822-844 (handler)The handleFafWhat method - returns a hardcoded text string explaining what .faf format is (Foundational AI-context Format). No arguments needed. Returns a CallToolResult with the explanation text.
private async handleFafWhat(_args: any): Promise<CallToolResult> { // ✅ FIXED: Prefixed unused args const whatText = `.faf = project DNA for AI WHAT: .faf = Foundational AI-context Format (The dot means it's a file format, like .jpg or .pdf) WHY: Persistent project context that works across Claude, Gemini, Grok, Cursor, and any AI tool. HOW: Run 'faf' on any project to create one. Run 'faf_score' to check AI-readiness (target: 99%). REMEMBER: Always use ".faf" with the dot - it's a FORMAT! 🧡⚡️ Persistent context. Zero drift.`; return { content: [{ type: 'text', text: whatText }] }; } - src/handlers/tools.ts:27-33 (registration)Tool registration in listTools(): defines the 'faf_what' tool with description 'Quick explanation of .faf format' and an empty inputSchema (no parameters).
name: 'faf_what', description: 'Quick explanation of .faf format', inputSchema: { type: 'object', properties: {}, } }, - src/handlers/tools.ts:280-281 (registration)The switch case in callTool() that routes 'faf_what' to the handleFafWhat handler.
case 'faf_what': return await this.handleFafWhat(args); - src/types/tool-visibility.ts:495-500 (schema)Tool visibility metadata: faf_what is categorized as 'advanced' visibility, 'help' category, with description 'What is .faf? Quick explanation'.
faf_what: { name: 'faf_what', visibility: 'advanced', category: 'help', description: 'What is .faf? Quick explanation', }, - src/types/tool-visibility.ts:116-119 (schema)faf_what listed in the advanced/utility tools array in the visibility type system.
'faf_what', 'faf_friday', 'faf_debug', ] as const;