How commandcodeai/command-code works
Purpose and Scope
This repository is the public landing repository for Command Code, an npm-distributed terminal coding agent. The product is described as an interactive CLI that builds and modifies software while learning a user-specific “Taste” profile from accepted, rejected, and edited output. No implementation source, package manifest, or executable entrypoint is present in this tree.
Grounding: readme.md
User Entry Points
The documented installation and runtime path is global npm installation followed by launching cmd from a target project directory. The published package is command-code; its actual CLI binary definition is external to this repository.
Grounding: readme.md
Core Agent Session
A Command Code session is terminal-based and operates in a user’s existing project. Its advertised responsibilities include full-stack project generation, feature work, bug fixes, test writing, and refactoring. Interactive session controls include slash commands, a Bash mode invoked with !, and file-path mention completion invoked with @.
Grounding: readme.md
Taste Learning Boundary
The architecture’s defining product capability is the persistent Taste layer, attributed to the taste-1 model. User decisions—acceptance, rejection, and edits—are treated as feedback signals that update a coding-preference profile. This separates generic code generation from personalized decision-making and is intended to be portable across environments or teams.
Grounding: readme.md
Distribution and External Services
The material runtime/distribution dependency is npm, with installation via npm i -g command-code. Documentation, quickstart material, CLI reference, workflows, and product-specific Taste details are hosted externally at commandcode.ai. Community and feedback routes include Discord, GitHub issues, and the in-agent /feedback command.
Grounding: readme.md, .github/ISSUE_TEMPLATE/1.bug_report.yml, .github/ISSUE_TEMPLATE/2.feature_request.yml
Repository Role and Maintenance Surface
This repository primarily contains product documentation and GitHub issue-intake configuration rather than the agent runtime. The operational maintenance flow visible here is structured bug and feature reporting through GitHub issue templates; branding/media assets are stored under the Command Code GitHub assets directory.
Grounding: readme.md, .github/ISSUE_TEMPLATE/config.yml, .github/commandcode
Main entry points: readme.md Product README · config.yml Issue intake config · 1.bug_report.yml Bug report template · 2.feature_request.yml Feature request template
Components 15
Public repository
Documentation and issue intake; no runtime source is present.
- Product README · Documents installation, CLI use, Taste, and external resources.
readme.md - Issue intake config
.github/ISSUE_TEMPLATE/config.yml - Bug report template
.github/ISSUE_TEMPLATE/1.bug_report.yml - Feature request template
.github/ISSUE_TEMPLATE/2.feature_request.yml - Branding and media
.github/commandcode
Published product
External CLI runtime and services.
- npm registry · Publishes the command-code package.
- command-code package · Its CLI binary definition is outside this repository.
- cmd CLI session · Runs from a user's existing project directory.
- User project · Receives generated and modified code.
- Coding actions · Generation, features, fixes, tests, and refactoring.
- Taste profile · Persistent coding preferences powered by taste-1.
- commandcode.ai · Hosts guides, reference, workflows, and Taste details.
Feedback channels
- User decisions · Accepted, rejected, and edited output.
- /feedback command
- GitHub issues
Connections 16
- Product README → npm registry: documents install
- npm registry → command-code package: distributes
- command-code package → cmd CLI session: installs globally
- cmd CLI session → User project: operates in
- cmd CLI session → Coding actions: performs
- Coding actions → User project: changes
- Taste profile → Coding actions: personalizes decisions
- User decisions → Taste profile: updates
- cmd CLI session → User decisions: collects during session
- cmd CLI session → /feedback command: offers
- Product README → commandcode.ai: links to
- Issue intake config → Bug report template: routes to
- Issue intake config → Feature request template: routes to
- Bug report template → GitHub issues: creates
- Feature request template → GitHub issues: creates
- Product README → Branding and media: uses