agentleFS
sukirman1901sukirman1901/frontend-expert/skills/skill-authoring/SKILL.md

skill-authoring

Skill9 starsChanged 2 months agoMITView on GitHub

Write new skill files for the Frontend Expert pack following conventions. Use when the user wants to add a new skill, extend the pack, or says "make this a skill", "buat skill baru", or "tambah skill". Documents the pack's SKILL.md structure, frontmatter format, checklist pattern, and integration points (AGENTS.md, plugin.json, compliance-gates).

89 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cloud-api-recipe-authoring, codebuddy-ide-mcp-upgrade 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.
  • TencentCloudBaseSkill

    cloud-api-recipe-authoring

    Author or revise a cloud-api-operations recipe (config/source/skills/cloud-api-operations/references/recipes/). Encodes why the long tail of control-plane capabilities is deliberately NOT wrapped as MCP/CLI tools, the API-first admission test for whether a capability deserves a recipe, the negative and positive lists, the fixed recipe structure, the writing rules distilled from writing-for-agents, the user-facing copy red lines, and the product regeneration/verification pipeline. Also routes contributors (and their agents) to the contribution flow and the pre-PR self-test protocol in references/contributing.md. Use when adding a recipe, judging whether a scenario belongs in the recipe set, updating the recipes index, re-checking existing recipes against the admission test, or onboarding someone who wants to submit one.

    Also in 3 projects that use this

  • TencentCloudBaseSkill

    codebuddy-ide-mcp-upgrade

    升级 CodeBuddy IDE(genie 扩展)内置的 CloudBase MCP,以及 MCP 发版时同步 IDE 侧白名单。当用户提到「更新 IDE 里的 MCP」「内置 MCP 版本太老」「IDE 集成的 CloudBase 功能不足」「改工具白名单 toolWhiteList」「把新 bundle 打进 CodeBuddy」「白名单漂移」「MCP 发版要同步什么」时使用。覆盖:解包定位内置 bundle 与内嵌配置、重新构建 mcp bundle、生成新的工具白名单与系统提示词、安全注入 IDE 并备份、用 MCP 协议验证工具清单、人工端到端验收、一键回滚。

    Also in 3 projects that use this

  • DIL8654Skill

    api-contract-review

    Review ASP.NET Core Web API contracts for HTTP semantics, versioning, backward compatibility, and response consistency. Use when the user asks to review an API, check endpoints, validate REST behavior, or before releasing contract changes.

    Also in 5 projects that use this

  • zaxbysauceSkill

    pr-review-fix

    Codex adapter for addressing pull request review feedback in opencode-swarm. Use when the user asks to fix PR review comments, requested changes, reviewer findings, CI-review notes, or a pasted review summary with low false-positive tolerance.

    Also in 3 projects that use this

  • albertdobmeyerSkill

    git-workflows

    Advanced git operations beyond add/commit/push. Use when rebasing, bisecting bugs, using worktrees for parallel development, recovering with reflog, managing subtrees/submodules, resolving merge conflicts, cherry-picking across branches, or working with monorepos.

    Also in 3 projects that use this

  • rogue-dev-studioSkill

    frontend-engineering

    Expert frontend application engineering: accessible UI structure, state and data-fetching discipline, form/validation UX, responsive layouts, performance budgets, and integration with API contracts. Use when building or refining SPA/web screens, design-system consumption, client-side routing, or fixing UI reliability (loading, empty, and error states).

    Also in 3 projects that use this

  • +6 more from TencentCloudBase

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 80 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Every skill lives in skills/<skill-name>/SKILL.md and follows this structure:

    line 31
  2. Very specific:

    Keep SKILL.md under 150 lines.

    line 131
  3. Distinctive:

    Use numbered steps with bold step names:

    line 141
  4. Distinctive:

    Prefer tables for rules, patterns, do/don't comparisons:

    line 151
  5. Distinctive:

    After creating a new skill, update these files:

    line 185
  6. Distinctive:

    Add a row to the skills table:

    line 189
  7. Distinctive:

    Add to the intent map if the skill has a clear user intent trigger.

    line 195
  8. Distinctive:

    Add the skill path:

    line 199
  9. Distinctive:

    Add to the appropriate pillar in the skills list.

    line 210
  10. Distinctive:

    Add entry under the next version.

    line 214
  11. Distinctive:

    If the skill introduces a compliance requirement, add a row to the hard defaults table and a Conventions check line.

    line 218
  12. Very specific:

    Create evals/<skill-name>.md with test scenarios:

    line 222
  13. Very specific:

    Write the synthesized rule into its owning reference.

    line 275

“Common” is measured: kept by at least 6 in 10 of the 80 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

Writing Skills

Overview

Author new skills for the Frontend Expert pack following established conventions. Every skill should be consistent in structure, integrate with the intent map, and reference the pack's depth system.

When to use

  • Adding a new skill to the pack
  • User says "make this a skill" or "buat skill baru"
  • Distilling a repeated workflow into a reusable skill
  • Extending pack coverage for a new domain

When to skip

  • Editing an existing skill's content (just edit the file)
  • One-off fixes or configurations

Skill anatomy

Every skill lives in skills/<skill-name>/SKILL.md and follows this structure:

