← 返回 Skills 市场
emanxchan

Auto Glossary

作者 EmanxChan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
93
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-glossary
功能描述
Automatically add technical jargon to the user's tech glossary GitHub repository when encountered during coding sessions. Use when technical terms, coding co...
使用说明 (SKILL.md)

Auto-Glossary Skill

This skill automatically manages technical terminology for E-man by adding new terms to his tech glossary when encountered during coding work.

When to Use This Skill

Trigger this skill when:

  1. A technical term appears in code, error messages, or discussions that might be unfamiliar
  2. Explaining a coding concept that hasn't been glossary-ified yet
  3. Encountering jargon during debugging, reviews, or implementation
  4. The user asks "what does X mean?" or shows confusion about terminology

Term Identification

Watch for these categories during coding sessions:

  • Programming concepts (async/await, closure, currying, memoization)
  • TypeScript/JavaScript terms (generics, union types, type guards, inference)
  • Git/GitHub terms (rebase, cherry-pick, stash, squash)
  • Framework terms (hydration, SSR, CSR, middleware, route handlers)
  • Database terms (migration, indexing, normalization, transaction)
  • Architecture terms (monolith, microservices, serverless, edge)
  • Testing terms (mocking, stubbing, TDD, integration test)
  • DevOps terms (CI/CD, containerization, orchestration, deployment)
  • Security terms (authentication, authorization, encryption, hashing)
  • Performance terms (lazy loading, caching, memoization, tree-shaking)

Glossary Entry Format

Every term must follow this exact format:

### Term Name
- **Simple definition**: One sentence explanation in plain English
- **Analogy**: A relatable real-world comparison that makes the concept click
- **When you'll use it**: Practical context for when this matters
- **Related terms**: 2-5 related concepts (comma separated)
- **Example**: A concrete code or scenario example

Format Rules

  1. Simple definition: Must be jargon-free. If you need to explain the definition, it's too complex.
  2. Analogy: Should be from everyday life (cooking, driving, organizing, etc.). The user loves these.
  3. When you'll use it: Be specific about the trigger moment - "When you see X error" or "Before deploying to production"
  4. Related terms: Only include terms that are actually in the glossary or should be added soon
  5. Example: Use real code from the current project when possible, or realistic pseudo-code

Workflow

When a new term is identified:

  1. Check if term exists: Read project/tech-glossary/glossary.md to verify it's not already there
  2. Categorize: Determine which section (Git & Version Control, Development Tools, Web Development, etc.)
  3. Write the entry: Follow the format above strictly
  4. Update count: Increment "Terms covered" at the bottom
  5. Commit and push:
    cd project/tech-glossary
    git add glossary.md
    git commit -m "Add '\x3CTerm>' to glossary: \x3Cone-line description>"
    git push
    

Categories (for organizing entries)

Use these existing sections or create new ones:

  • Git & Version Control
  • Artificial Intelligence
  • Development Tools & Configuration
  • Web Development
  • Programming Concepts
  • Databases
  • Testing
  • DevOps & Deployment
  • Security
  • Performance & Optimization

Examples of Good Entries

Refactor (from existing glossary)

### Refactor
- **Simple definition**: Improving the *internal* structure of code without changing its *external* behavior. It's about making code cleaner, faster, or easier to read
- **Analogy**: Like rewriting a paragraph to be clearer using better words, but the meaning of the paragraph stays exactly the same. Or rearranging your kitchen so it's easier to cook, but you're still making the same meal
- **When you'll use it**: When your code works, but it's getting messy or hard to understand as you add new features
- **Related terms**: Technical Debt, Best Practices, Optimization
- **Example**: You have a long, confusing function that calculates a budget. You refactor it by breaking it into three smaller, clearly-named functions. The math doesn't change, but it's now much easier for a human to read

Type Guard (hypothetical new entry)

