Review convention violations

VerifiedSafe

Analyzes a file (under lab/tasks/ or wiki/) for violations of authoring conventions. Reads the relevant convention files, checks every line, and produces a detailed report with line numbers for each infraction. Helps ensure files comply with required standards before review.

Sby Skills Guide Bot
TestingIntermediate
6/2/2026
Claude Code
#lab-authoring#conventions#review#linting

Recommended for

Automated summary

Reviews a task or wiki file for violations of lab authoring conventions against the official convention documents.

Strengths

  • Line-by-line checking against every rule from the convention files.
  • Generates a self-contained report that can be consumed by another agent.
  • Handles special cases like setup.md and wiki files correctly.

Limitations

  • Requires the convention files to exist at a fixed path.
  • Only reports violations, does not fix them.
  • Does not check rules not documented in the convention files.
When to use it

Use this skill before submitting a lab or after editing task/wiki files to ensure they adhere to the established conventions.

When not to use it

Do not use it for free-form style review or technical correctness checking; use a linter or human reviewer instead.

Security analysis

Safe
Quality score85/100

The skill only reads convention files and the target file, then writes a report. It does not execute any system commands or network requests, and there is no risk of data exfiltration or destructive actions.

No concerns found

How this analysis is made

Examples

Review a task file
Review the file lab/tasks/required/task-2.md for convention violations.
Review a wiki file
Check wiki/web-development.md against the lab conventions.

name: review-via-conventions description: Review a task file for convention violations argument-hint: "<path>"

Review a single file for violations of the lab authoring conventions. The file must be under lab/tasks/ or wiki/.

Steps

  1. Parse $ARGUMENTS to get the file path. Accept paths under lab/tasks/ (e.g., lab/tasks/setup.md, lab/tasks/required/task-2.md) or wiki/ (e.g., wiki/web-development.md). If the path is missing or does not point to a file under one of these directories, ask the user.
  2. Read the target file.
  3. Read the convention files that apply to the target file:
    • For lab/tasks/ files:
      • instructors/context/conventions/common.md — writing conventions (4.1–4.23)
      • instructors/context/conventions/tasks.md — task structure (Section 3) and design principles (Section 12)
    • For wiki/ files:
      • instructors/context/conventions/common.md — writing conventions (4.1–4.23)
      • instructors/context/conventions/wiki.md — wiki file structure and section patterns
  4. Go through the target file line by line. Check it against every convention in both files. Flag each violation with its line number.

Rules

  • The convention files are the single source of truth. Check every rule they contain — do not skip any.
  • Do not invent rules beyond what the convention files state.
  • Be strict: flag every violation, no matter how small.
  • Do not fix anything — only report.
  • If a convention does not apply to the file (e.g., the file has no Docker commands), skip that category and note "Not applicable."
  • For lab/tasks/setup.md: skip task-only conventions (Section 3 template, acceptance criteria format). Apply all common.md conventions.

Output format

Write the report to tmp/review-via-conventions/<repo-root-path>, where <repo-root-path> is the file's path from the repository root (e.g., tmp/review-via-conventions/lab/tasks/setup.md for lab/tasks/setup.md, tmp/review-via-conventions/wiki/web-development.md for wiki/web-development.md). Create intermediate directories if they do not exist.

The report must be self-contained so another session or agent can act on it without extra context. Structure:

  1. Header — file path reviewed, date, convention files used.
  2. Findings — grouped by convention number (e.g., "4.2. Terminal commands", "Section 3. Task document structure"). Under each group, list findings as numbered items with line numbers. If a group has no findings, write "No issues found."
  3. Summary — total violation count and a short overall assessment.

After writing the file, print its path in the conversation so the user can find it.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/review-convention-violations-mma3jr2y/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/review-convention-violations-mma3jr2y' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/review-convention-violations-mma3jr2y/download' --output '.skill-downloads/review-convention-violations-mma3jr2y/SKILL.md.part' && mv '.skill-downloads/review-convention-violations-mma3jr2y/SKILL.md.part' '.skill-downloads/review-convention-violations-mma3jr2y/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/review-convention-violations-mma3jr2y/SKILL.md' && test -s '.skill-downloads/review-convention-violations-mma3jr2y/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/review-via-conventions' && cp -R '.skill-downloads/review-convention-violations-mma3jr2y' '.claude/skills/review-via-conventions'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/review-convention-violations-mma3jr2y'

openskills read 'review-convention-violations-mma3jr2y'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/review-convention-violations-mma3jr2y/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills