用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/okteto/okteto --skill lint-check命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Fix all CVEs in the Okteto CLI Docker image by scanning with Trivy and updating vulnerable dependencies and binaries
Upgrade the Go toolchain version of the Okteto CLI across both Go modules (root + tools), the Dockerfile base image (pinned by sha256), and the golang-ci CI image to a target version, validating with okteto build / okteto test, then opening a PR.
Record a lesson learned after a user correction, or review existing lessons at session start
基于 SOC 职业分类
正在显示 SKILL.md
| name | lint-check |
| description | Run pre-commit hooks and golangci-lint to verify code quality before finishing work |
Run all quality checks (pre-commit hooks and golangci-lint) before considering work complete. Use this skill when finishing a task, before committing, or when preparing a PR.
First, check what files have been modified:
git status --short
If there are no modified files, inform the user and exit.
Run pre-commit on all modified files:
pre-commit run --files <list-of-modified-files>
Important: If pre-commit modifies files (like prettier formatting), stage those changes:
git add <files-modified-by-pre-commit>
Then re-run pre-commit to verify all checks pass.
If any Go files were modified, run the full lint suite:
make lint
This runs both pre-commit hooks and golangci-lint with the project's configuration.
If all checks pass:
Present a success message:
✅ All quality checks passed!
Pre-commit: Passed
golangci-lint: 0 issues
Your changes are ready to commit.
If checks fail:
After successful checks, suggest appropriate next steps:
.copyright-header.tmplIf lint output is too large (>30KB), read the full output file and summarize:
If changes are in tools/ directory, also run:
cd tools && make lint
If only documentation files (*.md) were changed:
User says: "I'm done with this feature"