### Type Guard
- **Simple definition**: A check that tells TypeScript "I know what type this is" so it can give you better autocomplete and catch errors
- **Analogy**: Like showing your ID at a bar. The bouncer doesn't know you're over 21 just by looking, but once you show ID, they treat you differently. TypeScript doesn't know a variable is a string until you prove it
- **When you'll use it**: When TypeScript complains that "property doesn't exist" on a variable that could be multiple types
- **Related terms**: TypeScript, Type Inference, Union Types
- **Example**: 
  ```typescript
  function process(value: string | number) {
    if (typeof value === "string") {
      // TypeScript now knows this is a string
      return value.toUpperCase();
    }
    // TypeScript knows this is a number
    return value.toFixed(2);
  }

## Reference: Full Glossary Structure

See [references/glossary-format.md](references/glossary-format.md) for the complete format guide and examples.

## Don't Overdo It

- **Skip obvious terms**: Don't add "Variable" or "Function" - these are too basic
- **Skip one-off mentions**: If a term comes up once and never again, maybe skip it
- **Prioritize recurring confusion**: If the user asks about something twice, definitely add it
- **Batch related terms**: If 3 related terms come up, add them all at once in one commit

## After Adding a Term

Let the user know: "Added 'X' to your tech glossary with an analogy. You can check it anytime at github.com/EmanxChan/tech-glossary"
安全使用建议
This skill will read and modify files in your project (project/tech-glossary/glossary.md), create commits, and push them to the configured remote. Before installing or enabling it: 1) Confirm you are comfortable with an agent making automatic commits and pushes (consider preferring a PR workflow or requiring manual approval). 2) Ensure your repository is backed up or the glossary file is under review control (you can inspect commits with git log). 3) Verify how your environment handles git authentication (SSH keys, credential helpers, or tokens) since the skill does not request credentials explicitly. 4) If you want to limit scope, request the author add a dry-run mode, an explicit confirmation step before committing, or a setting to open PRs instead of pushing directly. 5) If you are uncertain, test in a throwaway repository or branch first. These steps will reduce the risk of unintended edits or accidental exposure of repository content.
功能分析
Type: OpenClaw Skill Name: auto-glossary Version: 1.0.0 The auto-glossary skill is designed to help a user maintain a technical glossary by automatically identifying jargon and updating a GitHub repository. It uses standard git commands (add, commit, push) within a specific project directory (project/tech-glossary) and follows a structured markdown template defined in SKILL.md and references/glossary-format.md. No malicious intent, data exfiltration, or unauthorized execution patterns were found.
能力评估
Purpose & Capability
The skill's name/description (auto-add terms to the user's tech-glossary repo) aligns with the runtime instructions (read glossary.md, write new entries, git add/commit/push). However, it assumes the environment already has git/remote authentication configured (SSH key or credential helper) but does not declare or request any credentials or configuration guidance for pushing to GitHub. That's plausible but under-specified.
Instruction Scope
The SKILL.md explicitly instructs reading and editing project/tech-glossary/glossary.md and committing changes — which is in-scope. But it also says to 'use real code from the current project when possible' and to 'watch for unfamiliar terminology during coding sessions', both of which are vague and could lead the agent to scan arbitrary project files, error logs, or conversation context. The commit/push step is automatic in the workflow described; there is no built-in manual approval step or PR-based workflow described.
Install Mechanism
Instruction-only skill with no install spec and no code files. This is low-risk from an install/execution standpoint because nothing is downloaded or written at install time.
Credentials
No environment variables, tokens, or external endpoints are requested — the skill does not demand unrelated secrets. That said, its push behavior requires network/git authentication; the skill does not declare whether it will rely on SSH keys, stored credentials, or ask the user for a token. Expect the agent to use whatever git credentials/config are available in the environment.
Persistence & Privilege
The skill is not marked always:true and does not request system-wide configuration changes. It writes and commits to files within the project workspace (expected for its function). It does not attempt to modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-glossary
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-glossary 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the auto-glossary skill. - Automatically detects and adds unfamiliar technical jargon, coding concepts, or developer terms to E-man's tech glossary on GitHub during coding sessions. - Uses an analogy-based explanation format for glossary entries to improve understanding. - Categorizes each new term, follows strict format rules, and updates the term count. - Notifies the user when a new term is added to the glossary.
元数据
Slug auto-glossary
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Auto Glossary 是什么?

Automatically add technical jargon to the user's tech glossary GitHub repository when encountered during coding sessions. Use when technical terms, coding co... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。

如何安装 Auto Glossary?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-glossary」即可一键安装,无需额外配置。

Auto Glossary 是免费的吗?

是的,Auto Glossary 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Auto Glossary 支持哪些平台?

Auto Glossary 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Auto Glossary?

由 EmanxChan(@emanxchan)开发并维护,当前版本 v1.0.0。

💬 留言讨论