Token导航 LogoToken导航TokenDH.com
运维和基础设施敏感数据github未标认证来源可访问clear审计异常

global-standards全球标准

Agent Skill

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

总安装

636

周安装

26

GitHub Stars

4

下载量

206
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/89jobrien/steve --skill global-standards

简介

global-standards 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合围绕仓库状态、代码变更或协作事项进行整理。

  • 适用于运维和基础设施场景,可在 Codex、Claude、Cursor、Gemini CLI 中调用。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和联网需求。
  • 建议在使用前检查维护状态,避免触发不必要的文件读写或命令执行操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Project Standards

This skill provides comprehensive guidance on project-wide coding standards, conventions, and best practices that apply across the entire codebase regardless of language or framework.

When to Use This Skill

Use this skill when:

  • Writing code - Ensuring consistency with project standards
  • Making architectural decisions - Following established patterns
  • Onboarding - Understanding project conventions
  • Code review - Checking adherence to standards
  • Refactoring - Maintaining consistency during changes
  • Setting up new features - Following project conventions

Core Standards Areas

1. Coding Style

When to apply:

  • Naming variables, functions, classes, modules, or files
  • Structuring code for readability and maintainability
  • Deciding on function size and single responsibility
  • Removing unused code, commented-out blocks, or dead imports
  • Extracting reusable logic to avoid duplication
  • Applying consistent formatting and indentation
  • Refactoring code for clarity and simplicity

Principles:

  • Clear, descriptive names that reveal intent
  • DRY (Don't Repeat Yourself) principle
  • Single Responsibility Principle
  • Self-documenting code through structure
  • Consistent formatting across the codebase

Applies to: All code files (*.py,*.js, *.ts,*.jsx, *.tsx,*.vue, *.rb,*.go, *.java,*.rs, *.cpp,*.c, *.swift,*.kt)

2. Commenting Standards

When to apply:

  • Deciding whether code needs a comment
  • Documenting complex algorithms or non-obvious business logic
  • Writing docstrings or function documentation
  • Reviewing existing comments for relevance
  • Removing outdated or misleading comments
  • Explaining non-obvious code decisions or workarounds

Principles:

  • Minimal, helpful comments
  • Explain why, not what
  • Keep code self-documenting through clear naming
  • Comments should explain complex logic or business rules
  • Avoid comments that restate what code does
  • Keep comments evergreen and relevant

Applies to: All code files across the entire codebase

3. Error Handling

When to apply:

  • Wrapping code in try-catch or try-except blocks
  • Creating custom exception or error classes
  • Implementing error boundaries (React, etc.)
  • Handling HTTP errors from API calls
  • Displaying user-friendly error messages
  • Implementing retry logic with exponential backoff
  • Cleaning up resources in finally blocks
  • Deciding where to catch versus propagate errors
  • Logging errors with appropriate severity levels
  • Implementing circuit breakers for external services
  • Handling validation errors with structured responses

Principles:

  • User-friendly error messages
  • Proper exception types and hierarchies
  • Graceful degradation
  • Comprehensive logging with context
  • Resource cleanup in finally blocks
  • Appropriate error propagation
  • Retry logic for transient failures

Applies to: All code that may throw errors (API handlers, service functions, data processing, file operations, external integrations, network requests, database operations)

4. Input Validation

When to apply:

  • Validating form inputs on the frontend
  • Validating API request bodies, query parameters, and headers
  • Implementing server-side validation logic
  • Creating validation schemas (Zod, Yup, Pydantic, Joi)
  • Sanitizing user input to prevent XSS, SQL injection
  • Validating data types, formats, ranges, and required fields
  • Implementing business rule validation
  • Displaying validation error messages
  • Writing custom validators for domain-specific rules
  • Handling file upload validation

Principles:

  • Validate on both client and server sides
  • Use validation libraries for consistency
  • Sanitize input to prevent security vulnerabilities
  • Provide clear, actionable error messages
  • Validate at system boundaries
  • Use allowlists over blocklists

Applies to: Form components, API handlers, request validators, input sanitizers, schema definitions, validation middleware, file uploads, webhooks, external API integrations

5. Tech Stack Consistency

When to apply:

  • Choosing libraries or packages for new functionality
  • Implementing features using framework-specific patterns
  • Setting up new services, integrations, or third-party APIs
  • Configuring database connections, ORM settings, or query builders
  • Adding authentication, authorization, or security features
  • Setting up testing frameworks, tools, or test utilities
  • Configuring deployment, CI/CD pipelines, or infrastructure
  • Evaluating whether to add a new dependency
  • Implementing caching, monitoring, logging, or observability
  • Choosing between alternative approaches

Principles:

  • Consistency with existing technology choices
  • Follow framework-specific patterns and idioms
  • Prefer existing tools over adding new dependencies
  • Document technology decisions
  • Maintain architectural consistency

Applies to: Frontend, backend, database, infrastructure, testing, deployment, third-party integrations

6. Project Conventions

When to apply:

  • Organizing files and directory structure
  • Writing git commit messages or PR descriptions
  • Managing environment variables, configuration, and secrets
  • Adding or updating project dependencies
  • Setting up or modifying CI/CD workflows
  • Implementing feature flags
  • Updating README files or project documentation
  • Establishing code review processes
  • Maintaining changelogs or release notes
  • Configuring linters, formatters, or pre-commit hooks
  • Setting up development environments
  • Managing monorepo or multi-package structures

Principles:

  • Consistent file and directory organization
  • Conventional commit messages
  • Clear documentation
  • Proper dependency management
  • Automated quality checks
  • Clear development workflows

Applies to: Configuration files (.env, package.json, requirements.txt, pyproject.toml, Dockerfile, docker-compose.yml, Makefile), directories (.github/,.gitlab-ci/, scripts/, docs/), documentation files (README.md, CHANGELOG.md, CONTRIBUTING.md)

Reference Files

For detailed standards documentation, load reference files as needed:

  • references/coding-style.md - Detailed coding style guidelines, naming conventions, formatting standards
  • references/commenting.md - Commenting best practices, docstring standards, when to comment
  • references/error-handling.md - Error handling patterns, exception hierarchies, logging strategies
  • references/validation.md - Validation patterns, schema definitions, security considerations
  • references/tech-stack.md - Technology stack reference, framework patterns, dependency guidelines
  • references/conventions.md - Project conventions, file structure, git workflows, CI/CD standards

When working on specific areas, load the appropriate reference file for detailed guidance.

Best Practices

Consistency First

  • Follow existing patterns in the codebase
  • When in doubt, match the style of surrounding code
  • Maintain consistency across all files

Progressive Enhancement

  • Start with simple, clear code
  • Add complexity only when necessary
  • Refactor for clarity and maintainability

Documentation

  • Keep documentation up to date
  • Document decisions and trade-offs
  • Include examples in documentation

Quality Gates

  • Use linters and formatters
  • Run tests before committing
  • Review code for standards adherence

Integration with Other Skills

  • code-review: Use when reviewing code for standards adherence
  • dead-code-removal: Follow coding style when cleaning up code
  • debugging: Apply error handling standards when analyzing errors
  • dependency-management: Follow tech stack standards when managing dependencies

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

30.01%
按下载量换算62

Gemini CLI

22.81%
按下载量换算47

Antigravity

16.68%
按下载量换算34

Codex

14.42%
按下载量换算30

OpenCode

8.34%
按下载量换算17

windsurf

3.71%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills