codity context

Manage the AI context files that help Codity understand your project. Context files are automatically taken into account during code reviews, security scans, and test generation, giving Codity a deeper understanding of your architecture, conventions, and business logic so it produces more relevant and accurate results.

Subcommands

context generate

Generate a new context file through an interactive questionnaire.

codity context generate [flags]

Flags:

FlagDescription
--technicalGenerate technical codebase context
--business-contextGenerate product/business context
--featureGenerate feature development context

The questionnaire adapts based on the context type you select. It runs up to 5 rounds with a maximum of 15 questions.

Examples:

codity context generate --technical
codity context generate --business-context
codity context generate --feature

When using --feature, the generated file is named after the feature (e.g., ai-context-payment-flow.md) rather than the default ai-context.md.


context update

Update an existing ai-context.md file through a guided questionnaire.

codity context update

This opens a questionnaire with standard update questions. Your existing context is preserved and new information is merged in.


context show

Display all context files in the current project.

codity context show

Finds and renders every ai-context*.md file in the project root.