Tooluck logoTooluck
SKILL.md

skillshare-implement-feature

Agent skill fromrunkids/skillshare

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development, proper handler split conventions, oplog instrumentation, and dual-mode (global/project) patterns. If the request involves writing Go code and tests, use this skill — even if the user doesn't explicitly say "implement".

How to install skillshare-implement-feature

install skillshare-implement-feature
# install the skillshare pack with the skills CLI
npx skills add runkids/skillshare

# or add only this skill to Claude Code: copy the folder

.skillshare/skills/skillshare-implement-feature/

# into

~/.claude/skills/skillshare-implement-feature/ (all projects)

.claude/skills/skillshare-implement-feature/ (one project)

.skillshare/skills/skillshare-implement-feature/SKILL.md

MITFull file
1Implement a feature following TDD workflow. $ARGUMENTS is a spec file path (e.g., `specs/my-feature.md`) or a plain-text feature description.
2
3**Scope**: This skill writes Go code and tests. It does NOT update website docs (use `update-docs` after) or CHANGELOG (use `changelog` after).
4
5Before acting, run `python3 scripts/ai-context.py cli-development testing`. Those topics are the source of truth for repository patterns, execution boundaries and verification; this skill retains the TDD orchestration.
6
7## Workflow
8
9### Step 1: Understand Requirements
10
11If $ARGUMENTS is a file path:
121. Read the spec file
132. Extract acceptance criteria and edge cases
143. Identify affected packages
15
16If $ARGUMENTS is a description:
171. Search existing code for related functionality
182. Identify the right package to extend
193. Ask the user only if ambiguity would materially change scope or public interfaces
20
21### Step 2: Identify Affected Files
22
23List all files that will be created or modified:
24
25```bash
26# Typical pattern for a new command
27cmd/skillshare/<command>.go # Command handler
28cmd/skillshare/<command>_project.go # Project-mode handler (if dual-mode)
29internal/<package>/<feature>.go # Core logic
30tests/integration/<command>_test.go # Integration test
31```
32
33Display the file list and continue.
34
35### Step 3: Write Failing Tests First (RED)
36
37Write integration tests using `testutil.Sandbox`:
38
39```go
40func TestFeature_BasicCase(t *testing.T) {
41 sb := testutil.NewSandbox(t)
42…

Excerpt shown under the repository's MIT license.

More skills in skillshare

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates