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
Exit code is non-zero when at least one error is found (warnings don’t fail the run by default), so safe to wire into shell init scripts.
Examples
Output
Checks
See also
crewship config— the filelintvalidates.crewship prompt— the librarylintvalidates.crewship doctor— server-side diagnostics (different scope).