faf_cursor
Import .cursorrules into project.faf, export .faf to .cursorrules, or sync both to keep Cursor rules and .faf aligned from one source.
Instructions
Import .cursorrules (the Cursor IDE convention) into project.faf, or write it from project.faf. Returns the merged or written result for the chosen action. Use this to keep Cursor rules and your .faf in agreement from one source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project path. Sets session context for subsequent calls. | |
| force | No | Update the faf-managed block in an existing file (content outside it is preserved) | |
| merge | No | Write the imported data into project.faf (without it, import only reports the section count and writes nothing) | |
| action | Yes | Action: import (.cursorrules -> .faf; merge:true writes it into project.faf), export (.faf -> .cursorrules), sync (re-writes .cursorrules from .faf; export with force) |