AGENT SKILL

writing-skills

Use when creating a new YAMTAM skill. Triggers on: 'add a skill', 'create a skill', 'write a skill', 'new skill for X', 'make a skill that'. Enforces frontmatter shape, trigger-phrase quality, and lockfile registration.

License 许可
Apache-2.0
最近更新
2026-11-11
Stars
★ 13
Forks
1

01 前言 Front Matter

name
writing-skills
description
Use when creating a new YAMTAM skill. Triggers on: 'add a skill', 'create a skill', 'write a skill', 'new skill for X', 'make a skill that'. Enforces frontmatter shape, trigger-phrase quality, and lockfile registration.

03 SKILL.md 正文

Writing Skills Skill

A YAMTAM skill is a reusable behaviour rule. Writing a bad skill wastes everyone's time. This skill enforces the standard that makes skills discoverable and triggerable.

Anatomy of a skill file

Every skill lives at: core/skills/<skill-name>/SKILL.md

Required frontmatter

---
name: skill-name          # kebab-case, matches directory name
description: "..."        # trigger phrase description — see quality rules below
---

Required sections in body

# [Title] Skill

[One sentence: what problem this skill solves and why it exists]

## When to use this skill
[Bullet list of triggers — be specific]

## [Main workflow / steps / rules]
[The actual content]

## What NOT to do
[Anti-patterns and common failure modes]

Trigger phrase quality rules

The description: field is the most important part. Claude uses it to decide WHEN to load this skill.

Good description:

"Use when user asks to review a diff or PR. Triggers on: 'review this',
'check my changes', 'code review'. Focuses on bugs and security."

Bad description:

"A skill for reviewing code."

Rules:

  1. Start with "Use when..." — specify the situation
  2. Include at least 3 trigger phrases in "Triggers on: ..."
  3. Name what the skill does, not what it is
  4. Under 2 sentences

After writing the skill

  1. Register it in core/config/skills-lock.json — add an entry manually
  2. Run bash core/scripts/update-skills-lock.sh to compute and write the hash
  3. Update MANIFEST.json skills count and actual_present list
  4. Add trigger phrase tests to core/tests/skills/test-skill-triggering.sh
  5. Run bash core/tests/skills/test-skill-triggering.sh — all tests must pass

Checklist before done

  • [ ] File at core/skills/<name>/SKILL.md
  • [ ] name: matches directory name (kebab-case)
  • [ ] description: has "Use when" + 3+ trigger phrases
  • [ ] Body has "When to use" and "What NOT to do" sections
  • [ ] skills-lock.json entry added
  • [ ] update-skills-lock.sh run and hash updated
  • [ ] MANIFEST.json count updated
  • [ ] Trigger test added and passing

04 同仓库更多 Skills

Horonomos-laps
Horonomos-laps/Yana-AI

openai--sentry--sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ito-basket-compare

Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-network-traffic-baselining

Build network traffic baselines from NetFlow/IPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly/daily traffic pattern profiling

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

detecting-evasion-techniques-in-endpoint-logs

Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-microsegmentation-with-guardicore

Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ramdisk-tmpfs-patterns

暂无简介

★ 13