Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计异常

cheat-sheets备忘单

Agent Skill

cheat-sheets 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

371

周安装

15

GitHub Stars

1

下载量

116
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cheat-sheets(备忘单)
来源仓库:https://github.com/fawzymohamed/devops
仓库路径:skills/cheat-sheets
安装命令:
npx skills add https://github.com/fawzymohamed/devops --skill cheat-sheets
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fawzymohamed/devops --skill cheat-sheets

简介

cheat-sheets 专注于 DevOps 领域速查表制作,服务于学习强化与现场查阅。

  • 采用标准化命名与 frontmatter 元数据,便于 LMS 系统集成与导航排序。
  • 内容聚焦关键概念对比、命令示例与文档索引,拒绝冗长解释。
  • 编写时应锚定当前项目上下文,确保路径与命令真实可用。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Cheat Sheet Authoring Skill

Expert knowledge for creating effective, scannable quick reference sheets for the DevOps LMS.

Cheat Sheet Philosophy

Cheat sheets are NOT lesson summaries. They are reference tools designed for:

  • Quick lookup during work
  • Memory reinforcement after learning
  • Print-and-post desk references

File Structure

Location & Naming

  • Path: content/{phase}/{topic}/99.cheat-sheet.md
  • URL: /phase-1-sdlc/sdlc-models/cheat-sheet
  • The 99. prefix ensures it appears last in navigation

Required Frontmatter

---
title: "SDLC Models - Quick Reference"
description: "Key concepts, comparisons, and decision guides for SDLC models"
estimatedMinutes: 5
difficulty: beginner  # Match the topic's average difficulty
learningObjectives:
  - "Quick reference for all SDLC model concepts"
isCheatSheet: true
cheatSheetTopic: "SDLC Models"
---

Required fields:

  • isCheatSheet: true - Triggers cheat sheet layout and PDF export
  • cheatSheetTopic - Human-readable topic name for PDF metadata

Content Structure Templates

Template 1: Concept Comparison (Best for methodology topics)

## Key Terminology

| Term | Definition |
|------|------------|
| Term 1 | Brief, clear definition |
| Term 2 | Brief, clear definition |

## Quick Comparison

| Aspect | Option A | Option B | Option C |
|--------|----------|----------|----------|
| Best For | Use case | Use case | Use case |
| Team Size | Small | Medium | Large |
| Flexibility | High | Medium | Low |

## Decision Guide

**Choose A when:**
- Condition 1
- Condition 2

**Choose B when:**
- Condition 1
- Condition 2

Template 2: Command Reference (Best for tool topics)

## Essential Commands

| Command | Purpose | Example |
|---------|---------|---------|
| `cmd1` | What it does | `cmd1 --flag value` |
| `cmd2` | What it does | `cmd2 arg1 arg2` |

## Common Patterns

### Pattern Name

Step 1: Description

command1

Step 2: Description

command2 --flag


## Troubleshooting

| Error | Cause | Solution |
| --- | --- | --- |
| Error message | Why it happens | How to fix |

Template 3: Process Reference (Best for workflow topics)

## Process Overview

> **Quick Summary:** Brief 1-sentence description of the overall process flow.

## Step-by-Step Quick Reference

### Step 1: Name
- Key action 1
- Key action 2
- **Output**: What this produces

### Step 2: Name
- Key action 1
- Key action 2
- **Output**: What this produces

## Best Practices Checklist

- [ ] Practice 1
- [ ] Practice 2
- [ ] Practice 3

Critical Rules

No Illustrations in Cheat Sheets

IMPORTANT: Cheat sheets must NEVER contain illustrations (MDC components like IllustrationLinearFlow, IllustrationChecklist, IllustrationPyramid, etc.).

Why:

  • Cheat sheets are designed for quick scanning and reference
  • Illustrations add visual complexity that slows down lookup
  • PDF export is optimized for text and tables, not complex SVGs
  • Keep cheat sheets pure text/tables for maximum portability

Instead of illustrations, use:

  • Tables for comparisons and structured data
  • Numbered lists for sequential steps
  • Blockquotes for process summaries
  • Code blocks for command sequences

Interview Quick Hits Required

IMPORTANT: Every cheat sheet MUST include an "Interview Quick Hits" section containing common interview questions and concise answers for the topic.

Placement: Near the end of the cheat sheet, before any "Common Pitfalls" or "Troubleshooting" section.

Format:

## Interview Quick Hits

| Question | Answer |
|----------|--------|
| What is X? | Concise 1-2 sentence answer |
| When would you use Y? | Brief explanation with context |
| What's the difference between A and B? | Key distinctions in simple terms |
| Why is Z important? | Business/technical value in brief |

