hernandor/agent-skillset/typed-interfaces

Claude Code and agent skill by hernandor/agent-skillset

Trust tier 3
  • community
Source check pending

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

Use when creating or changing public interfaces, exported APIs, cross-language boundaries, schemas, stubs, or type contracts in Python, TypeScript, Rust, or Go.

Install

npx vskill@latest install hernandor/agent-skillset/typed-interfaces

SKILL.md

The same SKILL.md was published earlier as hernandor/agent-skillset/typed-interfaces.

Typed Interfaces

Overview

Public interfaces are contracts. Make type information explicit where callers, tools, or language boundaries depend on it.

Language Rules

Python:

  • Add annotations for public functions, methods, and class attributes.
  • Keep .pyi, py.typed, generated bindings, and runtime exports in sync when

they exist.

  • Use precise collection and optional types instead of Any unless the boundary

is intentionally dynamic.

TypeScript:

  • Type exported functions, props, events, and data models.
  • Prefer named exported types for shared contracts.
  • Avoid widening public return values through inference when callers depend on

the shape.

Rust:

  • Keep public signatures precise and avoid panics across FFI or external

boundaries.

  • Convert errors into the established public error type.
  • Treat feature flags and trait bounds as part of the API.

Go:

  • Define exported structs, interfaces, and function signatures deliberately.
  • Document exported identifiers when required by local lint policy.
  • Keep JSON tags, validation tags, and wire formats aligned with the contract.

Cross-Language Boundaries

When data crosses languages or processes, define the shape once and verify every binding or stub stays aligned with it. Tests should exercise the boundary, not only the internal implementation.

Common Mistakes

  • Updating runtime exports but not stubs.
  • Relying on inference for public contracts.
  • Treating serialization tags as incidental implementation details.

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

7-day trend score
0

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/hernandor/agent-skillset/typed-interfaces/badge)](https://verified-skill.com/skills/hernandor/agent-skillset/typed-interfaces)

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