release

schpet/linear-cli · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/schpet/linear-cli --skill release
0 commentsdiscussion
summary

This skill provides a systematic workflow for creating and publishing releases for the linear-cli project. It handles changelog management, version bumping, testing, and tagging.

skill.md

Release Workflow

This skill provides a systematic workflow for creating and publishing releases for the linear-cli project. It handles changelog management, version bumping, testing, and tagging.

When to Use

Use this skill when preparing to release a new version of linear-cli. The workflow ensures all changes are documented, tests pass, and versions are properly tagged before publishing.

Prerequisites

Ensure the following tools are available:

  • changelog skill for changelog management
  • svbump for version bumping (installed)
  • jj for version control operations
  • just for running the release tasks

Release Workflow

Step 1: Review Commits Since Last Release

Determine the commits that have been made since the last release:

jj log --ignore-working-copy --git -r 'tags()..@' --no-graph

This shows all commits from the most recent tag to the current commit.

Step 2: Add Changelog Entries

For each commit identified above, evaluate whether it warrants a changelog entry. Focus on user-facing changes:

Include in changelog:

  • New features
  • Bug fixes
  • Breaking changes
  • Significant improvements
  • Deprecations

Exclude from changelog:

  • Internal refactoring without user impact
  • Documentation-only changes
  • Build/CI configuration changes
  • Chore commits (unless significant)

Use the changelog CLI to add entries. Use --attribute-pr with the commit SHA to automatically look up the associated PR and add attribution, excluding schpet and schpetbot:

changelog add --type <type> "<description>" --attribute-pr <commit-sha> --exclude-users schpet,schpetbot

Omit --attribute-pr for commits without an associated PR or when attribution isn't relevant.

Types match Keep a Changelog categories:

  • added - New features
  • changed - Changes in existing functionality
  • deprecated - Soon-to-be removed features
  • removed - Removed features
  • fixed - Bug fixes
  • security - Security improvements

Step 3: Verify Changelog with User

After adding all relevant changelog entries, show the unreleased section of CHANGELOG.md to the user and ask them to review it:

  1. Read the CHANGELOG.md file
  2. Show the [Unreleased] section
  3. Ask: "Please review these changelog entries. Are there any changes needed before release?"
  4. Make any requested adjustments

Step 4: Determine Semver Bump

Based on the types of changes in the changelog, determine and recommend the appropriate semantic version bump:

Major (X.0.0):

  • Breaking changes
  • Removed features
  • Significant API changes

Minor (0.X.0):

  • New features (added)
  • Deprecations
  • Backward-compatible functionality additions

Patch (0.0.X):

  • Bug fixes
  • Security fixes
  • Minor improvements with no new features

Present the recommendation to the user:

Based on the changelog entries, I recommend a <MAJOR/MINOR/PATCH> version bump because:
- [reason 1]
- [reason 2]

Current version: <current>
Proposed version: <proposed>

Should I proceed with this version bump?

Wait for user confirmation before proceeding.

Step 5: Run Changelog Release

Once the user confirms the version bump, run the changelog release command with the appropriate semver level:

changelog release <major|minor|patch>

This updates CHANGELOG.md, converting the Unreleased section to a versioned release.

Step 6: Execute Tag Process

After the changelog is released, execute the complete tag process from the justfile. This includes:

  1. Run quality checks:

    deno check src/main.ts
    deno fmt --check
    deno lint
    deno task test
    
  2. Update version files:

    # Get the latest version from changelog
    LATEST_VERSION=$(changelog version latest)
    
    # Write version to deno.json
    svbump write "$LATEST_VERSION" version deno.json
    
    # Read version from deno.json and write to dist-workspace.toml
    DENO_VERSION=$(svbump read version deno.json)
    svbump write "$DENO_VERSION" package.version dist-workspace.toml
    
  3. Regenerate skill documentation:

    # Generate updated skill docs (includes version from deno.json)
    deno task generate-skill-docs
    
    # Update Claude Code plugin versions
    FINAL_VERSION=$(svbump read version deno.json)
    svbump write "$FINAL_VERSION" version .claude-plugin/plugin.json
    svbump write "$FINAL_VERSION" version .claude-plugin/marketplace.json
    # marketplace.json also has version inside plugins[0] — svbump can't do array paths,
    # so use jq or edit it manually to match
    
  4. Create commit and tag:

    # Get the final version
    FINAL_VERSION=$(svbump read version deno.json)
    
    # Create commit
    jj commit -m "chore: Release linear-cli version $FINAL_VERSION"
    
    # Set main bookmark to parent commit
    jj bookmark set main -r @-
    
    # Create tag on the parent commit
    jj tag set "v$FINAL_VERSION" -r @-
    
  5. Push to remote:

    # Push the bookmark
    jj git push --bookmark main
    
    # Push tags (using git)
    git push origin --tags
    
  6. Report completion:

    Released v$FINAL_VERSION successfully!
    

Error Handling

If any step fails:

  • Quality checks fail: Fix the issues before continuing. Do not proceed with release if tests fail or linting errors exist.
  • Version bump fails: Verify the version format and files exist.
  • Push fails: Check authentication and remote access.

Always stop and report errors clearly. Never continue the release process if a critical step fails.

Important Notes

  • The justfile tag recipe handles the complete process from line 5-21
  • Use jj for all version control operations (per project CLAUDE.md)
  • Always use --ignore-working-copy for read-only jj operations
  • The workflow creates a commit on the parent (@-) and then creates a new working commit
  • Both jj git push and git push origin --tags are needed (jj for bookmark, git for tags)

Post-Release

After successful release:

  1. Verify the tag appears on GitHub
  2. Check that GitHub Actions release workflow triggers (if configured)
  3. Confirm the new version is published

Reference

See justfile lines 5-21 for the complete tag recipe implementation.

how to use release

How to use release on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add release
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/schpet/linear-cli --skill release

The skills CLI fetches release from GitHub repository schpet/linear-cli and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/release

Reload or restart Cursor to activate release. Access the skill through slash commands (e.g., /release) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.637 reviews
  • Mei Sanchez· Dec 24, 2024

    release reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Chaitanya Patil· Dec 20, 2024

    release reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Valentina Flores· Dec 8, 2024

    release has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Benjamin Bansal· Nov 15, 2024

    I recommend release for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Piyush G· Nov 11, 2024

    I recommend release for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Benjamin Gill· Oct 6, 2024

    Useful defaults in release — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Shikha Mishra· Oct 2, 2024

    Useful defaults in release — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Evelyn Diallo· Sep 25, 2024

    Keeps context tight: release is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Sakura Garcia· Sep 17, 2024

    release is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Rahul Santra· Sep 13, 2024

    release is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

showing 1-10 of 37

1 / 4