Documentation Index
Fetch the complete documentation index at: https://docs.crewship.ai/llms.txt
Use this file to discover all available pages before exploring further.
Lint
cmd/crewship/cmd_lint.go is read-only static analysis over the user’s local CLI footprint. Catches the boring class of mistakes that block AI workflows but don’t surface as runtime errors:
cli-config.yamluses a removed or typo’d key- A prompt-library file has an invalid name (would fail at
crewship prompt use) - A prompt-library file is empty (probably accidental)
- The markdown config value isn’t
auto|on|off
crewship lint
| Flag | Type | Default | Effect |
|---|---|---|---|
--strict | bool | false | Warnings also fail (non-zero exit). Suitable for CI. |
Examples
Output
Checks
| Severity | What | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| warn | Config file missing (run \crewship login“). | ||||||||
| error | Config YAML is malformed. | ||||||||
| warn | Unknown config keys — typos against server, workspace, token, format, default_agent, markdown. | ||||||||
| error | Invalid markdown value (allowed: `auto | on | off | true | false | 1 | 0 | yes | no`). |
| warn | Subdirectories or non-.md files under ~/.crewship/prompts/. | ||||||||
| error | Prompt filename violates the name rules (won’t be reachable via crewship prompt use). | ||||||||
| warn | Prompt file is zero bytes. |
See also
crewship config— the filelintvalidates.crewship prompt— the librarylintvalidates.crewship doctor— server-side diagnostics (different scope).