بنقرة واحدة
new-feature
// Start a new feature development session with branch setup and requirements gathering
// Start a new feature development session with branch setup and requirements gathering
Record a lesson learned after a user correction, or review existing lessons at session start
Run pre-commit hooks and golangci-lint to verify code quality before finishing work
Fix all CVEs in the Okteto CLI Docker image by scanning with Trivy and updating vulnerable dependencies and binaries
| name | new-feature |
| description | Start a new feature development session with branch setup and requirements gathering |
| disable-model-invocation | true |
You are helping the user start development on a new feature for the Okteto CLI.
git branch --show-currentgit checkout master (if not already there)git pull origin master to ensure we have the latest changesfeat/[feature-name] (Recommended for new features)fix/[bug-name] (For bug fixes)refactor/[description] (For refactoring)git checkout -b [branch-name]Use AskUserQuestion to gather all requirements in one structured form:
okteto newcmd) (Recommended for new features)After the structured questions, ask: "Please describe what you want to implement. Include any specific requirements, expected behavior, or examples."
Wait for the user's detailed description.
Based on the scope and type:
If Small:
If Medium:
If Large:
If Unknown:
Present a summary:
Branch: [branch-name]
Feature Type: [type]
Scope: [scope]
Visibility: [visibility]
Description: [user's description]
Proposed Approach:
- [bullet points of what you'll do]
Ask: "Does this look correct? Should I proceed with [implementation/planning]?"
cmd/*_test.go).copyright-header.tmpl)make lint before completiongit commit -s