hackpack~jayjaytee GitHub
All pages

Skills (SKILL.md)

A skill is a folder with a SKILL.md file that teaches your agent how to do one specific job: “check we’re ready to submit”, “write the README”, “plan this idea”. The agent sees only the skill’s name and description until a task matches, then reads the full instructions.

It’s an open format (agentskills.io), so the same skill works in Claude Code, Codex, GitHub Copilot in VS Code, Gemini CLI, Cursor, OpenCode and others.

Skill or instruction file?

  • Instruction file (CLAUDE.md / AGENTS.md): facts that are always true, read every session. “We use Next.js. Don’t add packages.”
  • Skill: a procedure you need sometimes, loaded only when it’s relevant. “Here’s how to check we’re ready to demo.”

Make a skill when you notice you keep pasting the same multi-step instructions into chat.

What one looks like

demo-check/
└── SKILL.md

SKILL.md has two parts: frontmatter at the top, then Markdown instructions.

---
name: demo-check
description: Checks whether a hackathon project is ready to demo and submit. Use when the user is about to submit, present or demo.
---

# Check the project is ready to demo

1. Run the build and note any errors.
2. Check no .env files or API keys are committed.
3. ...
  • name: lowercase letters, numbers and hyphens, and the same as the folder name.
  • description: what it does and when to use it. This is the most important line, because it’s how the agent decides whether to load the skill.

A skill folder can also hold extra files (a template, a script, a longer reference) that the instructions point to. Most don’t need them.

Writing a good description

The agent only sees the description until it decides to use the skill, so say when it applies, using the words a person would actually type.

Too vague:

description: Helps with demos.

Better:

description: Checks whether a hackathon project is ready to demo and submit, covering the build, secrets, README and deployment. Use when the user is about to submit, present or demo, or asks if the project is ready.

Writing the instructions

Everything on Prompting AI applies, because a skill is a prompt you’ve saved:

  • Say what the end result should look like, ideally with the exact sections of the output.
  • Number the steps.
  • Set limits (“don’t change any code”, “ask before fixing”).
  • Keep it short. Under a page is usually plenty.
  • Write it for a smart reader who knows nothing about your situation.

Where to put them

For Claude Code:

Folder Works in
.claude/skills/<name>/SKILL.md in your project That project. Commit it so your team gets it.
~/.claude/skills/<name>/SKILL.md All your projects on your computer

Other agents read from their own folders; check the “skills” page in your agent’s docs. The skill files themselves are the same.

Using one

  • Automatically: just ask normally (“are we ready to submit?”) and the agent loads the matching skill.
  • Directly: in Claude Code, type / and the skill name, like /demo-check.

If a skill never gets used, its description probably doesn’t match how you ask. Add the phrases you actually use.

Example skills for hackathons

Three skills in this repo, ready to copy. To add them to a project for Claude Code:

