Agent skill

Add Feature

by JamieMason in JamieMason/syncpack

Add new features to Syncpack including commands and validation logic.

MITAuto-check passedDevelopment

Install Add Feature

skills CLI
$ npx skills add JamieMason/syncpack --skill add-feature -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JamieMason/syncpack add-feature --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JamieMason/syncpack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-feature .claude/skills/add-feature && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-feature
GitHub stars
2.1k
Token cost
~523 tokens
SKILL.md length
221 words
Files
3
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Add new features to Syncpack including commands and validation logic.

  • Works in 3 steps: Understand the 3-phase pattern: Create… → Know which phase your feature affects → Check if similar code exists (use…
  • Implementing new CLI commands
  • SKILL.md covers Quick Decision, Prerequisites, Feature Types and Common Workflow, plus 1 more section
  • Calls cargo and just

What it does

Add Feature is an agent skill from JamieMason/syncpack. Add new features to Syncpack including commands and validation logic. Use when implementing new CLI commands, adding InstanceState variants, or extending version group behaviour.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `adding-command.md` and `adding-instance-state.md`).

It sits in Development. The repository describes itself as: Consistent dependency versions in large JavaScript Monorepos. The licence is MIT.

When your agent uses it

  • Implementing new CLI commands
  • Adding InstanceState variants
  • Extending version group behaviour

Example prompts

  • “/add-feature”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Understand the 3-phase pattern: Create Context → Inspect Context → Run Command
  2. Know which phase your feature affects
  3. Check if similar code exists (use ast-grep -p 'PATTERN' src/)

What it can do on your machine

Read from SKILL.md and the folder at commit 958d306. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo
    • just

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Feature loads about 523 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 221 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~523

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from JamieMason/syncpack at commit 958d306, republished under its MIT licence (© JamieMason). 221 words, ~523 tokens.

Download SKILL.mdSave it as .claude/skills/add-feature/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
add-feature
description
Add new features to Syncpack including commands and validation logic. Use when implementing new CLI commands, adding InstanceState variants, or extending version group behaviour.

Add Feature

Guide for adding new functionality to Syncpack.

Quick Decision

What are you adding?

Prerequisites

Before adding any feature:

  1. Understand the 3-phase pattern: Create Context → Inspect Context → Run Command
  2. Know which phase your feature affects
  3. Check if similar code exists (use ast-grep -p 'PATTERN' src/)

Feature Types

Commands

Commands are user-facing operations (syncpack lint, syncpack fix, etc.).

When to create a new command:

  • New user-facing operation that doesn't fit existing commands
  • Different output format or behaviour needed

Registration points (all three required):

  1. src/cli.rs - Add to Subcommand enum
  2. src/main.rs - Add match arm for dispatch
  3. src/commands/*.rs - Implement pub fn run(ctx: Context) -> i32

→ Full guide: adding-command.md

Instance States

InstanceState variants describe validation results (valid, fixable, unfixable, suspect).

When to add a new state:

  • New validation rule needed
  • New type of error/warning to report
  • New auto-fix capability

Location: src/instance_state.rs + src/visit_packages/*.rs

→ Full guide: adding-instance-state.md

Common Workflow

  1. Write failing test using TestBuilder
  2. Implement minimal code to pass
  3. Run cargo clippy and fix warnings
  4. Refactor if needed
  5. Update documentation

Checklist

Before submitting:

  • Tests pass (just test)
  • Zero clippy warnings
  • Follows existing patterns
  • Registered in all required places (for commands)
  • Uses TDD approach

© JamieMason, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in .claude/skills/add-feature of JamieMason/syncpack.

  • SKILL.md
  • adding-command.md
  • adding-instance-state.md

Open the folder on GitHubat commit 958d306

Compare with similar skills

Add Feature next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Feature compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Feature this skillJamieMason/syncpack2.1k—~523Automated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from JamieMason/syncpack

All 11 skills in this repo
  • Document Code

    JamieMason/syncpack

    Add and update the documentation website for Syncpack. An agent skill from JamieMason/syncpack.

    2.1k GitHub stars~1.3k tokensUpdated 12 days ago
    Auto-check passed
  • Fix Bug

    JamieMason/syncpack

    Debug and fix bugs in Syncpack using scientific debugging methodology.

    2.1k GitHub stars~1.2k tokensUpdated 12 days ago
    Auto-check passed
  • Front Loading

    JamieMason/syncpack

    Put the answer first, then context and details follow. An agent skill from JamieMason/syncpack.

    2.1k GitHub stars~1.9k tokensUpdated 12 days ago
    Auto-check passed
  • Search Code

    JamieMason/syncpack

    Search for code patterns in Syncpack. An agent skill from JamieMason/syncpack.

    2.1k GitHub stars~581 tokensUpdated 12 days ago
    Auto-check passed
  • Signal Over Noise

    JamieMason/syncpack

    Maximize useful information per word by removing filler, obvious explanations, and hedging language.

    2.1k GitHub stars~1.5k tokensUpdated 12 days ago
    Auto-check passed
  • Testing Gaps

    JamieMason/syncpack

    Run coverage, inspect results, and identify missing test scenarios for a given source file.

    2.1k GitHub stars~766 tokensUpdated 12 days ago
    Auto-check passed

Categories

Questions about Add Feature

What does Add Feature do?

Add new features to Syncpack including commands and validation logic. Add Feature is an agent skill from JamieMason/syncpack. Add new features to Syncpack including commands and validation logic.

When should I use Add Feature?

Add Feature fits situations like: implementing new CLI commands; adding InstanceState variants; extending version group behaviour.

How do I install Add Feature in Claude Code?

Run `npx skills add JamieMason/syncpack --skill add-feature -a claude-code`. Or copy the skill folder (.claude/skills/add-feature in JamieMason/syncpack) into .claude/skills/add-feature in your project. Claude Code loads it when a task matches its description.

How do I install Add Feature in Codex?

Run `npx skills add JamieMason/syncpack --skill add-feature -a codex`. Or copy the skill folder (.claude/skills/add-feature in JamieMason/syncpack) into .agents/skills/add-feature in your project. Codex loads it when a task matches its description.

Can I use Add Feature in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JamieMason/syncpack --skill add-feature -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-feature, .gemini/skills/add-feature, .github/skills/add-feature and .opencode/skills/add-feature in your project.

What does Add Feature need to run?

Going by SKILL.md and its folder, Add Feature needs the command-line tools its instructions call (cargo and just).

Does Add Feature access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Add Feature safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Feature use?

Add Feature is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Feature use?

About 523 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Feature?

Skills that share tags, products or a category with Add Feature: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Feature?

JamieMason (a GitHub user) maintains it in JamieMason/syncpack, which has 2,101 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 26, 2026.

Source: JamieMason/syncpack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.