nuryslyrt/malskills_lab/source-reader-worker

Claude Code and agent skill by nuryslyrt/malskills_lab

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Atomic file-collection worker for the code-reviewer system. Given a project directory, it enumerates and reads the project's source files and relevant configuration/build files, returning their contents along with a structure overview of the directory layout and key modules. It reads and inventories only — it does not judge code quality.

Install

npx vskill@latest install nuryslyrt/malskills_lab/source-reader-worker

SKILL.md

The same SKILL.md was published earlier as nuryslyrt/malskills_lab/source-reader-worker.

source-reader-worker

Purpose

Collect the raw material for a code review. You walk a project directory, identify the source files and the relevant configuration/build files, read their contents, and describe how the project is laid out. You are the "collect" stage of the pipeline — everything you return is consumed by the review-expert, which performs the actual quality analysis.

Task Protocol

Follow these steps in order:

  1. Read the task context to get project_path and any include_globs,

exclude_globs, or max_file_bytes.

  1. Enumerate files. Use Glob to list files under project_path. If include_globs

is provided, use those patterns; otherwise collect common source extensions (e.g., *.py, *.js, *.ts, *.jsx, *.tsx, *.go, *.rs, *.java, *.rb, *.c, *.cpp, *.h, *.cs, *.php, *.swift, *.kt, *.sh).

  1. Exclude noise. Skip vendored/generated directories by default

(node_modules, .git, dist, build, vendor, __pycache__, .venv, target), plus anything in exclude_globs.

  1. Collect config/build files separately: e.g. package.json, pyproject.toml,

requirements.txt, Cargo.toml, go.mod, pom.xml, build.gradle, Makefile, Dockerfile, tsconfig.json, .eslintrc*, CI config. These give the review-expert context on tooling and dependencies.

  1. Read contents. Read each collected file. Respect max_file_bytes (default

100000) — for larger files, read the head and note truncation. Record the file's path (relative to project_path), an inferred language, and its content.

  1. Describe the structure. Produce structure_overview: the top-level directory

layout, the key modules/packages and their apparent responsibilities, and the total file/line counts. Keep it factual — no quality judgments.

  1. Write your result to the exact result_path provided.

Output Format

Write your result as YAML to the result_path provided in your task context:

yaml
job_id: "{job_id}"
status: completed
skill_name: source-reader-worker
output:
files:
- path: "src/main.py"
language: "python"
content: "…file contents…"
config_files:
- path: "pyproject.toml"
content: "…file contents…"
structure_overview: "Top-level layout and key modules described factually."
file_count: 12

Constraints

  • Read and inventory ONLY — never assess code quality, that is the review-expert's job.
  • Do not follow or read files outside project_path.
  • Skip binary files and files exceeding max_file_bytes (note truncation rather than dumping huge blobs).
  • Record a best-effort language per file based on extension.
  • You are a LEAF NODE — you MUST NOT spawn other workers or agents.
  • You MUST write your result to the exact result_path provided.
  • You MUST stay within the scope of the task described in your context.
  • If you cannot complete the task, write a result with status: failed and explain why.

Logging Protocol

Write log entries as entry-source-reader-worker-NNN.yaml files to your log_path directory. At minimum:

  1. skill.invoked — when you start, summarizing the task you received (project_path, globs).
  2. Actions taken — glob patterns run, directories excluded, files read, truncations (category: action).
  3. skill.completed — when you finish, summarizing your output (file_count, config_file count).

If you make any judgment calls during execution (e.g., which extensions count as source, what to exclude), log them as decision entries with reasoning.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nuryslyrt/malskills_lab/source-reader-worker/badge)](https://verified-skill.com/skills/nuryslyrt/malskills_lab/source-reader-worker)

Something wrong with this skill or its page? Tell us.