Guidelines:

  • Include 4-8 questions per cheat sheet
  • Focus on questions commonly asked in technical interviews
  • Keep answers concise (1-3 sentences max)
  • Cover fundamentals, comparisons, and "why" questions
  • Tailor questions to the topic type (concept, tool, or workflow)

Writing Guidelines

Content Density

DoDon't
Tables for comparisonsParagraphs of text
Bullet points for listsLong explanations
Code blocks for commandsInline code for everything
Short, scannable sectionsWall of text

Table Best Practices

<!-- GOOD: Clear headers, aligned columns -->
| Model | Speed | Quality |
|-------|-------|---------|
| A     | Fast  | Medium  |
| B     | Slow  | High    |

<!-- BAD: Too wide, too much text -->
| Model | Description and full explanation of when to use this model |
|-------|-----------------------------------------------------------|

Code Block Formatting

<!-- GOOD: Short, focused examples -->

git checkout -b feature/name

First you need to...

Then you should...

After that...

Visual Hierarchy

  1. H2 (##) for major sections
  2. H3 (###) for subsections
  3. Bold for key terms in lists
  4. Code for commands, paths, values
  5. Tables for structured data

PDF Export Considerations

Page Break Awareness

  • Keep related content together
  • Tables may break across pages - keep them concise
  • Test export with Download PDF button

Print Readability

  • Sufficient contrast (dark text on light)
  • Readable font sizes (no tiny text)
  • Logical reading flow

Content Length

  • Aim for 1-3 printed pages
  • More is NOT better for reference sheets
  • If too long, split by subtopic

Quality Checklist

Before finalizing a cheat sheet:

  • [ ] isCheatSheet: true in frontmatter
  • [ ] cheatSheetTopic matches topic name
  • [ ] No illustrations (no MDC illustration components)
  • [ ] Interview Quick Hits section included (4-8 Q&A pairs)
  • [ ] Scannable in under 30 seconds
  • [ ] Tables used for comparisons
  • [ ] No paragraphs longer than 2 sentences
  • [ ] Code examples are copy-pasteable
  • [ ] PDF export tested and readable
  • [ ] No quiz section (cheat sheets don't have quizzes)
  • [ ] Difficulty set appropriately

Example: Complete Cheat Sheet

---
title: "Git Branching - Quick Reference"
description: "Essential Git branching commands and strategies"
estimatedMinutes: 5
difficulty: beginner
learningObjectives:
  - "Quick reference for Git branching operations"
isCheatSheet: true
cheatSheetTopic: "Git Branching"
---

## Essential Commands

| Command | Purpose |
|---------|---------|
| `git branch` | List branches |
| `git branch name` | Create branch |
| `git checkout name` | Switch branch |
| `git checkout -b name` | Create and switch |
| `git merge name` | Merge branch |
| `git branch -d name` | Delete branch |

## Branching Strategies

| Strategy | Best For | Complexity |
|----------|----------|------------|
| GitHub Flow | Small teams | Low |
| GitFlow | Release cycles | High |
| Trunk-based | CI/CD heavy | Medium |

## Quick Patterns

### Feature Branch

git checkout -b feature/name

... work ...

git push -u origin feature/name


### Hotfix

git checkout -b hotfix/name main

... fix ...

git checkout main && git merge hotfix/name


## Common Mistakes

| Mistake | Solution |
| --- | --- |
| Working on main | Always branch first |
| Forgetting to pull | `git pull` before branch |
| Long-lived branches | Merge frequently |

## Interview Quick Hits

| Question | Answer |
| --- | --- |
| What is a branch in Git? | A lightweight pointer to a commit that allows parallel development without affecting the main codebase |
| What's the difference between `git merge` and `git rebase`? | Merge preserves history with a merge commit; rebase replays commits for a linear history |
| When would you use feature branches? | When developing new features in isolation to avoid breaking the main branch |
| How do you resolve a merge conflict? | Edit the conflicted files to choose the correct changes, then stage and commit |

Components Reference

CheatSheetLayout.vue

  • Renders cheat sheet content with reference-style layout
  • Includes PDF download button
  • No "Mark Complete" button
  • Uses #cheat-sheet-content ID for PDF capture

CheatSheetPdfButton.vue

  • Download button with loading state
  • Error display if PDF generation fails

useCheatSheetPdf.ts

  • downloadCheatSheet(title, slug) - Generate and download PDF
  • isGenerating - Loading state
  • error - Error message if failed

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.58%
按下载量换算44

Claude

29.6%
按下载量换算34

Cursor

20.28%
按下载量换算24

Gemini CLI

8.93%
按下载量换算10

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills