8000 GitHub - jtmthf/skills: Personal Agent Skills · GitHub
[go: up one dir, main page]

Skip to content
jtmthfPublic

About

Personal Agent Skills

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Skills

Agent skills for Claude, modeled after anthropics/skills.

Skills are folders of instructions, scripts, and resources that Claude loads dynamically to improve performance on specialized tasks.

Structure

  • skills/: Individual skill implementations (each in its own subfolder with a SKILL.md)
  • .claude-plugin/: Plugin manifest for Claude Code

Adding a Skill

  1. Use the skill-creator skill to scaffold a new skill folder under skills/ — it sets up SKILL.md with valid frontmatter and the supporting structure (references/, scripts/, etc.). Just ask Claude to "create a new skill."
  2. Fill in the name, description, and instructions in the markdown body.
  3. Add "./skills/<name>" to the skills array of the single jtmthf-skills plugin entry in .claude-plugin/marketplace.json. All skills in this repo ship as one plugin, not one plugin per skill.

Using in Claude Code

Register this repository as a plugin marketplace:

/plugin marketplace add jtmthf/skills

Then install the plugin (it bundles every skill in this repo):

/plugin install jtmthf-skills@jtmthf-skills

Skill Format

---
name: my-skill-name
description: A clear description of what this skill does and when to use it.
---

# My Skill Name

Instructions for Claude to follow when this skill is active.

See the Agent Skills spec and Anthropic docs for more detail.

Available Skills

An interactive agent skill for relational database schema design and migration. Guides you through a structured 5-phase workflow, scaled to task complexity:

  1. Capture Requirements — entities, attributes, relationships, access patterns, scale
  2. Understand Existing Schema — brownfield scanning of migrations, ORM models, and naming conventions
  3. Validate & Refine — normalization review, design-principles check, design-linter sub-agent
  4. Present for Approval — full schema proposal with constraints, indexes, FK actions, ERD, and open questions
  5. Migration — generates migration files for Prisma, Knex.js, Rails, Django, Alembic, Drizzle, TypeORM, raw SQL (PostgreSQL/MySQL), and more

Sub-agents: schema-scanner (brownfield analysis), design-linter (mechanical schema validation), migration-writer (framework-specific file generation)

Reference library: design principles, multi-tenancy patterns, polymorphic associations, table partitioning, hierarchical data (adjacency list / materialized path / closure table), zero-downtime migrations

Framework support: PostgreSQL, MySQL, SQLite, SQL Server — including Go ecosystem (golang-migrate, goose, Ent, GORM, sqlc, Atlas)

Triggers on: database modeling, schema design, adding tables/relationships, planning migrations, ERD creation, or any discussion of entities, foreign keys, or normalization.

A personalized writing voice skill that drafts text matching your tone, vocabulary, and formatting preferences. Ships configured for a specific author but is designed to be customized.

Workflow:

  1. Understand the Request — routes to content type (announcement, proposal, article, guidance, update, message)
  2. Draft — writes following the voice profile's sentence patterns, tone, and structure
  3. Critic Review — self-reviews against banned phrases, voice profile, and formatting rules (up to 3 rounds)
  4. Present — delivers the final draft

Customizing for your voice: Edit reference/voice-profile.md with your own sentence patterns, tone, vocabulary, and content types. Update reference/banned-phrases.md with phrases you want eliminated. The skill's Constraints in SKILL.md define formatting rules (no em dashes, no standalone greetings, etc.) which you can adjust to match your preferences.

Reference files: voice profile (patterns and habits), banned phrases (~40 AI-isms and dead language), critic protocol (self-review quality bar)

Triggers on: "write in my voice", "draft", "write this up", "announcement", "proposal", or when producing text meant to be sent or published.

An expert JavaScript/TypeScript test engineering skill. Writes tests that give real confidence by testing behavior from the user's perspective, not implementation details.

Core principles:

  • Test behavior, not implementation — query by role, label, text; interact through clicks and typing
  • Integration tests by default (Testing Trophy over Testing Pyramid)
  • Use case coverage over code coverage
  • Fewer, longer tests with multiple assertions per workflow
  • One concept per test file (not 1:1 with source files)
  • Mock at the network level (MSW), not the module level
  • Prefer real browser testing (Vitest browser mode) over jsdom

Workflow:

  1. Detect Framework — scans package.json, config files, and existing tests for conventions
  2. Understand Code — reads source to identify p 76DC ublic API, dependencies, and edge cases
  3. Write Tests — flat structure, test context (test.extend) over lifecycle hooks, descriptive behavioral names
  4. Review — checks against 15-point quality checklist before presenting

Sub-agents: test-analyzer (scans codebase for test setup and conventions), test-writer (writes test files autonomously)

Reference library: best practices, React Testing Library, MSW, Vitest, Vitest browser mode, Jest, Node test runner, Playwright, Storybook

