Skip to content
Agentmart
Submit a tool

zf-dynamic-artifact-gate

Use in ZaoFu issue, PRD, or refactor workflows when plan, verify, judge, or replan stages must generate run-specific fact artifacts and artifact/matrix gate…

Skill by uisee-ai

IndexedApache-2.0★ 34
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/uisee-ai-zf-dynamic-artifact-gate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use in ZaoFu issue, PRD, or refactor workflows when plan, verify, judge, or replan stages must generate run-specific fact artifacts and artifact/matrix gate configs instead of hard-coding project facts in runtime or static JSON. Triggers on gate_config_ref, artifact_matrix_gate, scan inventory coverage, acceptance/test matrices, goal gap reports, or verify-rescan gap loops.

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/zf-dynamic-artifact-gate

What's inside

Skill name
zf-dynamic-artifact-gate
Description
Use in ZaoFu issue, PRD, or refactor workflows when plan, verify, judge, or replan stages must generate run-specific fact artifacts and artifact/matrix gate configs instead of hard-coding project facts in runtime or static JSON. Triggers on gate_config_ref, artifact_matrix_gate, scan inventory coverage, acceptance/test matrices, goal gap reports, or verify-rescan gap loops.
License
Apache-2.0
Instructions
117 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# ZaoFu Dynamic Artifact Gate

## Purpose

Keep ZaoFu runtime generic. Runtime may validate schemas, matrix rows, required
fields, statuses, and refs; project facts must come from generated artifacts
and project skills.

Use this skill to generate the artifacts that bridge agent reasoning and
deterministic gates.

## Layer Split

Static control-plane contract:

- event names, required top-level refs, canonical task-map shape;
- gate schema fields such as `required_artifacts`, `matrix_paths`,
  `required_row_fields`, `required_row_field_groups`, `allowed_statuses`;
- generic closure fields such as `goal_gap_report_paths` and
  `goal_gap_task_map_paths`.

Dynamic run facts:

- source inventory and capability rows;
- acceptance, test parity, dashboard/API/CLI matrices;
- task map, gap task map, replan history;
- forbidden dependency/text checks derived from the target project;
- generated gate config referenced by `gate_config_ref`.

Do not encode project module names, product brands, provider lists, UI routes,
or source paths in runtime code. Keep those in project skills, prompt, profile,
or generated artifacts.

## Required Plan Outputs

When a workflow has verify or judge gates, plan synthesis must write and emit:

- `plan_artifact_ref`;
- `task_map_ref`;
- `source_index_ref`;
- `gate_config_ref`;
- matrix refs relevant to the goal, for example `acceptance_matrix_ref`,
  `test_matrix_ref`, `dashboard_matrix_ref`;
- `artifact_manifest_ref`;
- `skills_provenance_ref`;
- `replan_history_ref` when the goal can loop.

Include these refs at the top level of the success payload and in
`artifact_refs` or `evidence_refs`.

## Gate Generation Procedure

1. Read the current goal, scan inventory, PRD/issue/refactor evidence, and
   existing plan artifacts.
2. Build or update source inventory rows with stable ids and priorities.
3. Build acceptance/test/runtime matrices that map P0/P1 rows back to source
   inventory ids and source refs.
4. Build task-map tasks that close the inventory rows and include verification.
5. Generate the artifact/matrix gate config from those artifacts.
6. Emit `gate_config_ref` pointing to the generated config, not a stale sample.

The generated gate should include:

```json
{
  "schema_version": "zf.artifact_matrix_gate.v1",
  "generated_from": "docs/plans/artifact-gate.template.json",
  "generation_inputs": [
    "<source-index-ref>",
    "<acceptance-matrix-ref>",
    "<test-matrix-ref>",
    "<task-map-ref>"
  ],
  "source_inventory_refs": ["<source-inventory-ref>"],
  "required_artifacts": ["<expected output paths>"],
  "matrix_paths": ["<matrix paths>"],
  "blocking_priorities": ["P0", "P1"],
  "allowed_statuses": ["done", "implemented", "passing", "passed", "covered", "ok", "closed"],
  "required_row_fields": ["id", "capability", "priority", "status", "source_refs", "evidence_refs"],
  "required_row_field_groups": [
    ["verification", "verify_commands", "verification_commands", "test_refs", "runtime_evidence_refs"]
  ],
  "goal_gap_report_paths": ["<goal-gap-report-ref>"],
  "goal_gap_task_map_paths": ["<gap-task-map-ref>"]
}
```

Static templates may keep this shape, but the run-specific config must be
regenerated from current evidence.

## Replan And Rescan

When scan, verify, judge, supervisor, or run manager discovers a missing P0/P1
surface:

- update the source inventory or gap report;
- update acceptance/test/runtime matrices;
- synthesize bounded gap tasks through the canonical task-map contract;
- regenerate `gate_config_ref` in the same amendment;
- append replan history with `reason`, `source_refs`, `affected_tasks`,
  `new_contract_refs`, and `gate_changes`.

Do not only write feedback prose. A gap is actionable only when it appears in
the generated matrices and task-map/gap-task artifacts.

## Validation Checklist

Before emitting pass:

- the `gate_config_ref` file exists and is valid JSON;
- every generated matrix path exists or has a blocking finding;
- every P0/P1 row has source refs and at least one verification evidence field;
- every blocking inventory row is owned by a task or a structured open gap;
- final judge sees zero open P0/P1 gaps or emits failure;
- no runtime code change was needed for project-specific facts.

From uisee-ai/zaofu, Apache-2.0.

More from uisee-ai/zaofu

Signals

Stars
34
Forks
4
Open issues
0
Last commit (this folder)
Jul 13, 2026 (3 months ago)
Last release
Aug 21, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from uisee-ai

Cite this page

zf-dynamic-artifact-gate skill. Agent Mart. https://agentmart.dev/skills/uisee-ai-zf-dynamic-artifact-gate (last updated 2026-10-24)