基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/navikt/sf-cli-plugin-pool --skill pool-flag命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Generer conventional commit-meldinger med Nav-relevante scopes og breaking change-format
Set up the local Salesforce DevHub test environment (test packages, sfdx-project.json, NUT prerequisites).
Scaffold a new sf pool subcommand following project patterns.
| name | pool-flag |
| description | Add flags to existing pool commands using the sf CLI generator. |
Use this skill when adding new flags to an existing pool:* command.
Generate the flag — run the interactive sf CLI generator:
sf dev generate flag
The generator will:
Preview first (optional) — use --dry-run to review the generated code before applying:
sf dev generate flag --dry-run
Update the message file — add the flag summary to messages/pool.<name>.md:
# flags.<flag-name>.summary
Description of what the flag does.
Update tests — add test cases that exercise the new flag in test/commands/pool/<name>.test.ts
Build and verify — run pnpm run compile and ./bin/dev.js pool <name> --help
--pool-name, --expiration-days)flags.poolName, flags.expirationDays)| Flag | Type | Example |
|---|---|---|
--pool-name / -p | Flags.string | --pool-name my-pool |
--target-dev-hub / -v | Flags.requiredHub | --target-dev-hub myHub |
--count / -c | Flags.integer | --count 10 |
--expiration-days | Flags.integer | --expiration-days 7 |
--config-file / -f | Flags.file | --config-file config/pools.json |
--no-prompt | Flags.boolean | --no-prompt |
./bin/dev.js pool <name> --help shows the new flag