skills/
  <skill-name>/
    SKILL.md          # Required — frontmatter + instructions
    scripts/          # Optional — helper scripts
    examples/         # Optional — reference implementations
    resources/        # Optional — templates, assets
    references/       # Optional — additional docs (prefer top-level references/)

SKILL.md template

---
name: <skill-name>
description: >-
  <2-4 sentence description covering: what it does, when to trigger,
  example phrases that should auto-load this skill. Include both English
  and Indonesian trigger phrases if applicable.>
---

# <Skill Title>

## Overview

<1-2 sentences: what problem this skill solves and its philosophy.>

## When to use

- <Trigger condition 1>
- <Trigger condition 2>
- <Trigger condition 3>

## When to skip

- <Skip condition 1>
- <Skip condition 2>

## MUST (ship rules)

| Rule | Detail |
|------|--------|
| **<Rule name>** | <What the agent must do> |
| ... | ... |

## Workflow

1. **<Step name>** — <what to do>
2. **<Step name>** — <what to do>
3. ...

## Agent boundaries

- **May decide:** <what the agent can choose autonomously>
- **Must not:** <what the agent should never do>

## Checklist

- [ ] <Gate 1>
- [ ] <Gate 2>
- [ ] <Gate 3>
- [ ] Conventions check reported (if UI-facing)

## Depth

<Reference pointers to files in references/ for detailed content>

Frontmatter rules

FieldRequiredRules
nameYesKebab-case, matches folder name
descriptionYes2-4 sentences. Must include trigger phrases. Use >- for multi-line YAML. Include both English and casual Indonesian phrases if the pack serves bilingual users

Description formula

<What it does> + <When to trigger> + <Example phrases>.

Good:

description: >-
  Accessible forms, field/form errors, submit pending, wizards, progressive
  disclosure. Use when building or fixing forms, login, settings, checkout,
  filters, "validasi", "form error", or multi-step flows.

Bad:

description: Handles forms and validation.

Conventions to follow

1. Depth via references

Keep SKILL.md under 150 lines. Put rich content (code examples, extensive tables, theory) in references/<skill-name>.md. Reference it with:

## Depth

Full guide: `references/<topic>.md`.

2. Workflow structure

Use numbered steps with bold step names:

1. **Identify** — what to look for
2. **Apply** — how to fix/implement
3. **Verify** — how to check it worked

3. Tables over prose

Prefer tables for rules, patterns, do/don't comparisons:

| Do | Don't |
|----|-------|
| Token colors | Raw hex |
| `<button>` | `<div onClick>` |

4. Checklist as ship gate

End with a checklist that the agent verifies before DONE:

## Checklist

- [ ] <Required gate 1>
- [ ] <Required gate 2>
- [ ] Conventions check reported

5. Agent boundaries

Explicitly state what the agent may decide autonomously vs what it must not do:

## Agent boundaries

- **May decide:** query lib vs loader, skeleton vs spinner
- **Must not:** swallow errors, ship success-only UI

Integration checklist

After creating a new skill, update these files:

1. AGENTS.md — Intent map

Add a row to the skills table:

| `<skill-name>` | <Pillar> | <Trigger description> |

Add to the intent map if the skill has a clear user intent trigger.

2. plugin.json — Registration

Add the skill path:

"skills": [
  ...
  "skills/<skill-name>"
]

3. docs/pillars.md — Pillar assignment

Add to the appropriate pillar in the skills list.

4. CHANGELOG.md — Version history

Add entry under the next version.

5. references/compliance-gates.md — Ship gate (if applicable)

If the skill introduces a compliance requirement, add a row to the hard defaults table and a Conventions check line.

6. evals/ — Eval case (recommended)

Create evals/<skill-name>.md with test scenarios:

# Eval: <skill-name>

## Scenario

<User prompt that should trigger this skill>

## Expected behavior

1. <What the agent should do>
2. <What the output should include>
3. <What should NOT happen>

## Pass criteria

- [ ] Skill was loaded
- [ ] <Expected output was produced>
- [ ] <Anti-pattern was avoided>

Workflow

  1. Name — choose a kebab-case name matching the concept
  2. Draft — write SKILL.md following the template above
  3. Depth — if content > 150 lines, extract to references/<name>.md
  4. Integrate — update AGENTS.md, plugin.json, pillars.md, CHANGELOG.md
  5. Eval — write at least one eval case
  6. Test — verify the skill triggers correctly on natural language input
  7. Evidence — classify normative-looking rules via references/evidence-policy.md; update NOTICE.md only when third-party material is actually included

Checklist

  • SKILL.md follows template structure
  • Frontmatter has rich description with trigger phrases
  • Content ≤ 150 lines (depth in references/)
  • Has When to use + When to skip
  • Has Workflow with numbered steps
  • Has Checklist as ship gate
  • AGENTS.md updated with skill entry
  • plugin.json updated
  • pillars.md updated
  • CHANGELOG.md updated
  • Eval case created (recommended)
  • Standards, recommendations, heuristics, and inspiration are distinguished
  • Version-sensitive sources and third-party attribution are recorded

Depth

Pack architecture: docs/pack-layers.md. Pillar map: docs/pillars.md. Evidence policy: references/evidence-policy.md. Write the synthesized rule into its owning reference; do not distribute a research-link ledger. Existing skills as examples: any skills/*/SKILL.md.

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.