We've already set up the context so that the agent knows our app. But there's a second kind of knowledge: not what the app is, but how to do a task well. A skill packages that "how" once so you never have to explain it again.
Let's look at the instructions we wrote to the agent yesterday. And the ones from the day before. And last week's, too. If it sounds like we keep repeating the same ones (how we prepare a release, how we want our commits, how we optimize the store listing…), that's the symptom. In the previous article, we built the context so the agent would know what our app is; what gets repeated every session is something else.
That "how" doesn't change between projects, but it ends up living only in our heads: the day we miss a step, the agent handles it its own way. That's where skills come in.
So this doesn't stay abstract, we'll go back to the same app we've used as the thread through this whole series: a shared-expenses app. The MVP is deliberately modest (groups per event, adding an expense, a configurable split, a balance view showing who owes whom, and settling up), with a three-layer Clean architecture (ui/, domain/, data/), a local database and a backend that only syncs.
With that specific app, we'll see what a skill changes day to day. Skills are the piece that gets the most out of the agent: context kept it from improvising, and skills taught it to work like us.
What is a skill and how is it different from context?
A skill is a reusable document that teaches the agent how to do a type of task well, and it's only loaded when that task comes up. If context is what the agent knows about our project, a skill is what it knows how to do, and unlike context, it isn't tied to one app: we take it with us to all of them.
We use /aso-master every day for the store listing, /mobile-ux-master for designing screens, /swiftui-pro when I touch UI on iOS, and /android-kotlin when we touch Android code. None of them knows anything about a specific app: they know about ASO, mobile UX, SwiftUI and Kotlin for Android. They're packaged experience that the agent applies when I ask, without me reciting the rules every time.
The distinction is clean in the expenses app. That the app splits an expense among a group's members, that the balance is calculated in the domain layer and never in the UI, that the backend only syncs and the source of truth is the local database: that's context. It lives with this app and is no use to any other. By contrast, how we write the store listing, how we lock down a release or how we format commits is the same in the expenses app as in any other: that's a skill.
The anatomy of a skill
At its core, a skill is a document with three parts: a name, a description that says when to use it, and a body with the instructions (the steps and definitions of how to do the task well). Optionally, references that are loaded only if needed. This is what one of ours looks like:
---
name: pre-submit-hardening
description: Quality checks BEFORE uploading to the
store. Activate before any release build.
---
# Pre-submit hardening
## When to invoke
Before generating the release AAB, always.
## Checklist
1. Complete i18n (zero hardcoded on-screen text).
2. No debug keys or endpoints in the release build.
3. Icons and splash screen in all densities (mdpi → xxxhdpi).
4. Manifest permissions justified (none "just in case").
5. R8/minify and obfuscation enabled in release.
6. Tests green and coverage ≥ 80%.
## Anti-patterns
- ❌ Payment mock that can be enabled by a debug flag.
- ❌ Logs with amounts or user emails in release.
Of those parts, the one most people neglect is the description. It's not decoration, it's the trigger. If we describe badly when to use the skill, the agent will never load it, but if we describe it precisely, it will activate at exactly the right moment. You learn this by stumbling: a skill with a vague description is a skill that sits on disk and never gets used. The description is the difference between having the tool and the agent knowing when to pick it up.
The body, for its part, is where we really put our judgment. Listing steps isn't enough: the best skills also include anti-patterns, those specific mistakes we've already made and don't want to repeat.
In the example above, the "payment mock that can be enabled by a debug flag" isn't theory. It's a real failure that, in the expenses app, would translate into shipping to the store a binary that pretends to charge and doesn't. Writing the anti-pattern down once inoculates the agent for good.
A skill is activated in two ways: we call it explicitly, or the agent loads it on its own when it detects that the task matches its description. In both cases, the key is that it's loaded on demand, and that matters more than it seems: stuffing all our know-how into the context will bloat it until it's unmanageable (and expensive). With skills, the knowledge exists but doesn't take up context until the task calls for it, so we can have dozens without saturating the model.
> /pre-submit-hardening
# The agent loads the skill and runs the checklist
# against the current build. You don't recite the five rules
# from memory on every release: it applies them.
In practice, on the expenses app, the day is split among several of them. When we're about to close the version that goes to the store, we type a single word:
# Quality gate before publishing the expenses app
> /pre-submit-hardening
# The agent walks through the checklist on the current build:
# i18n of the group and split screens, no sync mock
# that can be enabled via kDebugMode, manifest
# permissions justified, balance calculation tests
# green. I don't recite anything: it applies it.
However, when it's time to prepare the store listing for that same app, we invoke a different one:
# Store listing for the expenses app
> /aso-master
# The agent works on the title, subtitle and keywords around
# the real value ("split weekend expenses without arguing
# with anyone"), not technical jargon. The skill knows
# ASO; the context tells it what the app is about.
Notice something: neither of the two skills knows the expenses app. /pre-submit-hardening knows about releases and /aso-master knows about stores. The detail of this app comes from the context. The skill brings the craft and the context brings the data. And that's why the same skill will serve us tomorrow on the next app without touching a line.
Before and after
A skill's value is best understood by contrast. Say we've finished the balance screen in the expenses app and we're about to publish it. Without the skill, what we type is this (and almost every time we miss a step):
# BEFORE - recited by hand, every time:
“Before uploading the expenses app: check the i18n of the group and split screens, remove the debug keys, check icons and permissions, make sure the balance calculation tests pass, that there's no sync mock left that can be enabled via kDebugMode…”
# AFTER - one word, always complete:
> /pre-submit-hardening
The same contrast shows up with commits. The expenses app is a project that grows in weekend bursts and, without a convention, the messages end up being "changes," "fix" and "it works now." With the skill, that doesn't happen:
# BEFORE - improvised:
git commit -m “assorted split fixes”
# AFTER - with the convention written once:
> /git-workflow
# commit: feat(domain): percentage-based split in GroupSplit
# commit: test(domain): rounding cases in the balance
# (messages, per-layer scope and grouping following my rule)
Multiply that by every recurring task (ASO, design, commits, releases) and by every app in our portfolio. What used to be knowledge that lived in our heads (and got lost when we forgot it) becomes a stable capability that the agent executes just as well the hundredth time as the first.
A skill turns our experience into something the agent reuses, not something we repeat ourselves.
Skill or context? How to decide
The rule is simple: if it's knowledge about this project, it goes in context; if it's the how of a recurring task that applies to any app, it's a skill.
| CONCEPT | CONTEXT | SKILL |
|---|---|---|
| Answers | What does it know about this app? | What does it know how to do? |
| Scope | Project-specific | Reusable across apps |
| Example | Business rules of the expenses app | How to format a Git commit |
- If it's architecture, decisions or rules of this project → it goes in context
- If it's how to do a recurring task well (ASO, release, commit) → it goes in a skill
- If it's something you re-explain on every new project → it goes in a skill
- If it only makes sense here → it goes in context
⚡️ Quick rule: if you hear yourself explaining the same thing on two different projects, that isn't context, it's a skill you haven't written yet.
The borderline case that confuses people most is this one: "the split in the expenses app must always round in favor of whoever paid." Skill or context? Context, because it's a business rule of this app: it's no use to anyone else.
But "a monetary calculation never uses float, always integers in cents" is a skill (it lives in /bug-prevention), because we'd make the same mistake in an expenses app as in an invoicing one. The acid test is asking yourself whether we'd write it again on the next project.
The skills I use
These are some of the skills we work with every day. Some are domain expertise (ASO, UX), others are platform skills (SwiftUI, Kotlin, Flutter), and others are procedures that lock in our way of working (commits, releases, bug prevention).
| Skill | What it does |
|---|---|
| /aso-master | Optimizes the store listing: metadata, screenshots, conversion |
| /mobile-ux-master | Designs mobile UX screens and flows |
| /swiftui-pro | SwiftUI patterns for building the UI on iOS |
| /android-kotlin | Kotlin and Jetpack Compose patterns on Android |
| /flutter-best-practices | Flutter best practices: null safety, design tokens, i18n |
| /bug-prevention | Prevents the typical async, state and persistence bugs |
| /git-workflow | Commits and branches following my convention |
| /pre-submit-hardening | Quality gate before publishing to the store |
| /fork-app-from-portfolio | Starts a new app from my template |
To show what they're made of, here's the backbone of /git-workflow, the skill that governs how the expenses app is versioned:
---
name: git-workflow
description: Commit and branch convention. Activate when
committing, opening a branch or preparing a merge.
---
# Git workflow
## Commit format
<type>(<layer>): <what changes, in imperative>
- type: feat | fix | refactor | test | chore
- layer: ui | domain | data (the Clean layer touched)
## Rules
1. One commit, one atomic change, with tests if it touches logic.
2. No "misc" or "wip" in main.
3. Split and balance logic lives in domain: its
commit never mixes ui changes.
There's nothing spectacular about it, and that's exactly the point: it's our judgment in a format the agent understands. A newly arrived agent wouldn't know that a commit shouldn't mix layers. Now it respects that on every commit in the expenses app without us reminding it and, on the next app's commits, without touching a line of the skill.
We don't use them all at once; they fit by phase. The expenses app was in fact born with a /fork-app-from-portfolio that cloned our template with the Clean architecture and the data/ layer with a local database already wired up, instead of starting from a blank project.
From there, each layer draws on a different skill: /android-kotlin keeps the Compose patterns and well-typed state in line when we write the add-expense screen, /bug-prevention comes in when we touch backend sync, where state bugs and async operation ordering bugs concentrate, and /mobile-ux-master rules the debt-settling flow, which is where users get stuck if the UX doesn't help.
When it's time to polish what's visible, we let /aso-master prepare the listing and /pre-submit-hardening act as bouncer before the binary.
And what ties them together? Each one is a document we wrote once, on a bad day when we got sick of repeating the same thing.
The agent stops starting from scratch
Without skills, every task starts from a blank page: the agent is capable, but it doesn't know how we do things, and we have to tell it again. With skills, that know-how gets written down once and becomes reusable (across tasks, across sessions and across apps). The difference is the same as between teaching someone every morning and working with someone who has already learned.
Context says what the agent knows. A skill says what it knows how to do.
With context (what the agent knows) and skills (what it knows how to do), the agent is now sharp. Next up is shaping what the user will see in the expenses app: the screens. We'll cover that in design and in how to go from design to code with AI without breaking the bank.
And there's a question we're deliberately leaving open: how to manage skills when it's not one app but ten, without each one getting contaminated by the others.
When our portfolio grows, there are rules common to all apps and rules specific to each one. Mixing them is a recipe for the agent applying to the expenses app something that was only valid for another. The way to organize this is a hub-and-spoke architecture, and it deserves its own deep dive later on.
Comments are moderated and will only be visible if they add to the discussion in a constructive way. If you disagree with a point, please, be polite.
Tell us what you think.