Documentation
Read and search the project documentation, maintain the user documentation.
doc_read
effortless_doc_read — Stability: stable · project
Reads a blueprints/ document by path relative to the project root. Refuses any path outside blueprints/.
« Read the document blueprints/012-Epic-Export/cadrage.md. »
| Name | Type | Required | Description |
|---|---|---|---|
rel_path | string | yes | Path of the document relative to the project root. Required. |
docs_list
effortless_docs_list — Stability: stable · project
Lists all Markdown documents under blueprints/ (recursive), with their title. Read-only.
No parameters.
docs_search
effortless_docs_search — Stability: stable · project
Full-text search (case- and accent-insensitive) in the blueprints/ documents, sorted by number of matches, with a snippet.
« Search for "authentication" in the blueprints/ documents. »
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Full-text search term. Required. |
i18n_apply
effortless_i18n_apply
Writes i18n translations into the user override (~/.effortless/locales/<surface>/<lang>.json) and marks keys machine (or human if reviewed=true). Never overwrites a human-reviewed entry unless reviewed. Flat keys. French forbidden (source).
« Apply these German translations to the interface: common.save becomes "Speichern" and common.cancel becomes "Abbrechen". »
effortless_i18n_applysurface=frontlang=deentries={"common.save":"Speichern","common.cancel":"Abbrechen"}
| Name | Type | Required | Description |
|---|---|---|---|
surface | string | yes | Translation surface: front (user interface) or mcp (tool descriptions). Required. |
lang | string | yes | Target language code (en, es, ru, …); never fr, which is the source. Required. |
entries | object | yes | Translations as an object of flat keys to text (namespace.key for front, tools.<tool> for mcp). Required. |
reviewed | boolean | no | If true, marks the entries as human-reviewed (protected from overwriting); default false marks them as machine translations. |
i18n_export
effortless_i18n_export
Merged i18n catalog (embedded + user override) for a surface and language, as nested JSON.
« Export the interface's Spanish translation catalog. »
| Name | Type | Required | Description |
|---|---|---|---|
surface | string | yes | Translation surface: front (user interface) or mcp (tool descriptions). Required. |
lang | string | yes | Target language code (en, es, ru, …); fr is the source, so its delta is empty. Required. |
i18n_status
effortless_i18n_status
Translation delta for an i18n surface (front|mcp) and language: keys missing vs the FR source (with their FR text) and unreviewed machine keys. Basis of the Agent-assisted translation flow.
« Which keys are missing from the interface's German translation? »
| Name | Type | Required | Description |
|---|---|---|---|
surface | string | yes | Translation surface: front (user interface) or mcp (tool descriptions). Required. |
lang | string | yes | Target language code (en, es, ru, …); fr is the source, so its delta is empty. Required. |
project_docs_list
effortless_project_docs_list — Stability: stable · project
Lists the project framing documents: the files at the root of blueprints/ whose frontmatter carries type: cadrage-projet. Read-only.
« List the project's framing documents. »
effortless_project_docs_listNo parameters.
user_doc_coverage
effortless_user_doc_coverage — Stability: beta · project
User documentation: coverage diagnosis (gap, outdated page, orphan page) and refusals (invalid inventory, impossible measurement, altered page). Two modes: observation (default) or publication.
« Run the coverage diagnosis on the site module's user documentation: gaps, outdated pages, orphan pages. »
| Name | Type | Required | Description |
|---|---|---|---|
stack_id | string | no | Id of the documentation stack (default: the only stack that declares user documentation). |
regime | string | no | Coverage regime: observation (default) or publication. |
user_doc_inventory
effortless_user_doc_inventory — Stability: beta · project
User documentation: reads and validates the declared inventory, resolving each source once. Refuses an invalid inventory (code 5) or an impossible measurement (code 6).
« Validate the user documentation inventory of the site module. »
| Name | Type | Required | Description |
|---|---|---|---|
stack_id | string | no | Id of the documentation stack (default: the only stack that declares user documentation). |
user_doc_manifest
effortless_user_doc_manifest — Stability: beta · project
User documentation: closes an already produced build. Queries the version pair through the declared command, writes the manifest last in output_dir, and removes the whole output if it cannot produce it.
« The site module's documentation build is done in dist/docs: close it by writing its manifest. »
| Name | Type | Required | Description |
|---|---|---|---|
stack_id | string | no | Id of the documentation stack (default: the only stack that declares user documentation). |
output_dir | string | yes | Build output directory, relative to the stack root; there is no default. Required. |
user_doc_sync
effortless_user_doc_sync — Stability: beta · project
User documentation: installs an offline copy in the order write, verify, set aside, promote, remove. The candidate goes into staging_dir (a distinct location), its manifest is re-read there, and the format version is queried from the shell. A copy with a different format is refused and the existing copy is kept; staging on a different volume is refused before any action.
« Install the offline copy of the site module's documentation: the candidate is in dist/docs, staging in app/docs-staging, the current copy in app/docs. »
effortless_user_doc_syncstack_id=sitesource_dir=dist/docsstaging_dir=app/docs-stagingcurrent_dir=app/docs
| Name | Type | Required | Description |
|---|---|---|---|
stack_id | string | no | Id of the documentation stack (default: the only stack that declares user documentation). |
source_dir | string | yes | Directory of the copy to install, relative to the stack root. Required. |
staging_dir | string | yes | Staging directory, relative to the stack root; it must be distinct from the current copy and on the same storage. Required. |
current_dir | string | yes | Directory of the current copy served by the shell, relative to the stack root. Required. |