analyse-issue
Analyse Issue
Overview
Fetch the issue details, verify repo alignment, and inspect the local codebase to confirm or refute the reported problem. Provide an evidence-backed analysis with clear next steps.
Workflow
1) Parse the issue input
- If input is a GitHub issue URL, extract owner/repo and issue number.
- If input is just a number, assume the current repo unless the user specifies another repo.
- If the provider is not GitHub or is unclear, ask for clarification before proceeding.
2) Verify local repo matches the issue
- Ensure the current directory is inside a git repo (
git rev-parse --show-toplevel). - Identify the target remote (prefer
origin); normalize SSH/HTTPS toowner/repo. - If the issue URL repo does not match the local
owner/repo, stop and ask the user to switch directories or confirm the target repo.
More from tenfyzhong/skills-hub
create-pr
Create a Pull Request from the current branch. Syncs upstream main/master, updates current branch, handles fork remotes intelligently, and generates PR title/description from diff and commits. Respects PR templates if present. REQUIRES Must be in a git repository with gh CLI available.
11new-issue
Use when the user asks to create a GitHub issue from the current conversation context (e.g., "new issue", "create issue", "file an issue", bug/feature request) with a target repo given or auto-detected, and gh CLI is available/authenticated.
11pr-review
Comprehensive PR code review skill for git repositories. Use when reviewing a GitHub/GitLab PR by providing a PR link. Analyzes changes against merge base, explains what the PR does, provides review guidelines, identifies issues sorted by severity, evaluates test coverage, and raises uncertain questions. REQUIRES Must be in a git repository with gh CLI available.
11implement-issue
Implement a GitHub issue end-to-end. Accepts issue number or URL, syncs to latest main/master, creates a feature branch, analyzes the issue, explores the codebase thoroughly, and implements the solution. REQUIRES Must be in a git repository with gh CLI available.
11resolve-git-conflicts
Use when resolving Git conflicts from merge, rebase, cherry-pick, or stash apply/pop via CLI, especially with unmerged paths, standard Git conflict marker lines, or messages like "both modified" or "needs merge".
11install-nvim-plugin
Install a Neovim plugin configuration from a GitHub URL. Usage '/install-nvim-plugin <github-url>'. Parses the URL, fetches plugin documentation, generates optimal lazy.nvim configuration with lazy loading, and saves to `./lua/plugins/`. Optionally updates README.md.
2