# from inside your project folder, with hackpack cloned next to it
mkdir -p .claude/skills
cp -r ../hackpack/ai/example-skills/* .claude/skills/

Or copy one from the boxes below into .claude/skills/<name>/SKILL.md yourself. They’re also on GitHub.

scope-idea

View the file on GitHub

Turns a rough idea into must/should/won’t lists, a demo script and a timeline. Good for the first hour.

---
name: scope-idea
description: Turns a rough hackathon project idea into a plan a small team can build in time, with must/should/won't lists, a demo script and a timeline. Use when the user describes a hackathon idea, asks what to build first, or asks whether an idea is too big.
---

# Scope a hackathon idea

The goal is a project that can be demoed working in two minutes, not a complete product.

## 1. Fill in what's missing

If the user hasn't said these, ask in a single message (at most 5 questions), then wait for answers:

- How long is the event, and how much time is left?
- How many people are on the team, and what can each of them do?
- What are the judging criteria or prize tracks, if known?
- What stack does the team already know?
- Is there a sponsor API or theme they need to use?

## 2. Find the one main feature

State in one sentence the single thing the demo will show. If the idea needs several unrelated features to make sense, say so and suggest the strongest one to keep.

## 3. Write the plan

Use exactly these sections:

### Main feature
One sentence.

### Must
At most 5 items. The demo doesn't work without them.

### Should
Only if the musts are done and deployed.

### Won't
Things that are explicitly out of scope. Include anything that needs approval from an outside service, a large dataset, or hardware the team doesn't have, and suggest mocking it instead.

### Demo script
The exact steps the presenter will click through, in order, in under two minutes.

### Timeline
A rough plan by hours for the time left, with deployment in the first hour and submission at least two hours before the deadline.

### Biggest risks
The two or three things most likely to break the demo, and a fallback for each.

## Rules

- Be honest if the idea is too big. Cutting scope is the most useful thing you can do here.
- Prefer the team's existing skills over new technology.
- Don't write code in this skill. Planning only.

explain-changes

View the file on GitHub

Explains what the code (or the AI) did, in plain words, and prepares answers for judges’ questions.

---
name: explain-changes
description: Explains recent code changes in plain language so the user understands what their code does and can answer judges' questions. Use when the user asks what changed, how a feature works, what the AI wrote, or is preparing for a demo or Q&A.
---

# Explain recent changes

The user needs to understand and explain this code themselves, often to judges. Assume they're a beginner.

## 1. Find the changes

- Run `git status` and `git diff` for uncommitted changes.
- If the user asks about a feature or a time period, use `git log --oneline -20` and `git show <commit>` to find the relevant commits.
- If they name a file or feature, read those files.

## 2. Explain

For each change or feature:

- **What it does**, in one or two sentences, from the user's point of view.
- **How it works**, step by step, in plain words. Mention the file and function names so they can find them.
- **Anything risky**: hardcoded values, missing error handling, secrets in code, things that only work with demo data.

Avoid jargon. If a technical term is needed, explain it in a few words the first time.

## 3. Prepare for questions

List 3 to 5 questions a judge might ask about this code, each with a short answer the user could give in their own words. Include at least one about what's mocked or would need to change for real users.

## Rules

- Don't change any code. Explaining only.
- If you're not sure what some code does, say so rather than guessing.

demo-check

View the file on GitHub

Checks the build, secrets, README and git status before you submit, and reports problems without fixing them.

---
name: demo-check
description: Checks whether a hackathon project is ready to demo and submit, covering the build, secrets, README and deployment, and reports problems without fixing them. Use when the user is about to submit, present or demo, or asks if the project is ready.
---

# Check the project is ready to demo

Run the checks below, then give a short report. **Don't fix anything without asking first.** Near a deadline, the user decides what's worth changing.

## Checks

### Build
- Find the build command (`package.json` scripts, `requirements.txt`, the README) and run it.
- Note any errors. Warnings don't matter unless they break something.

### Secrets
- Run `git ls-files` and check that no `.env` files, keys or credentials are tracked (`.env.example` is fine).
- Search tracked files for things that look like API keys, such as long strings starting with `sk-`, `AIza` or `ghp_`.
- Check `.gitignore` includes `.env` and the dependency folder (`node_modules/` or `.venv/`).

### Environment variables
- List every environment variable the code reads.
- Check each one is in `.env.example`, so the deployed site and teammates know to set it.

### README
Check the README has:
- a one-line description
- a link to the live demo
- how to run it locally
- the team members

### Demo path
- Look for leftover test data, `console.log` spam, or "TODO" text visible in the UI.
- If there's a deployed URL in the README, say whether it should be opened to confirm it works (you may not be able to check it yourself).

### Git
- Run `git status`. Uncommitted changes won't be in the submission.
- Check the current branch has been pushed.

## Report

Use three groups:

- **Must fix before submitting**: build failures, committed secrets, uncommitted work.
- **Should fix if there's time**: missing README sections, missing env vars in `.env.example`.
- **Fine**: what passed.

End with the single most important thing to do next.