Agent skills package instructions for a repeatable task so an AI agent can use them when that task becomes relevant. A useful skill explains what evidence to collect, which sequence to follow, and what a reviewer should receive. It does not make an uncertain model output correct merely by giving the instructions a filename.
The topic has become more practical as coding agents move into ordinary repository work. GitHub's November 2026 guide to agent skills describes packaging workflows for reuse across agents. The important product question is which repeated activity benefits from an explicit procedure, and how to check whether that procedure improves the result.
This article develops one example: reviewing a mobile app's API contract before a Flutter implementation starts. The sample is a proposed workflow, not a claim that an agent has inspected your repository or that a particular host supports every capability mentioned here.
Skills, repository instructions, and tools solve different problems
A repository instruction file describes the project environment: its commands, conventions, architectural boundaries, and expectations. For example, it might say that payment state belongs in the backend and that generated files should not be edited directly. Those rules can matter across many tasks.
A skill describes a particular activity. An API-contract review might require a caller-to-endpoint map, an error-state review, and a list of missing fields. A release review would collect different evidence. The procedure becomes useful when it is more specific than “follow best practices.”
Tools provide capabilities such as reading files, querying an API, or inspecting a browser. MCP is one way a host can connect tools and resources. A skill can explain when a tool would help, but an instruction document does not install that tool, authenticate an account, or grant permission to change production.
Keep these responsibilities clear when diagnosing a failure. A missing endpoint specification is an evidence problem. A tool that cannot access a repository is a capability problem. An agent that skips an explicit error-state review is a workflow problem. Adding more prose to the skill will not reliably solve all three.
Start with one expensive repeated mistake
Imagine a team repeatedly begins mobile development before agreeing what a paginated endpoint returns when there are no results. One developer assumes an empty list; another expects a missing field; the UI cannot distinguish an empty state from a failed request. This is a strong candidate for a focused review workflow because the evidence and desired output are concrete.
Write down the review's purpose in one sentence:
Before building a mobile feature, identify contract gaps that could leave the client unable to represent loading, success, empty, expired-session, and failure states accurately.
That is narrower and more useful than a skill called “excellent engineering.” It gives the reviewer a reason to inspect the output and an obvious way to spot a missed case.
A workflow is a weaker candidate when every run requires a different strategic decision, the evidence is unavailable, or the result cannot be evaluated. In those cases, improve the brief and access to evidence before packaging a skill.
A complete SKILL.md example
The Agent Skills specification defines a skill directory containing a SKILL.md file. Its required metadata includes a name and description; supporting references, assets, and scripts can live alongside it. Host support and additional fields should be checked against the runtime you actually use.
Here is a deliberately small, read-only example. The expected evidence comes from a supplied specification and client code, rather than an invented API.
---
name: mobile-api-contract-review
description: Review a supplied API specification and mobile client flow for contract gaps before implementation. Use for endpoint mapping, UI state coverage, and evidence-based integration questions.
---
# Mobile API Contract Review
## Inputs
- The feature brief and named API specification.
- Relevant client models, request adapters, and screens when available.
- The repository's instructions and supported verification commands.
## Workflow
1. Identify the user action and the endpoints it depends on.
2. Read the supplied contract and relevant client code.
3. Map request fields, response fields, authentication, and pagination.
4. Check loading, success, empty, expired-session, and failure states.
5. Separate documented behaviour from assumptions and missing evidence.
6. Run only relevant read-only checks available in the host environment.
7. Report blocking gaps before lower-impact wording improvements.
## Boundaries
- Do not change files, call production endpoints, or use real customer data.
- Do not infer undocumented response fields or successful test results.
- Follow the host's permission rules and the repository instructions.
- If evidence or tools are missing, state the resulting review limitation.
## Deliverable
- A short feature-to-endpoint map with source locations.
- A UI-state coverage list.
- Concrete contract questions, each with an implementation consequence.
- Checks actually run, their results, and remaining uncertainty.The example is code-formatted because it teaches a developer-facing file format. It is not an instruction to execute the workflow in this article, and it does not override permissions in the reader's agent environment.
Notice the stopping condition: a deliverable a human can assess. The skill does not ask for unlimited exploration or assert that all review findings are bugs. It asks the agent to distinguish a verified mismatch from a question.
What good output would look like
Suppose an illustrative events app has a saved-events screen. The API document shows a list endpoint with a page cursor but does not describe an expired cursor. The app design includes a retry button and a “No saved events” message.
A weak result says:
Improve error handling and make pagination robust.
A useful result says:
The saved-events screen needs to distinguish an empty first page from a rejected continuation cursor. The supplied contract defines the success payload but does not define the expired-cursor status or recovery behaviour. Please confirm whether the client should restart from page one. Until that is agreed, a retry could repeat the same rejected cursor indefinitely.
The second result names the missing evidence and connects it to a visible user problem. In a real review, it should also cite the supplied specification and relevant file locations. Do not fabricate source locations to make the report look complete.
A compact handover might then include three states: a documented empty response that the client handles, an expired-session response with an agreed sign-in flow, and an unresolved pagination case. That gives a project owner a decision to make before development continues.
Keep references separate from the core procedure
A skill can become difficult to maintain if every example, platform note, and historical incident is copied into one large instruction file. Keep the main procedure short enough to understand as a workflow. Put longer reference material in clearly named supporting documents when the host supports loading those resources.
For the contract-review example, useful references might include the team's error vocabulary, its pagination conventions, and a small sanitized sample of an accepted review. The skill should say when each reference matters. A folder full of unexplained documents is another search task, not a reliable procedure.
Avoid putting production tokens, customer exports, or private support transcripts into a reusable skill package. A review usually needs the shape of a response and the meaning of an error, not a real customer's personal data. Use invented fixtures and label them accordingly.
Supporting scripts deserve a separate decision. A small parser that checks a supplied schema may improve consistency, but it also introduces code that must be reviewed and maintained. Explain its inputs, side effects, dependencies, and failure behaviour. Do not add an executable merely because a skill format allows a scripts directory.
Portability needs a compatibility check
A shared instruction format does not make every host identical. One agent may have a browser, another may only read local files. A team environment may enforce approval before network access. Tool names and supported metadata can differ.
Test the workflow in the intended environment using a harmless fixture. Check that the host discovers the skill, understands its trigger, can find its references, and returns the requested deliverable. If the browser is unavailable, the report should say that visual states were reviewed from supplied designs, not pretend a screen was opened.
A portable workflow defines the evidence it needs and permits an honest limit when that evidence is missing. A fragile one hard-codes a tool name and tells the agent to continue as though the tool always exists.
The distinction matters for freelancers handing work to a client. The client may use a different agent product or no agent at all. The documented procedure should still explain the review well enough for a developer to perform it.
Evaluate the skill before calling it an improvement
Build a small set of realistic review cases. For this example, include a complete contract, a missing authentication error, an ambiguous money field, an expired pagination cursor, and an irrelevant task that should not trigger the skill. Keep expected findings written down before comparing results.
Run the same cases with and without the skill in comparable conditions. Evaluate whether important gaps are found, whether supported behaviour is incorrectly flagged, whether source references are accurate, and whether the next action is clear. A longer report is not automatically a better report.
Include at least one misleading input. A sample response may contain a field that the authoritative schema omits. The agent should identify the conflict and ask which source governs implementation. It should not silently promote an example into a guarantee.
Also check boundary behaviour. A request to “verify this against production” should not cause a read-only review skill to bypass the host's authorization rules. If a required command is unavailable, the output should record that limitation. These cases test whether the workflow remains useful when the happy path ends.
Maintain the procedure alongside the project
Give the skill an owner and review it when the contract conventions change. If the backend adopts a new pagination format, update the reference and its example together. Otherwise, the skill may consistently recommend yesterday's pattern.
Treat a proposed update like ordinary project work: explain the problem it addresses, review the diff, and run the relevant fixture cases. Keep a short record of why a boundary exists. “Do not query production” is easier to preserve when a maintainer understands that this workflow is designed for pre-build review from supplied evidence.
For a small project, one focused skill may be enough. A large catalog of near-duplicate skills creates ambiguous triggers and conflicting procedures. Start with the repeated mistake, prove that the workflow helps, and expand only when a distinct activity needs different evidence or a different deliverable.
For the wider project context, see the AGENTS.md guide. For the security of packages and scripts used around these workflows, read npm supply chain security. If you need an agent-assisted feature or development process scoped around real project constraints, my AI integration services can help define a reviewable pilot.



