Skip to content
Back to skills

Writer Review

ASecurity

"Guides LazyLLM writer artifact models, writer tools,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
devopscode-reviewgitbackend

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill writer-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Writer Review?

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

Security grade badge for Writer Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-writer-review/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-writer-review)

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: writer-review
description: "Guides LazyLLM writer artifact models, writer tools,
  revision/stream workflows, Feishu adapter boundaries, and review CLI
  planning."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# LazyLLM Writer and Review

Use this sub-skill for LazyLLM writer workflows, writer intermediate representation (IR), artifact JSON envelopes, writer tools, revision/stream utilities, Feishu adapter boundaries, `lazyllm review`, `review-local`, and git review examples.

## Start here when

- The task mentions writer data models such as `WriterDocument`, `WriterBlock`, `WriterSpan`, `WritingContext`, or `ResourceProfile`.
- The user wants to run or adapt writer tools, revision tools, stream tools, or a writer pipeline.
- The task involves Feishu document bindings, provider payloads, or local artifact stores.
- The user wants to plan LazyLLM PR review commands or local code-review output without posting remotely.

## Files to read

- [writer-review-workflows.md](references/writer-review-workflows.md) for local writer artifact, tool, and review command workflows.
- [artifact-formats.md](references/artifact-formats.md) for writer IR fields and artifact envelope expectations.
- [troubleshooting.md](references/troubleshooting.md) for artifact, provider adapter, review CLI, and posting failures.
- [scripts/writer_artifact_smoke.py](scripts/writer_artifact_smoke.py) for a no-network artifact round-trip check.

## Safe workflow

1. **Start with local artifacts.** Build a tiny `WriterDocument` and `WritingContext`; round-trip them through JSON before using provider adapters.
2. **Keep provider bindings as metadata.** `provider_binding` and `provider_payload` should be preserved but not dereferenced unless the user supplies provider access.
3. **Validate tool outputs.** Writer tools should return artifact paths, context paths, schema names, counts, and summaries that downstream steps can inspect.
4. **Treat review commands as side-effecting.** `lazyllm review` may post or call providers; `review-local` can inspect git state and write reports. Ask before posting remote comments.
5. **Route LLM/provider configuration** to [model-deployment](../model-deployment/SKILL.md) when a writer pipeline calls an online model.

## Key local facts

LazyLLM writer tests verify:

- nested `WriterDocument`/`WriterBlock`/`WriterSpan` fields survive JSON round trips,
- `iter_blocks()` traverses depth-first and `block_by_id()` finds nested blocks,
- artifact envelopes contain `schema`, `schema_version`, `data`, and `meta`,
- `save_artifact_json` / `load_artifact_json` support models and lists,
- `WriterToolBase._save_artifacts` records primary artifact path, context path, schema names, counts, and metadata,
- writer adapter, revision, stream, and tool tests are mostly local; provider-backed writer pipeline is optional.

## Review CLI boundaries

Use review workflows for planning and local output unless the user explicitly asks to post:

```text
lazyllm review --pr <number> [--repo owner/name] [--model ...] [--post] ...
lazyllm review-local [--repo-path .] [--base main] [--output review.json] ...
```

Do not post comments, call a provider, or inspect private repositories without user approval and credentials.

## Handoff checklist

When you finish a writer/review task, include:

- artifact schema and file paths created or expected,
- whether provider bindings are preserved or used,
- local round-trip/tool smoke result,
- review command plan and side-effect status,
- model/provider/backend status if a writer pipeline uses an LLM.

Files in this skill

  • SKILL.md3.5 KB
  • references/artifact-formats.md2 KB
  • references/troubleshooting.md1.7 KB
  • references/writer-review-workflows.md2.5 KB
  • scripts/writer_artifact_smoke.py3.1 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.

Comments

Loading comments…

Newsletter

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