agentleFS
sabahattinksabahattink/antigravity-fullstack-hq/skills/skill-creator/SKILL.md

skill-creator

Skill30 starsChanged 53 days agoMITView on GitHub

How to create new skills for this HQ — format, frontmatter, content structure. Use when you need to add a new skill to this repository, or when reviewing whether an existing skill is well-formed.

  • Installs packages

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, mermaid-diagram-generator and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • shalombSkill

    mermaid-diagram-generator

    Guide on creating and editing Mermaid charts safely. Use when asked to draw a diagram, flowchart, or architecture chart. Triggers on: 'mermaid', 'diagram', 'flowchart', 'visualize'.

    Also in 5 projects that use this

  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 5 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • +6 more from naman10parikh

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every code block must be runnable with the imports shown.

    line 66
  2. Very specific:

    Don't mix unrelated concerns.

    line 110
  3. Distinctive:

    Before merging a new skill:

    line 153
  4. Distinctive:

    Never write a skill that's just a list of links — content must be here, not linked

    line 183
  5. Very specific:

    Never use placeholders like [your code here] — write the actual code

    line 184
  6. Distinctive:

    Never mix two unrelated domains in one skill — split instead

    line 185
  7. Distinctive:

    Never skip the "Forbidden Patterns" section — negative examples are the most valuable

    line 186
  8. Distinctive:

    Never write in tutorial style ("first you need to...") — use reference style (show the code)

    line 187
  9. Distinctive:

    Never omit the trigger condition from the description — it's what activates the skill

    line 188

“Common” is measured: kept by at least 6 in 10 of the 185 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Creator

What is a Skill?

A skill is a reference document that gives an AI agent (or a developer) deep, actionable knowledge for a specific domain. It is not a README, a tutorial, or a one-liner tip. It contains real patterns, real code, and clear guidance on what NOT to do.

File Location

skills/
└── <skill-name>/
    └── SKILL.md

Skill names are lowercase, hyphenated: api-design-patterns, auth-patterns, docker-patterns.

Required Structure

---
name: skill-name
description: One-line description. Use when [specific trigger condition].
---

# Title

## [Section 1]
[Content with real code examples]

## [Section 2]
...

## Forbidden Patterns
[What NOT to do — these are as important as the positive guidance]

Frontmatter Rules

---
name: skill-name          # must match the directory name
description: >            # one line: what it does + when to trigger
  Generates Excel files with ExcelJS. Use when creating .xlsx exports
  from database data in a NestJS app.
---

The description field is what an AI uses to decide whether to load this skill. Make the trigger condition specific:

# Good — specific trigger
description: JWT access/refresh tokens, Passport.js strategies. Use when implementing auth in a NestJS + Next.js app.

# Bad — too vague
description: Authentication patterns. Use when building auth.

Content Rules

1. Real code, not pseudocode

Every code block must be runnable with the imports shown. Never use ... to hide required setup.

// Good — complete, runnable snippet
import { Injectable } from '@nestjs/common'
import { InjectRepository } from '@nestjs/typeorm'
import { Repository } from 'typeorm'
import { User } from './user.entity'

@Injectable()
export class UsersRepository {
  constructor(
    @InjectRepository(User)
    private readonly repo: Repository<User>
  ) {}

  findById(id: number) {
    return this.repo.findOne({ where: { id } })
  }
}

// Bad — too abstract
class MyRepo {
  // inject the repo here
  findById(id) { ... }
}

2. Forbidden Patterns section is mandatory

The "Forbidden Patterns" section must be the last section. List 5-10 concrete things that cause real bugs, security issues, or maintenance problems.

## Forbidden Patterns

- Never store access tokens in localStorage — XSS can steal them
- Never use the same JWT secret for access and refresh tokens
- Never skip `@IsEmail()` validation on email fields

3. Aim for 200-400 lines

  • Under 200 lines: too shallow, not useful as a reference
  • Over 400 lines: likely covering too many topics, should be split

4. One topic per skill

Don't mix unrelated concerns. If you're writing a testing skill, don't include deployment. If the topic is naturally broad, split it:

# Too broad:
skills/backend/SKILL.md  ← covers NestJS + TypeORM + auth + caching

# Better:
skills/backend-dev-guidelines/SKILL.md   ← NestJS layering
skills/auth-patterns/SKILL.md            ← JWT + Passport
skills/docker-patterns/SKILL.md          ← Containerization

Section Patterns to Follow

Command blocks for setup

npm install exceljs
npm install -D @types/node

Configuration files

Show actual config files, not fragments.

Patterns with comparison (good vs bad)

// Bad: explanation of why it's bad
const bad = doWrongThing()

// Good: explanation of why it's better
const good = doRightThing()

Checklists for pre-flight checks

Production Deployment Checklist:
□ NODE_ENV=production set
□ Secrets validated at startup
□ Health checks responding
□ Rate limiting enabled

Quality Checklist

Before merging a new skill:

□ Frontmatter has name + description
□ name matches directory name
□ Description includes "Use when [specific condition]"
□ Code examples are complete (have imports, no ellipsis hiding setup)
□ At least 3 major sections with real content
□ "Forbidden Patterns" section exists and has 5+ entries
□ 200-400 lines total
□ No tutorial prose — reference-style only
□ TypeScript/language specifics match the project stack

Example: Creating a New Skill

# 1. Create the directory and file
mkdir skills/redis-patterns
touch skills/redis-patterns/SKILL.md

# 2. Write the skill following the template above

# 3. Commit
git add skills/redis-patterns/SKILL.md
git commit -m "feat: add redis-patterns skill"

Forbidden Patterns

  • Never write a skill that's just a list of links — content must be here, not linked
  • Never use placeholders like [your code here] — write the actual code
  • Never mix two unrelated domains in one skill — split instead
  • Never skip the "Forbidden Patterns" section — negative examples are the most valuable
  • Never write in tutorial style ("first you need to...") — use reference style (show the code)
  • Never omit the trigger condition from the description — it's what activates the skill

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.