Sortu zure lehen skilla
Azkar hasteko gida honek zerotik skill argitaratu batera eramango zaitu 10 minutu baino gutxiagoan.
Aurretiko baldintzak
- GitHub kontu bat
- YAML eta markdown-ekiko oinarrizko ezagutza
1. urratsa — Sortu direktorio-egitura
Skill bakoitza bere direktorioan bizi da. Direktorioaren izena skillaren identifikatzaile bihurtzen da.
mkdir my-skills/
mkdir my-skills/hello-world/
touch my-skills/hello-world/SKILL.md
2. urratsa — Idatzi frontmatterra
Ireki SKILL.md eta gehitu beharrezko frontmatterra:
---
name: hello-world
title: "Hello World"
description: "Greets the user with a friendly message."
version: "1.0.0"
author: "your-github-handle"
trigger: "Use when the user says hello, hi, or asks for a greeting."
tags:
- utility
- beginner
license: MIT
---
Beharrezko eremu guztiak Frontmatter Erreferentzian zerrendatzen dira.
3. urratsa — Idatzi skillaren gorputza
Frontmatterraren azpian, gehitu agenteak jarraituko dituen argibideak:
# Hello World
Greet the user warmly. Use their name if known. Keep the greeting to one or two sentences.
Always include:
- A friendly opening
- An offer to help with something specific
Example output:
> "Hello! I'm Hordago. What can I help you build today?"
4. urratsa — Balioztatu lokalki
Bidali aurretik, balioztatu zure SKILL.md eskemaren aurka:
npx @hordago/skill-validator ./my-skills/hello-world/SKILL.md
Espero den irteera:
✓ Frontmatter valid
✓ Required fields present
✓ Trigger description is specific enough
✓ bc7score estimate: 72 / 100
Skill is ready to publish.
Balioztatzea huts egiten badu, konpondu jakinarazitako erroreak eta berriro exekutatu.
5. urratsa — Igo GitHubera
Igo skillaren direktorioa GitHub biltegi publiko batera:
git init
git add .
git commit -m "feat: add hello-world skill"
git remote add origin git@github.com:your-handle/my-skills.git
git push -u origin main
6. urratsa — Bidali marketplacera
Joan hordago-labs.com/marketplace/submit atalera eta itsatsi zure biltegiaren URLa. Auto-scorerra minutu gutxitan exekutatuko da eta berrikuspen PR bat irekiko du zure skillak gutxieneko atalasea gainditzen badu.
Ikusi Argitaratzea berrikuspen-prozesuari buruzko xehetasunetarako.