principle-type-system-discipline
Use when designing types, reviewing function signatures, or writing statically typed code.
Skill by AmitRockBear
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/amitrockbear-principle-type-system-discipline
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/principle-type-system-discipline
What's inside
- Skill name
principle-type-system-discipline- Description
- Use when designing types, reviewing function signatures, or writing statically typed code.
- License
- MIT
- Instructions
- 9 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "principle-type-system-discipline" does not match folder "type-system-discipline"
Files (4)
- LICENSE
- SKILL.md
- SOURCE.md
- openai.yaml · agents/
SKILL.md (first lines)
1. Model variants so invalid combinations cannot be constructed. For example, use `{ kind: 'open' } | { kind: 'done'; at: Date }` instead of a completion flag plus an optional timestamp.
2. Choose useful representations: a head plus a rest for a non-empty list, or pairs for an even-length sequence. Keep the simplest type that makes the required operations total; an optional result can model an absent value.
3. Brand primitives when accidental interchange is a concrete risk. Follow the repository’s convention and validate at construction.
4. Read [boundary-discipline](../boundary-discipline/SKILL.md) for where to parse external data and maintain invariants. Use its validated types internally.
5. Prefer inference, narrowing and validated construction. Keep necessary assertions local and make their invariant explicit.
6. Handle variants exhaustively so adding one exposes missing cases at compile time.
7. Derive types from authoritative schemas instead of maintaining duplicate shapes.From AmitRockBear/skills, MIT.
More from AmitRockBear/skills
- 0.569score
use-codex
AmitRockBear
Use when the user asks to use Codex, GPT, Sol, Luna or Astra.
SkillAFreshness: AClaude Code +9 - 0.566score
typescript-best-practices
AmitRockBear
Use when reading or editing any .ts or .tsx file.
SkillAFreshness: AClaude Code +9 - 0.565score
verify-change
AmitRockBear
Use when verifying an implemented change or PR before handoff.
SkillAFreshness: AClaude Code +9 - 0.565score
use-cursor
AmitRockBear
Use when the user asks to run a model fable-5-1 or opus-5-5 through Cursor, Grok, including follow-ups to an existing Cursor task.
SkillAFreshness: AClaude Code +9 - 0.564score
write-skill
AmitRockBear
Use when creating, modifying or reviewing skills based on recurring corrections.
SkillAFreshness: AClaude Code +9 - 0.564score
use-claude
AmitRockBear
Use when the user asks Claude, Opus or Fable for a task, including follow-ups to an existing Claude task.
SkillAFreshness: AClaude Code +9 - 0.558score
pr-spec-review
AmitRockBear
Use when the user asks you to review the implementation of a task.
SkillAFreshness: AClaude Code +9 - 0.558score
pr-clean-code-review
AmitRockBear
Use when the user asks you to review the clean code or simplify the implementation of a PR.
SkillAFreshness: AClaude Code +9 - 0.558score
pr-walkthrough
AmitRockBear
Use when the user asks you to explain or give a walkthrough or help understand a pr.
SkillAFreshness: AClaude Code +9 - 0.555score
review-loop
AmitRockBear
Use when the user asks you to do a review loop for a PR.
SkillAFreshness: AClaude Code +9 - 0.554score
principle-boundary-discipline
AmitRockBear
Use when wiring validation, error handling or framework adapters.
SkillAFreshness: AClaude Code +9 - 0.543score
explainer-video
AmitRockBear
Use when the user explicitly asks to create an animated teaching or explainer video about a subject or a document.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 26, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/AmitRockBear/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AmitRockBear
- 0.569score
use-codex
AmitRockBear
Use when the user asks to use Codex, GPT, Sol, Luna or Astra.
SkillAFreshness: AClaude Code +9 - 0.566score
typescript-best-practices
AmitRockBear
Use when reading or editing any .ts or .tsx file.
SkillAFreshness: AClaude Code +9 - 0.565score
verify-change
AmitRockBear
Use when verifying an implemented change or PR before handoff.
SkillAFreshness: AClaude Code +9 - 0.565score
html-communication
AmitRockBear
Use for plans, specs, write-ups, findings, summaries, reports or comparisons presented as readable HTML; use for UI mocks when the user explicitly asks to…
SkillAFreshness: AClaude Code +9 - 0.565score
use-cursor
AmitRockBear
Use when the user asks to run a model fable-5-1 or opus-5-5 through Cursor, Grok, including follow-ups to an existing Cursor task.
SkillAFreshness: AClaude Code +9 - 0.564score
use-claude
AmitRockBear
Use when the user asks Claude, Opus or Fable for a task, including follow-ups to an existing Claude task.
SkillAFreshness: AClaude Code +9
Cite this page
principle-type-system-discipline skill. Agent Mart. https://agentmart.dev/skills/amitrockbear-principle-type-system-discipline (last updated 2026-10-24)