Skip to content
Back to skills

Zagrosi Implement

ASecurity

Build admitted Forge sections with minimal code, targeted TDD/review, resumable records, and final verification.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythonshellbashgitsecurityperformance

Works with

  • claude code

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add zagrosi-code/zagrosi-forge --skill zagrosi-implement --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Zagrosi Implement?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Zagrosi Implement
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zagrosi-code-zagrosi-implement/badge)](https://www.skillsdirectory.com/skills/zagrosi-code-zagrosi-implement)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: zagrosi-implement
description: Build admitted Forge sections with minimal code, targeted TDD/review, resumable records, and final verification.
allowed-tools:
  - Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" team status *)
  - Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" status *)
  - Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" next-section *)
  - Bash(python "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" team status *)
  - Bash(python "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" status *)
  - Bash(python "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" next-section *)
  - Bash(py -3 "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" team status *)
  - Bash(py -3 "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" status *)
  - Bash(py -3 "${CLAUDE_PLUGIN_ROOT}/scripts/zagrosi_skills.py" next-section *)
---

# Zagrosi Implement

For a Git target, check `team status --target-dir "{target_dir}"` with Forge’s
helper before work or resume.
Follow [team coordination](../zagrosi-forge/references/collaboration.md) when configured or unavailable;
reuse the same task across phases and delegated agents.

Use the least process that preserves correctness. Apply the all-depth
[engineering standard](references/engineering.md). Keep control flow readable,
reuse shared behavior with its caller contracts, and measure performance claims.
Use the admitted plan's depth as `{depth}` throughout. Require `sections/index.md`; its parent is
`planning_dir`; `target_dir` defaults to the repo. A `status.json` follows its mode:
[state-first](references/state-first.md) or [Direct](references/direct.md).

Resolve absolute `plugin_root`: the plugin directory two levels above this skill's
folder, containing `scripts/zagrosi_skills.py`; never the target repo. Claude Code
substitutes it when loading this skill: `${CLAUDE_PLUGIN_ROOT}`. Literal text there
means the file was read directly: derive the path; no such shell variable exists.
Without `scripts/zagrosi_skills.py` there, stop; ask the user to install Forge:
https://github.com/zagrosi-code/zagrosi-forge#install.
Run every helper command, including returned argv arrays, with the exact prefix
`python3 "{plugin_root}/scripts/zagrosi_skills.py"` (Python 3.11+; `python` or
`py -3` on Windows); host pre-approvals match that text.

## 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 `6d748a53abd0b8c5a18c4fc253c37437412478fdec63ba2c3f3cb47c40bcd95f`;
stop on mismatch. Setup rechecks it. Do not load that large reference otherwise.
Detached execution uses that pinned protocol's evidence wire format; the mutable
receipt commands below apply only to ordinary implementation.

```bash
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 and command argument arrays; fill evidence placeholders
only with actual results. After recording, use the returned `entry` for the next
section. `recorded: true` means the record is saved even if that entry needs repair.
Parallelize only disjoint files and serialize records. In Claude Code, run
[delegated agents](../zagrosi-forge/references/providers.md#delegated-agents) in the foreground when offered.

When the user supplies cumulative verification time, or a resumed plan reports
a saved allowance, follow [verification allowance](references/verification.md).
Do not infer a cap from depth or elapsed effort; extend only with explicit user
authorization. Keep fresh evidence reusable and unfinished checks visible.

1. Read index once, current section, original source excerpts, linked contracts,
   and relevant callers. Resolve assumptions that contradict the source first.
   For required [compatibility checks](references/compatibility.md), activate this
   ready section with `implement-setup --section "{section}"` and the setup arguments
   above before source edits; capture its passing baseline. Follow returned actions
   when resuming. Read-only status does not activate a section.
2. Test changed behavior first; confirm meaningful failure. Reuse refactor coverage;
   inspect cosmetic changes. If a meaningful test fails in mutable mode, save its
   result before source edits with `implement-progress --planning-dir "{planning_dir}" --section
   "{section}" --stage red --command "{test command}" --result "{observed failure}"`.
   Prose alone is not a recovery checkpoint.
3. Reuse existing code and native facilities. For dependencies, verify the latest
   stable and the resolved version. Prefer direct functions and avoid speculative layers.
   Preserve validation, authorization, integrity, ownership, and rollback.
4. Capture targeted checks with `implement-verify --planning-dir "{planning_dir}"
   --target-dir "{target_dir}" --section "{section}" -- <command argv>`.
   First rerun required compatibility checks with `--stage candidate`; repair
   failures. This pair supplements ordinary feature checks and final integration.
   Use the ordinary verification receipt when recording; do not run the full suite per section.
   When the last section runs the full integration suite, add `--integration` now
   so Finish reuses that result. Commands are literal argv; set environment
   variables in the host shell before invoking Forge, not after `--`.
   Give each capture a host command timeout above its `--timeout` (default 540 s;
   Claude Code's shell defaults to 120 s and allows 600 s in the foreground), or run
   long captures in the background with a larger `--timeout`.
5. Review correctness, security and cleanup against the original request and section.
   Challenge changed contracts with a concrete input, call sequence or failure
   path and a distinguishing check. Where the host supports fresh-context subagents,
   have one independently review behavior or contract changes, given the request,
   section, diff and checks run ([same-host review](../zagrosi-forge/references/providers.md#same-host-review)).
   Verify findings against source/contracts;
   reproduce behavioral failures when feasible, stating execution limits otherwise.
   Distinguish source bugs from invalid tests or environment failures. Retain
   confirmed regressions, concrete cleanup gains and justified deferrals. Passing
   workflow records do not prove untested behavior. Fix and retest affected checks.
6. Record evidence; continue:

```bash
python3 "{plugin_root}/scripts/zagrosi_skills.py" implement-record-section --sections-dir "{sections_dir}" --section "{section}" --review-status pass --verification-receipt "{receipt}" --depth "{depth}" --flight off
```

Add applicable `--file`, `--test-file`, `--commit` and `--notes` with all deferrals; 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

Before the returned postflight action, run one
[user test](../zagrosi-usertest/SKILL.md) when asked, or at `standard` or `deep`
for runnable user-facing changes. Review the diff and affected callers for
justified cleanup. Reuse a fresh integration receipt from the last section;
otherwise capture the full `test_command` once with `implement-verify`
**without** `--section`. Then run the [whole-change review](references/finish-review.md).
Run one final postflight without `--run-tests`. Later edits require refreshed
verification: only receipts matching final code and contracts determine
completion; superseded ones stay in [receipt history](references/verification.md#receipt-history).

For externally run checks or inspection-only changes, label the source
and outcome (`attestation` or `inspection`, `passed`) with actual evidence;
never present these as captured execution. Legacy free text remains readable but
cannot prove new completion. Manual evidence cannot replace a required compatibility
pair. Failed, skipped, or unknown checks block completion.

```bash
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, residual risks, and user-facing
changes no user test exercised.

Files in this skill

  • SKILL.md8.5 KB
  • agents/openai.yaml268 B
  • references/compatibility.md6 KB
  • references/detached-frozen.md6.2 KB
  • references/detached-protocol.md27.7 KB
  • references/direct.md4.5 KB
  • references/engineering.md8.4 KB
  • references/finish-review.md6.7 KB
  • references/lookup-example.md2.3 KB
  • references/state-first.md3.9 KB
  • references/verification.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.