con un clic
primer
// Orient in any codebase by analyzing structure, documentation, key files, and current state. Use when starting work on an unfamiliar project, switching codebases, or needing a quick overview.
// Orient in any codebase by analyzing structure, documentation, key files, and current state. Use when starting work on an unfamiliar project, switching codebases, or needing a quick overview.
Query official Microsoft documentation for Azure, .NET, Microsoft 365, and all Microsoft technologies. Use for concepts, tutorials, code samples, limits, and best practices from learn.microsoft.com.
Run interactive CLIs in persistent tmux sessions by sending keystrokes and reading pane output. Use when Claude Code, Codex, GitHub Copilot CLI, or any TUI/REPL must keep state across commands.
Manage Linear issues, teams, and projects via CLI including issue tracking, sprint workflows, branch creation, and PR generation. Use when working with Linear, tracking issues, starting work on tasks, creating PRs from Linear issues, or managing teams and projects.
Manage GitHub via CLI including pull requests, issues, workflows, actions, releases, and repositories. Use when working with GitHub, gh commands, GitHub Actions CI/CD, PRs, issues, releases, or repository management.
Manage Azure DevOps via CLI including repos, pull requests, pipelines, builds, work items, and boards. Use when working with Azure DevOps, az devops commands, CI/CD pipelines, PRs, or Azure Boards work items.
Guide for creating effective Claude Code skills. Use when designing, structuring, or building new skills with scripts, references, and assets.
| name | primer |
| description | Orient in any codebase by analyzing structure, documentation, key files, and current state. Use when starting work on an unfamiliar project, switching codebases, or needing a quick overview. |
| argument-hint | subdirectory or focus area (optional) |
Analyze the current codebase and produce a structured orientation report.
!git branch --show-current 2>/dev/null || echo "(not a git repo)"
!git status --short 2>/dev/null || echo "(not a git repo)"
!git log --oneline -20 2>/dev/null || echo "(no git history)"
!tree -L 3 -a --dirsfirst -I '.git|node_modules|__pycache__|.venv|venv|dist|build|.next|.nuxt|coverage|.pytest_cache|.mypy_cache|target|vendor|Pods|.gradle|.idea|.vs' $ARGUMENTS 2>/dev/null
Follow these four phases in order. Be selective — read only what matters.
Analyze the injected project structure above. Identify:
If $ARGUMENTS specifies a subdirectory, focus on that subtree while noting its relationship to the broader project.
Read the most important documentation files in priority order, stopping when you have enough context:
Agent instructions (highest priority): CLAUDE.md, AGENTS.md, .cursorrules, .github/copilot-instructions.md
Project documentation: README.md, CONTRIBUTING.md, DEVELOPMENT.md, docs/architecture.md
Dependency manifest (scan only — do not read exhaustively): package.json, requirements.txt, pyproject.toml, Cargo.toml, go.mod, Gemfile
Read agent instructions fully. For README, read the first 100 lines. For dependency manifests, scan the dependency list only.
Skip files absent from the project structure. Do not waste tool calls checking for files you can see are missing.
Based on structure and documentation, identify and optionally read:
Read key files only if short (under 200 lines) or scan the first 50 lines for essential context. Note the existence and purpose of large files without reading them in full.
The injected git context provides branch, status, and recent commits. If there are uncommitted changes, run git diff --stat to identify active work areas.
Produce the primer report using this structure. Be concise — bullet points over paragraphs.
## Primer Report: {project-name}
### Project Overview
- **Type**: {app/library/CLI/monorepo/framework}
- **Purpose**: {one-line description}
- **Primary language(s)**: {languages}
- **Framework(s)**: {if applicable}
### Architecture
- {what each major directory does}
- {key architectural patterns}
- {entry point(s)}
### Tech Stack
- **Runtime**: {language version, runtime}
- **Dependencies**: {key dependencies, not exhaustive}
- **Build**: {build tools, bundlers}
- **Test**: {test framework(s)}
- **CI/CD**: {if present}
### Core Principles
{From agent instructions or contributing docs. "No agent instructions found." if none.}
### Key Files
| File | Purpose |
|------|---------|
| {path} | {brief purpose} |
### Current State
- **Branch**: {current branch}
- **Status**: {clean / N uncommitted changes}
- **Recent focus**: {what recent commits suggest}
git ls-files or use Glob to discover the project structure.$ARGUMENTS is provided, scope the report to that area. Still note broader project context briefly.