Skip to content

Add agentic skills for commits, PRs, and issues - #27

Merged
Mpdreamz merged 2 commits into
masterfrom
feat/add-agentic-skills
Sep 2, 2026
Merged

Mpdreamz merged 2 commits into
masterfrom
feat/add-agentic-skills

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Four Claude Code skills land in .claude/skills/: a commit flow, a PR flow, an issue flow, and a shared writing-style guide. Together they make Claude Code agents produce consistent, reviewable artifacts across repos.

Prompt summary: The ask was to port a set of agentic skills from elastic/docs-builder to a wider set of repos. The skills enforce plain-language writing, full-URL issue/PR linking, and a PR lifecycle check that keeps descriptions current after follow-up commits.

Why

Without shared conventions, Claude Code agents in different repos produce commit messages and PR bodies with inconsistent structure, bare #num links that break in cross-repo contexts, and PR descriptions that silently drift after new commits land on the branch.

What

Commit skill

A guided commit flow: check for hooks, stage deliberately, write an imperative-mood subject line with a Co-Authored-By: trailer, and refresh the PR description if one already exists.

PR skill

A guided PR flow: front-loaded lead sentence, a **Prompt summary:** field capturing the originating ask, a grounded ## Why, behaviour-led ## What sections, and an update path that rebuilds the body from the cumulative diff rather than appending to the old one.

Issue skill

A guided issue flow: duplicate check first, consistent bug-report and feature-request structure, labels per repo conventions.

Writing style

ISO 24495-1 / ASD-STE100 sentence mechanics, liberal backtick use, and a full-URL linking rule — always [#42](https://github.com/org/repo/pull/42), never a bare #42.

Mpdreamz and others added 2 commits September 2, 2026 11:56
Port the commit, pr, and issue skills from elastic/docs-builder.
The skills encode plain-language writing rules, full-URL linking,
and a PR lifecycle check that refreshes stale descriptions after
follow-up commits.

Co-Authored-By: Claude <noreply@anthropic.com>
settings.local.json holds personal Claude Code overrides and should
not be shared. The rest of .claude/ (skills, settings.json, hooks)
is team-shared and stays committed.

Co-Authored-By: Claude <noreply@anthropic.com>
@Mpdreamz
Mpdreamz merged commit c2150b0 into master Sep 2, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant