Add blog post on writing agent skills for datafusion-python#187
Add blog post on writing agent skills for datafusion-python#187timsaucer wants to merge 1 commit into
Conversation
Walks through the user-facing vs developer skill split, the TPC-H grounding exercise, and the iterative feedback loop we used to keep the skills honest as the API moved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ntjohnson1
left a comment
There was a problem hiding this comment.
All nits so accept or reject however makes sense to you. This looks great. Excited for when this publishes
|
|
||
| [TOC] | ||
|
|
||
| If you maintain an open source project, a growing fraction of the people |
There was a problem hiding this comment.
| If you maintain an open source project, a growing fraction of the people | |
| If you maintain an open source project, a growing fraction of people |
| [TOC] | ||
|
|
||
| If you maintain an open source project, a growing fraction of the people | ||
| using your library are not typing code directly anymore — they are asking an |
There was a problem hiding this comment.
| using your library are not typing code directly anymore — they are asking an | |
| using your library are not typing code anymore — they are asking an |
| Concretely, you will get out of this post: | ||
|
|
||
| - A pattern for splitting skills by audience — user-facing vs. | ||
| contributor-facing — and why the split matters more than it sounds. |
There was a problem hiding this comment.
| contributor-facing — and why the split matters more than it sounds. | |
| contributor-facing — and why the split matters. |
| - A pattern for splitting skills by audience — user-facing vs. | ||
| contributor-facing — and why the split matters more than it sounds. | ||
| - A workflow for keeping skills in sync with a moving API by treating the | ||
| skill itself as the maintenance tool. |
There was a problem hiding this comment.
| skill itself as the maintenance tool. | |
| skill itself as a maintenance tool. |
| to generate code. That distinction matters: a good user guide is patient and | ||
| walks the reader through concepts; a good skill is opinionated and tells the | ||
| model the exact pattern to emit. | ||
|
|
There was a problem hiding this comment.
| [Skill]: https://agentskills.io/home |
| is silent on something it should cover. Codify the reasoning, don't | ||
| rely on the agent finding it again next time. | ||
|
|
||
| The next two sections describe two different things we did after the |
There was a problem hiding this comment.
Two twos felt redundant
| The next two sections describe two different things we did after the | |
| The next two sections describe different things we did after the |
|
|
||
| A draft skill needs to be tested against something more demanding than the | ||
| ad-hoc prompts the author used while writing it. We needed a way to confirm | ||
| that the skill, once handed to a fresh agent, actually produced code that |
There was a problem hiding this comment.
| that the skill, once handed to a fresh agent, actually produced code that | |
| that the skill, once handed to a fresh agent, actually produces code that |
There was a problem hiding this comment.
There are mixed tenses between past work then current validation. I think this aligns them consistently
| A draft skill needs to be tested against something more demanding than the | ||
| ad-hoc prompts the author used while writing it. We needed a way to confirm | ||
| that the skill, once handed to a fresh agent, actually produced code that | ||
| *ran* and returned *correct answers* on real workloads — not just on the |
There was a problem hiding this comment.
| *ran* and returned *correct answers* on real workloads — not just on the | |
| *runs* and returns *correct answers* on real workloads — not just on the |
| person would follow, it is a candidate for a skill — and the act of | ||
| writing the skill forces you to make the checklist explicit. | ||
|
|
||
| The three correspond to the three places maintenance drift shows up in a |
There was a problem hiding this comment.
| The three correspond to the three places maintenance drift shows up in a | |
| The skills correspond to the three places maintenance drift shows up in a |
| The three correspond to the three places maintenance drift shows up in a | ||
| binding project like ours: | ||
|
|
||
| - **`check-upstream`** — *the public API of the wrapped library moved |
There was a problem hiding this comment.
wrapped library felt ambiguous if we were talking about the library that does the wrapping or the source
| - **`check-upstream`** — *the public API of the wrapped library moved | |
| - **`check-upstream`** — *the public API of the source library moved |
|
The staged URL is not working for me |
|
perhaps the staging was overwritten by the ballista 53 blog, https://datafusion.staged.apache.org/blog/ |
Staged site: https://datafusion.staged.apache.org/blog/2026/05/22/writing-agent-skills/