Framework support: Vitest, Jest, Node built-in test runner, Playwright, React Testing Library, Vitest browser mode, Storybook interaction tests

Triggers on: writing tests, adding test coverage, testing components/APIs/functions/hooks, fixing flaky tests, test strategy, or any mention of test frameworks and testing patterns.

An opinionated GraphQL schema architect skill. Designs schemas that are discoverable, evolvable, and make invalid states unrepresentable.

Core principles:

  • Domain mutations over CRUD — every mutation expresses a specific business operation, not generic updateX
  • Payload unions for expected errors — typed error members with a shared Error interface, not error arrays
  • Custom scalars for domain concepts — UserId, Email, DateTime instead of bare ID and String
  • Make invalid states unrepresentable — unions encode state machines instead of nullable conditionals
  • Idempotency keys for non-idempotent mutations

Workflow:

  1. Scan — brownfield detection of existing schema, framework, and conventions
  2. Design Types — entities, enums, scalars, relationships
  3. Design Queries — noun-based with filters and connections
  4. Design Mutations — domain-specific with payload unions
  5. Review — check against core principles

Sub-agents: schema-scanner (brownfield codebase analysis), schema-reviewer (structured review with Critical/Warning/Suggestion findings)

Reference library: query and mutation design, error handling patterns, type design (nullability, connections, unions vs interfaces, enums), advanced patterns (async jobs, authorization modeling, file handling, subscriptions, schema evolution)

Framework support: SDL files (.graphql/.gql), Pothos, Nexus, TypeGraphQL, gqlgen, Strawberry, Ariadne, graphql-ruby, Hot Chocolate, Juniper, and federation

Triggers on: designing GraphQL schemas, adding types/queries/mutations, reviewing schema quality, refactoring CRUD to domain mutations, modeling entities as GraphQL types, or working with .graphql files.

A stacked PR workflow skill using the Graphite CLI (gt). Helps you work in small, reviewable increments — each PR under ~200 lines — that build on each other and can be reviewed and merged independently.

Core principles:

  • Think in stacks, not branches — every feature is a sequence of small, dependent PRs
  • Small PRs are non-negotiable — under 200 lines per PR
  • Use gt over git for commits, branches, and pushes to keep stack metadata consistent
  • Submit early, stack continuously — don't wait for PR 1 to merge before starting PR 2

Workflow:

  1. Triage — scales approach to task size (quick change, small feature 2–3 PRs, large feature 4+ PRs)
  2. Plan — detects branch/commit conventions before creating anything
  3. Stack — creates branches with gt create, submits with gt submit --stack
  4. Sync — pulls trunk changes and restacks with gt sync

Build-then-stack support: Develop on a single branch first, then use gt split to retroactively break it into a stack by file (-f), hunk (-h), or commit (-c).

Sub-agents: stack-planner (decomposes features into reviewable PR stacks), pr-implementer (implements a single PR from a plan)

Graphite MCP integration: When the Graphite MCP server is connected, prefers MCP tools for AI-native stacking over raw gt commands.

Reference library: full gt command reference, stacking guide, common workflows (sync, rebase, handling review feedback, reordering)

Triggers on: stacked PRs, gt commands, splitting large changes into a chain of PRs, syncing branches, or any mention of "graphite", "stacked diffs", or wanting to break a feature into reviewable pieces.

A personal TypeScript/TSX style skill, reverse-engineered from Jack's own pre-2025 open-source repositories and gists rather than a generic style guide.

Core principles:

  • Declarative over imperative — composed pipelines and type-guard filtering over manual loops
  • Object-param destructuring over positional arguments for anything beyond ~2 params
  • Plain factory functions over classes, except for collection types implementing a built-in interface or a deliberate port of an external API's OOP design
  • Erasable syntax — no enums, no access modifiers, no experimental decorators; #private fields over the private keyword
  • Discriminated unions and exhaustive match to make impossible states unrepresentable
  • Fully spelled-out identifiers, minimal comments, TSDoc reserved for public/abstract surfaces
  • Errors modeled as values (Result/Option), with any unavoidable try/catch centralized at a single boundary
  • Invariants enforced upfront via guard clauses, not defensive checks scattered through the body
  • Strict typing at public/domain boundaries; pragmatic any/as/! tolerated in generic internals

Priority order: a project's existing lint config, prevailing local patterns, and framework requirements (e.g. NestJS decorators) always win — this skill fills gaps and greenfield code, it doesn't fight established conventions.

Reference library: naming/export/generic/formatting/testing conventions, and a curated set of canonical code snippets per principle pulled from Jack's own repositories.

Triggers on: writing, generating, refactoring, or reviewing TypeScript or TSX code — functions, modules, types, components, hooks, API handlers, or utility libraries.

About

Personal Agent Skills

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0