Skip to content
Back to skills

Skill Authoring

ASecurity

Create, update, and audit repository-local agent skills against the current LLM Gateway codebase. Use when adding or editing files under .agents/skills or .claude/skills, reviewing a skill for stale instructions, or checking that skill paths, commands, cross-references, and workflows actually exist.

  • 1,672 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
ai-agentsbashnodeapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add theopenco/llmgateway --skill skill-authoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill Authoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Skill Authoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/theopenco-skill-authoring/badge)](https://www.skillsdirectory.com/skills/theopenco-skill-authoring)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: skill-authoring
description: Create, update, and audit repository-local agent skills against the current LLM Gateway codebase. Use when adding or editing files under .agents/skills or .claude/skills, reviewing a skill for stale instructions, or checking that skill paths, commands, cross-references, and workflows actually exist.
---

# Skill authoring

Write only instructions that are necessary and proven. Treat prompts, old skills,
and remembered workflows as leads, not evidence.

## Establish the source of truth

1. Read `AGENTS.md` and the files that implement the workflow.
2. Inventory both `.agents/skills` and `.claude/skills`, including hidden files
   and symlink targets. Keep the implementation in `.agents/skills`; expose
   every skill to Claude with a symlink.
3. Classify every operational claim before retaining it:

   - Repository fact: prove it with the current tree using `rg` or by reading the
     implementation.
   - Repository command: prove the script and package exist, then run a safe
     help or validation command when flags or behavior matter.
   - External API or product fact: use current authoritative documentation or a
     live non-destructive probe.
   - Machine capability: check it locally and state it as a precondition; never
     present one machine's installed tools or authentication behavior as a
     universal fact.

If a claim cannot be verified, remove it or label the exact check the agent must
perform at runtime. Never invent a missing skill, tool, port, command, or path to
bridge a workflow gap.

## Create or edit the skill

- Keep YAML frontmatter to `name` and `description`. Put all trigger phrases in
  the description.
- Keep the body concise and imperative. Link to `AGENTS.md` instead of copying
  large procedures that will drift.
- Use exact repository paths only after resolving them. Use placeholders only
  where the agent must choose a value.
- Keep cross-skill references repository-local unless the dependency is
  optional and checked at runtime.
- Add scripts only for repeated deterministic work. Run every added script.
- Remove unused references and assets.

## Validate

Run the repository skill audit from the repository root:

```bash
node .agents/skills/skill-authoring/scripts/check-skills.mjs
```

Then run the standard skill validator for each new or structurally changed skill
when it is available, followed by `pnpm format` and the build required by
`AGENTS.md`.

Review the final diff once more. Each instruction should have a concrete source:
repository code, a command result, authoritative documentation, or an explicit
runtime precondition.

Files in this skill

  • SKILL.md2.6 KB
  • agents/openai.yaml225 B
  • scripts/check-skills.mjs4.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.