Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
open-circle avatar

Repo Source Code Review

  • 24 installs
  • 8.9k repo stars
  • Updated August 2, 2026
  • open-circle/valibot

Helps with ai & agent building tasks during AI-assisted development.

About

repo-source-code-review is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • repo-source-code-review
  • AI & Agent Building
  • AI-coding skill

Repo Source Code Review by the numbers

  • 24 all-time installs (skills.sh)
  • Ranked #9,912 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/open-circle/valibot --skill repo-source-code-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs24
repo stars8.9k
Last updatedAugust 2, 2026
Repositoryopen-circle/valibot

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Reviewing Source Code Changes

Guide for reviewing PRs and source code changes in /library/src/.

When to Use This Guide

  • Reviewing pull requests modifying library source
  • Validating implementation patterns before merging
  • Checking code quality, types, documentation, and tests

Review Process

1. Understand the change — Read PR description, identify affected files 2. Check patterns — Verify code follows existing conventions 3. Verify types — Ensure type safety and proper inference 4. Review docs — Confirm JSDoc is complete and accurate 5. Check tests — Validate runtime and type test coverage

What to Review

Code Quality

CheckRequirement
NamingMatches existing patterns (StringSchema, minLength, _parse)
Purity annotation// @__NO_SIDE_EFFECTS__ before pure factory functions
Import extensionsAll imports use .ts extension
Interface vs typeUse interface for object shapes, type for unions/aliases
Folder structureEach API has: name.ts, name.test.ts, name.test-d.ts, index.ts

Good — purity annotation:

// @__NO_SIDE_EFFECTS__
export function string(message?: ErrorMessage<StringIssue>): StringSchema {
  return {
    /* ... */
  };
}

Bad — missing annotation:

export function string(message?: ErrorMessage<StringIssue>): StringSchema {
  return {
    /* ... */
  };
}

Type Safety

CheckRequirement
Generic inferenceTypes infer correctly without explicit annotations
ConstraintsGeneric parameters have appropriate extends clauses
Return typesExplicit return types on exported functions
Type tests.test-d.ts file covers type inference scenarios

Good — constrained generic:

export function minLength<
  TInput extends LengthInput,
  TRequirement extends number,
>(
  requirement: TRequirement,
  message?: ErrorMessage<MinLengthIssue<TInput, TRequirement>>
): MinLengthAction<TInput, TRequirement>;

Documentation

CheckRequirement
JSDoc presentAll exported functions have JSDoc
First lineAction verb matching function purpose (see below)
@param tagsEvery parameter documented
@returns tagReturn value documented
OverloadsEvery overload has its own complete JSDoc block

First line patterns by category:

CategoryPattern
SchemasCreates a ... schema.
ActionsCreates a ... action.
Parse methodsParses ...
Type guardsChecks if ...
Unwrap methodsUnwraps ...
Other methodsCreates a ..., Returns ..., Forwards ...

See repo-source-code-document skill for full documentation rules.

Tests

CheckRequirement
Runtime tests.test.ts covers success cases, failure cases, edge cases
Type tests.test-d.ts validates type inference with expectTypeOf
Issue messagesTests verify correct error messages and issue structure

Common Issues

IssueWhat to Look For
Missing purity annotationFactory function without // @__NO_SIDE_EFFECTS__
Incomplete JSDocMissing @param or @returns, wrong description format
No type testsNew API without .test-d.ts file
Wrong import extensionImports without .ts suffix
Inconsistent namingSchema not ending in Schema, action not ending in Action
Side effects in pure codeMutations, I/O, or global state in schema/action creation

Checklist

  • [ ] Implementation follows existing patterns in similar files
  • [ ] // @__NO_SIDE_EFFECTS__ on pure factory functions
  • [ ] All imports use .ts extension
  • [ ] interface used for object shapes
  • [ ] JSDoc complete on all exports
  • [ ] Runtime tests in .test.ts
  • [ ] Type tests in .test-d.ts
  • [ ] Naming conventions followed

Related Skills

  • repo-structure-navigate — Navigate the codebase
  • repo-source-code-document — JSDoc requirements

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.