skills/eliteforge-agent-must-known/SKILL.md
检查开发环境是否配置完成;未完成时先确认重庆/北京办公地,识别当前操作系统、系统工具、包管理器和 eliteforge-* skill 必填环境变量,再尝试自动安装必备命令并补齐 hosts、Git 全局配置、Git HTTPS、npm/pip 私有源与 pipx 包。用户提到“检查环境配置”“准备开发环境”“缺少命令/hosts/私有源/Git配置/包管理工具/skill环境变量”时使用。 触发门槛:仅当用户明确说明当前项目遵守“璀璨工坊规范”或“eliteforge specification”时才使用本技能。
npx skillsauth add cloudsen/eliteforge-skills eliteforge-agent-must-knownInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
仅当用户明确说明当前项目遵守 璀璨工坊规范 或 eliteforge specification 时,才使用本技能。若用户未做出该项目级声明,不要启用本技能;按通用能力处理。
只做一件事:判断当前机器能否继续执行相关开发任务;如果不能,就基于当前系统已有能力尽量自动补齐。
在写入 hosts 前,必须问清用户的办公地:
references/cq-required-hosts.txt,脚本参数为 --office cqreferences/bj-required-hosts.txt,脚本参数为 --office bj如果用户没有确认办公地,只允许做诊断和非 hosts 修复,不要猜测 hosts 配置。
先确认用户是重庆办公还是北京办公。
运行 report 模式,只诊断不写入。report 返回码为 2 表示环境未就绪,不代表脚本异常。
python3 scripts/bootstrap_env.py --mode report --office cq
python3 scripts/bootstrap_env.py --mode report --office bj
apply 模式。python3 scripts/bootstrap_env.py --mode apply --office cq
python3 scripts/bootstrap_env.py --mode apply --office bj
如果自动安装被系统权限阻塞,报告缺失项和需要用户处理的权限条件。不要伪造安装成功。
只有后续任务确实要操作内部平台时,才安装内部 CLI。
python3 scripts/bootstrap_env.py --mode apply --office cq --install-internal-clis
report,输出最终状态。git、python3、node、npm、npx、pipx、jq、rg、mvn、pnpm、java、javac、curl、wget、sudo 等。brew、apt-get、dnf、yum、pacman、zypper、winget、choco。skills/eliteforge-*/SKILL.md 中声明的 [必填]、[条件必填] 和“必须检测环境变量”的规则,只报告变量名和缺失状态,不打印变量值。git、python3、node、npm、npx、pipx、jq、rg、pnpm、Java/Javac 25 及以上、Maven 3.9.10 及以上。pipx 安装必备 Python CLI 包:pre-commit。~/.npmrc 的 npm 私有源。~/.pip/pip.conf 的 pip 私有源。user.name 必须已配置且不能是占位符;建议使用个人中文姓名,但不以中文字符作为就绪门禁。user.email 必须已配置且不能是占位符;建议使用有效的公司邮箱。init.defaultBranch=mastercolor.ui=autopager.branch=falsepager.status=falsecore.quotePath=falsehttp.https://git.cisdigital.cn.proxy= 空值git.cisdigital.cn 的 SSH 地址重写为 HTTPS。/etc/hosts。user.name/user.email 的就绪判断以“已配置且非占位符”为准;非中文姓名或非标准邮箱只作为建议提示,不作为阻塞项。缺失时优先报告用户执行 git config --global user.name "你的姓名" 与 git config --global user.email "公司邮箱";只有当前 shell 已提供 ELITEFORGE_GIT_USER_NAME、ELITEFORGE_GIT_USER_EMAIL 时,脚本才可以自动写入这两项。/etc/hosts 中同一域名已指向其他 IP,不要覆盖,必须报告冲突。git.cisdigital.cn 优先使用 HTTPS,禁止要求用户改用 SSH 克隆。--mode report|apply:report 只检查;apply 写入安全修复并尝试安装缺失依赖。--office cq|bj:必填业务参数,由用户确认;重庆用 cq,北京用 bj。--package-manager auto|brew|apt-get|dnf|yum|pacman|zypper|winget|choco:自动探测不准时强制指定。该参数只控制系统包管理器回退路径;Java/Javac 与 Maven 仍优先尝试 SDKMAN。--home-dir 与 --hosts-file:可指向临时路径做验证,不污染真实机器。--skills-root:指定 eliteforge-* skill 所在目录;默认按脚本位置推断为仓库 skills 目录。--skip-install:跳过工具安装,但仍应用配置文件修复。--install-internal-clis:通过 pipx 安装或升级内部 Python CLI。system、SDKMAN、package manager、tools、hosts、npm/pip mirrors、git global config、git https rewrite、pipx packages、skill_env_vars、remaining blockers。apply,必须明确说明改了哪些文件、执行了哪些安装命令、哪些项被权限或账号阻塞。skill_env_vars.missing_required 非空,必须提示用户配置对应环境变量;不要要求用户在对话中明文发送密码或 Token。references/onboarding-checklist.md:人类前置项、私有源凭据、安全边界。references/cq-required-hosts.txt:重庆办公 hosts。references/bj-required-hosts.txt:北京办公 hosts。testing
Rewrite human-facing prose using Strunk-style rules. Use for docs, README files, technical explanations, PR descriptions, commit messages, error messages, UI copy, reports, and summaries when the user asks to polish, shorten, clarify, de-duplicate, restructure, or normalize tone.
testing
Draft or refine a concise product requirements document from a rough product idea, then write a Typst source file and sibling PDF to a resolved output path.
research
产品经理竞品分析报告生成器。当用户提到竞品分析、竞品调研、竞品对比、竞争对手分析、市场竞争分析、行业竞品研究时触发。也适用于用户要求对比多个产品/平台/公司的功能、商业模式、市场定位等场景。即使用户只是说'帮我分析一下XX和YY'或'XX有哪些竞争对手',只要涉及产品/公司间的对比分析,都应该使用这个 skill。支持任意行业,支持快速分析和深度分析两种模式。
development
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.