SkillAtlasSkill 详情

git-basic-helper

A curated library of reusable Codex skills for developers, individuals, and teams.

审核状态:已审核Quality 80Security 100

复制安装命令

用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。

复制前请先查看来源、License 和安全提示。

项目 README

来源文件:README.md

抓取于 2026年9月12日

Codex Skills Library

Codex Skills Library

A curated library of reusable Codex skills for developers, individuals, and teams.

This repository helps you turn OpenAI Codex into a consistent, reliable AI assistant by packaging common workflows into reusable skills instead of repeating prompts.

What is this?

Codex Skills Library is a collection of focused skills for common developer workflows:

  • Code generation and debugging
  • Refactoring and optimization
  • Testing and documentation
  • System design and decision support
  • Engineering operations and reliability

Each skill is small, focused, triggered by natural language, and designed for progressive disclosure.

Repository structure

Skills are organized by domain under skills/. Each skill is a folder with a SKILL.md that includes frontmatter (name, description) and a short workflow.

Skills by domain

Foundation

  • codebase-orientation: Map entry points, key modules, and build/run paths; include local setup commands, env vars, and a safe starter task.
  • git-basic-helper: Provide minimal, safe git commands with clear intent and warnings for destructive actions.
  • debugging-checklist: Give a prioritized checklist from repro to isolation, logging, and hypothesis validation.
  • error-message-explainer: Translate compiler/runtime errors into plain language, likely root causes, and targeted fixes.
  • linter-fix-guide: Explain lint rules, show the expected pattern, and propose the smallest fix.
  • config-file-explainer: Summarize purpose, key sections, defaults, and which settings are safe to change.
  • data-structure-chooser: Recommend a structure based on operations and constraints, with time/space tradeoffs.
  • dependency-install-helper: List required runtimes, install steps by platform, and verification commands.
  • small-script-generator: Generate tiny automation scripts with safe defaults and a usage example.
  • ticket-breakdown: Turn a request into small, testable steps with dependencies and validation checks.
  • log-summarizer: Group errors, identify the first failure, and propose concrete next actions.

Docs

  • readme-polish: Add missing setup details, env vars, and troubleshooting guidance while keeping it concise.
  • function-docstrings: Document purpose, parameters, return values, and error conditions in project style.
  • release-notes-drafter: Group changes by feature/fix/breaking, translate to user impact, and add migration notes.
  • team-onboarding-guide: Provide access/setup steps, key services, and a first-week learning plan.

Testing

  • unit-test-starter: Draft tests around core behavior, edge cases, and failure paths with run instructions.
  • integration-test-planner: Identify integration points, scenarios, data flows, and needed fixtures/mocks.
  • bug-repro-plan: Produce a minimal repro with exact steps, environment details, and expected vs actual.

API

  • buffer-api: Build Buffer GraphQL API integrations for auth, channel discovery, post creation, pagination, errors, and rate limits.
  • api-request-builder: Build curl/fetch requests with auth, headers, and response inspection tips.
  • api-contract-checker: Compare endpoints and payloads, flag breaking changes, and suggest versioning.
  • api-error-taxonomy: Standardize error codes, payload shape, and logging guidance.
  • graphql-query-optimizer: Reduce query depth and N+1 patterns using batching, caching, and pagination.

Frontend

  • accessibility-basic-check: Check contrast, labels, focus order, and keyboard navigation for regressions.
  • css-layout-helper: Diagnose layout intent and provide minimal flex/grid fixes with rationale.
  • cli-ux-improver: Improve CLI defaults, help text, and errors with actionable next steps.

Backend

Data

Infra

Security

Performance

Reliability

Architecture

  • architecture-review: Evaluate assumptions, bottlenecks, and failure modes with tradeoffs.
  • domain-modeling: Identify entities, invariants, and bounded contexts with interfaces.

Planning

Get started

  1. Browse skills/ and open a SKILL.md that matches your task.
  2. Trigger the skill by asking Codex for that workflow.
  3. Improve or extend skills as your team learns what works best.

Step-by-step tutorial: https://proflead.dev/posts/codex-skills-explained-101/

Video tutorial: https://youtu.be/d3Ydt6LyGeY

Contribute

Contributions are welcome. Please open an issue for ideas or send a PR with new skills, improvements, or fixes. If this library is useful, please star the repo and share it with your team.

开发与工程

低风险

  • 来源需自行核对维护者身份。
  • 未检测到明显脚本安装指令。
  • 未检测到明显外部权限要求。
  • 未检测到高风险命令。
  • 扫描发现:0 条。

Codex — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/proflead/codex-skills-library.git
  3. 将 "skills/foundation/git-basic-helper" 文件夹复制到 Codex 的 skills 目录中。
  4. 重启 Codex 让新的 skill 生效。

Codex — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Codex 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Codex 让新的 skill 生效。

Claude Code — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/proflead/codex-skills-library.git
  3. 将 "skills/foundation/git-basic-helper" 文件夹复制到 Claude Code 的 skills 目录中。
  4. 重启 Claude Code 让新的 skill 生效。

Claude Code — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Claude Code 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Claude Code 让新的 skill 生效。

Cursor — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/proflead/codex-skills-library.git
  3. 将 "skills/foundation/git-basic-helper" 文件夹复制到 Cursor 的 skills 目录中。
  4. 重启 Cursor 让新的 skill 生效。

Cursor — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Cursor 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Cursor 让新的 skill 生效。

GitHub Copilot — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/proflead/codex-skills-library.git
  3. 将 "skills/foundation/git-basic-helper" 文件夹复制到 GitHub Copilot 的 skills 目录中。
  4. 重启 GitHub Copilot 让新的 skill 生效。

GitHub Copilot — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 GitHub Copilot 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 GitHub Copilot 让新的 skill 生效。

Windsurf — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/proflead/codex-skills-library.git
  3. 将 "skills/foundation/git-basic-helper" 文件夹复制到 Windsurf 的 skills 目录中。
  4. 重启 Windsurf 让新的 skill 生效。

Windsurf — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Windsurf 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Windsurf 让新的 skill 生效。
查看 SKILL.md 原文
name: git-basic-helper
description: Provide safe git commands for common tasks. Use when a junior developer needs help with branching, commits, or resolving simple conflicts.

Git Basic Helper

Purpose

Provide safe git commands for common tasks.

Inputs to request

  • Goal (branch, commit, sync, or resolve conflict).
  • Current branch and remote name.
  • Any uncommitted changes or stashes.

Workflow

  1. Clarify the goal (new branch, commit, update, or simple rebase).
  2. Provide minimal commands with explanations and safety notes.
  3. Call out any files to inspect before pushing.

Output

  • Exact git command sequence.
  • Warnings for destructive operations.

Quality bar

  • Avoid destructive commands unless explicitly requested.
  • Explain when to pause and inspect state.

发现问题?提交给管理员复核

评分:

评论 (0)

暂无评论,成为第一个评论者吧!