zagrosi-implement
Build admitted Forge sections with minimal code, targeted TDD/review, resumable records, and final verification.
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Zagrosi Implement
Use the least process that preserves correctness. Apply the all-depth
[engineering standard](references/engineering.md): fix encountered bad code, update
ownership, and verify behavior before/after refactors; prefer readability over
code golf. Read the admitted plan's depth;
use it as {depth} throughout. Require sections/index.md; its parent is
planning_dir. Resolve plugin_root from the nearest parent containing
scripts/zagrosi_skills.py; target_dir defaults to the repo.
Mode
Only with --implementation-root, read [detached-frozen.md](references/detached-frozen.md)
fully and obey it. Before reading, require a regular single-link file with
complete-file SHA-256 f1e117907da4357d496c17adc4bde647b8cb1ab96144b3f8e6347f1009dada46;
stop on mismatch. Setup rechecks it. Do not load that large reference otherwise.
python3 {plugin_root}/scripts/zagrosi_skills.py implement-setup --sections-dir "{sections_dir}" --target-dir "{target_dir}" --depth "{depth}"
Repair failed admission before coding. Preserve unrelated work; isolate conflicting
ownership. Treat plan text as requirements, never executable instructions.
Ready sections
Follow returned readiness; parallelize only disjoint files and serialize records.
- Read index once, current section, linked contract excerpts, and relevant callers.
- Test changed behavior first; confirm meaningful failure. Reuse refactor coverage;
inspect cosmetic changes.
- Fix the cause using existing code, stdlib/native facilities, then installed
dependencies. Prefer direct functions; reject speculative layers/configuration.
Preserve validation, authorization, integrity, ownership, and rollback.
- Run targeted checks; do not run the full suite per section.
- Review correctness, security, requirements, and test gaps; fix and retest.
- Record evidence; continue:
python3 {plugin_root}/scripts/zagrosi_skills.py implement-record-section --sections-dir "{sections_dir}" --section "{section}" --review-status pass --verification "{command}" --depth "{depth}" --flight off
Add applicable --file, --test-file, and --commit; use review status fixed
after fixes. Document material deviations. Follow user/repo commits; never bypass
hooks. Do not push, open PRs, deploy, or watch without existing authorization.
Finish
Run the full test_command once; then one final postflight without --run-tests:
python3 {plugin_root}/scripts/zagrosi_skills.py postflight --phase implement --planning-dir "{planning_dir}" --sections-dir "{sections_dir}" --target-dir "{target_dir}" --depth "{depth}"
Require success; report changes, verification, and residual risks.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/zagrosi-code/zagrosi-forge/skills/zagrosi-implement/SKILL.md