Skills code-consistency-validator
๐Ÿ“ฆ

code-consistency-validator

Content revision r1 Safe โš™๏ธ External commands

Validate Cross-Language Type Consistency

Cross-language type drift can cause precision loss and contract bugs. This skill guides Claude, Codex, and Claude Code through Rust, TypeScript, and PostgreSQL checks.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 79 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "code-consistency-validator" from https://skillstore.io/skills/barissozen-code-consistency-validator.md and its manifest at https://skillstore.io/api/skills/barissozen-code-consistency-validator/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Test it

Using "code-consistency-validator". Review TypeScript balance handling for wei values.

Expected outcome:

Critical: A wei balance is converted to a floating point number. Keep the value as bigint or string across the API boundary.

Using "code-consistency-validator". Check a Rust amount field against a PostgreSQL migration.

Expected outcome:

Warning: The application uses an unsigned 64-bit value, but the database column may not preserve the full expected range.

Using "code-consistency-validator". Validate a pull request that changes parseInt calls.

Expected outcome:

Info: Add an explicit radix where decimal or hexadecimal intent matters. No direct precision-loss path was confirmed.

Security Audit

Safe
v8 โ€ข 7/6/2026 Open versioned report

The three static findings are false positives caused by Markdown code fences, not executable Ruby backtick shell calls. SKILL.md includes benign grep examples for local review and no evidence of prompt injection or data exfiltration.

1
Files scanned
61
Lines analyzed
0
Review items
0
False positives ignored

Risk Factors

โš™๏ธ External commands (3)
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/barissozen-code-consistency-validator/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/barissozen-code-consistency-validator/security.svg)](https://skillstore.io/skills/barissozen-code-consistency-validator?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/barissozen-code-consistency-validator?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/barissozen-code-consistency-validator/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/barissozen-code-consistency-validator.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

BarisSozen. (2026). code-consistency-validator security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/barissozen-code-consistency-validator/audits/8

BibTeX citation

@techreport{barissozen-barissozen-code-consistency-validator-2026, author = {BarisSozen}, title = {code-consistency-validator security audit report (audit version 8)}, institution = {Skillstore}, year = {2026}, number = {8}, url = {https://skillstore.io/skills/barissozen-code-consistency-validator/audits/8}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "code-consistency-validator security audit report (audit version 8)" version: "unspecified" type: report authors: - name: "BarisSozen" date-released: "2026-07-06" url: "https://skillstore.io/skills/barissozen-code-consistency-validator/audits/8" identifiers: - type: other value: "skillstore:barissozen-code-consistency-validator:audit:8" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
71
Community
91
Spec Compliance

What You Can Build

Review Financial Type Safety

Check balance, amount, and wei handling before shipping payment or blockchain code.

Validate API Contracts

Compare Rust models, TypeScript clients, and PostgreSQL schemas for mismatched numeric types.

Audit Database Migrations

Inspect schema changes for type choices that can truncate, round, or overflow values.

Try These Prompts

Check Basic Type Mappings
Review this change for Rust, TypeScript, and PostgreSQL type consistency. Focus on obvious mismatches and summarize risks by severity.
Find Precision Loss Risks
Inspect this code for numeric precision risks around balances, amounts, wei values, BigInt, and parseInt usage.
Validate API Boundaries
Compare the API contract across server models, client types, and database columns. Identify any unsafe conversions or serialization issues.
Produce Release Gate Report
Audit the changed files for cross-language type consistency and produce a release gate report with critical, warning, info, and validated items.

Best Practices

  • Review type definitions, serialization, and database columns together.
  • Treat financial and blockchain amounts as exact values, not floating point numbers.
  • Confirm warnings with compiler checks, tests, and migration validation.

Avoid

  • Do not convert large integer balances to ordinary numbers.
  • Do not assume client types match server or database types automatically.
  • Do not rely only on grep results for final release approval.

Frequently Asked Questions

What languages does this skill focus on?
It focuses on Rust, TypeScript, and PostgreSQL type boundaries.
Can it find precision loss bugs?
It can guide searches for common precision loss patterns, especially around balances, amounts, wei values, and BigInt.
Does it execute code automatically?
No. It provides review guidance and example grep commands for local inspection.
Is this a replacement for tests?
No. Use it with unit tests, integration tests, compiler checks, and migration validation.
Can Claude Code use this skill?
Yes. The report lists compatibility with Claude, Codex, and Claude Code.
What should reviewers prioritize first?
Start with money-like values, API payloads, BigInt serialization, and database columns that store large numeric values.

Developer Details

Author

BarisSozen

License

MIT

Skillstore revision

r1

Version notice

The author did not declare a version.

Ref

c4231f0153ccd2a2ed62274c5a372bf8f2386d3f

Maintenance freshness

7/18/2026

Usage

8 downloads ยท 243 views

File structure

๐Ÿ“„ SKILL.md

More from BarisSozen

View all
View all