Skip to content
Back to skills

Verify Schema Forge

ASecurity

Verify schema-forge library changes offline, smoke-test the built package, and identify when live provider checks are needed.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 21, 2026
ai-agentsbashnodeapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 4, 2026

npx -y skills add firefliesai/schema-forge --skill verify-schema-forge --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify Schema Forge?

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

Security grade badge for Verify Schema Forge
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/firefliesai-verify-schema-forge/badge)](https://www.skillsdirectory.com/skills/firefliesai-verify-schema-forge)

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: verify-schema-forge
description: Verify schema-forge library changes offline, smoke-test the built package, and identify when live provider checks are needed.
---

# Verify Schema Forge

Run from the repository root after reading AGENTS.md.

## Offline checks

```bash
PNPM_CONFIG_NPMRC_AUTH_FILE=.npmrc pnpm install --frozen-lockfile
bash scripts/agent-check.sh
pnpm lint
pnpm format:check
pnpm typecheck
pnpm test:offline
pnpm build
```

The offline command excludes both live provider suites before module loading.
It needs no `.env` file or API keys.

## Built-package smoke test

Run after build. This uses the public entry, not source-only imports.

```bash
node <<'NODE'
const assert = require('node:assert/strict');
require('reflect-metadata');
const { ToolProp, classToJsonSchema } = require('./dist/lib/index.js');
class Example {}
ToolProp({ type: 'string', description: 'A label' })(Example.prototype, 'label');
const schema = classToJsonSchema(Example);
assert.equal(schema.properties.label.type, 'string');
assert.ok(schema.required.includes('label'));
console.log(JSON.stringify(schema, null, 2));
NODE
```

## Choose additional evidence

- Resolution changes need assertions for repeated generation, inheritance,
  option copying, overrides and errors in the relevant offline spec.
- Expected schema changes may alter snapshots. Use a specific test path with
  `pnpm test:update src/schema-forge.spec.ts`, then inspect the diff.
  A regenerated snapshot is not an independent assertion of correctness.
- Changes to provider adapters or strict policies need relevant real API checks
  with provisioned credentials. `pnpm test:live` runs the live suites.
  The live suites require OPENAI_API_KEY, ANTHROPIC_API_KEY and GEMINI_API_KEY
  and may incur charges. Never add credentials to tracked files or logs.
- CI also exercises both supported reflect-metadata families. For metadata
  changes, check both versions in disposable installs rather than silently
  updating the lockfile in your working tree.

Report commands, asserted output, snapshot changes and any unverified live
provider behavior. Do not describe offline schema checks as live acceptance.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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