Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

scm供应链管理

Agent Skill

scm 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

692

周安装

28

GitHub Stars

公开资料未说明

下载量

217
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add lorenzogirardi/ai-ecom-demo --skill "scm"

简介

scm 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于供应链管理、物流优化和企业运营分析等场景。
  • 通过 npx skills add lorenzogirardi/ai-ecom-demo --skill "scm" 安装,需确认权限范围。
  • 建议结合原始 README 核验具体用法,注意维护状态和命令执行权限。
  • 使用前请检查是否会触发文件读写或外部服务调用,确保符合安全策略。

SKILL.md

name
scm
description
>-
PROACTIVE
MUST invoke when performing Git operations.
allowed-tools
Read, Write, Edit, Bash, Glob, Grep

ABOUTME: Git workflow skill for ecommerce project

ABOUTME: Covers Conventional Commits, GitHub Flow, and team collaboration

Source Control Management (SCM) Skill

Quick Reference

PrincipleRule
Atomic CommitsOne logical change per commit
Conventional Commitstype(scope): description format
Branch Namingtype/ticket-description format
PR Size< 400 lines of code changes
Never Force PushTo shared branches (main)

Branching Strategy (GitHub Flow)

main ─────●───────●───────●───────●──────
          │       ↑       │       ↑
          ↓       │       ↓       │
feature ──●──●──●─┘ fix ──●──●────┘

Branches:

  • main: Always deployable (protected)
  • feature/*: New features
  • fix/*: Bug fixes
  • chore/*: Maintenance
  • docs/*: Documentation

Conventional Commits

Format

<type>(<scope>): <description>

[optional body]

[optional footer]

Types

TypeDescriptionExample
featNew featurefeat(cart): add quantity selector
fixBug fixfix(auth): correct token refresh logic
docsDocumentationdocs(api): update endpoint docs
styleFormattingstyle(frontend): fix indentation
refactorCode restructurerefactor(orders): extract validation
testTeststest(catalog): add search tests
choreBuild/toolingchore(deps): update dependencies
perfPerformanceperf(redis): optimize cache keys
ciCI configci(actions): add security scan

Scopes (Ecommerce)

ScopeArea
authAuthentication module
catalogProducts, categories
cartShopping cart
ordersOrder processing
checkoutCheckout flow
frontendNext.js app
backendFastify API
infraTerraform/K8s
ciGitHub Actions

Branch Naming

<type>/<ticket>-<description>

Examples:
- feature/ECOM-123-user-wishlist
- fix/ECOM-456-cart-total-calculation
- chore/ECOM-789-update-node-version

Commit Workflow

TDD Commit Pattern

# Red phase
git add tests/
git commit -m "test(auth): add login validation tests"

# Green phase
git add src/
git commit -m "feat(auth): implement login validation"

# Refactor phase
git add src/
git commit -m "refactor(auth): extract validation helpers"

Multi-line Commit (HEREDOC)

git commit -m "$(cat <<'EOF'
feat(cart): add persistent cart storage

- Store cart in Redis with user session
- Expire after 7 days of inactivity
- Merge guest cart on login

Closes #123
EOF
)"

Pull Request Workflow

Before Creating PR

# 1. Ensure branch is up to date
git fetch origin
git rebase origin/main

# 2. Run tests locally
npm run test

# 3. Check linting
npm run lint

# 4. Review changes
git diff origin/main...HEAD
git log origin/main..HEAD --oneline

PR Description Template

## Summary
- Brief description (1-3 bullet points)

## Changes
- Added X feature
- Modified Y component
- Fixed Z bug

## Testing
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Manual testing completed

## Screenshots (if UI changes)
[Before/After]

## Related Issues
Closes #123

PR Size Guidelines

SizeLinesReview Time
XS< 50Minutes
S50-200< 30 min
M200-400< 1 hour
L400-800Hours
XL> 800Split required

Conflict Resolution

Understanding Conflicts

<<<<<<< HEAD (current branch)
const timeout = 5000;
=======
const timeout = 10000;
>>>>>>> feature-branch (incoming)

Resolution Commands

# Keep current branch version
git checkout --ours path/to/file

# Keep incoming version
git checkout --theirs path/to/file

# After manual resolution
git add path/to/file
git rebase --continue

Safety Rules

Never Do

# Never force push to main
git push --force origin main  # DANGEROUS

# Never rebase shared branches
git rebase main  # on shared feature branch

# Never reset pushed commits
git reset --hard HEAD~3  # if already pushed

Safe Alternatives

# Use force-with-lease
git push --force-with-lease

# Merge instead of rebase on shared
git merge origin/main

# Revert instead of reset
git revert <sha>

Common Operations

Undo Operations

# Undo last commit (keep changes)
git reset --soft HEAD~1

# Undo uncommitted changes
git checkout -- path/to/file

# Revert pushed commit
git revert <sha>

Stashing

# Stash changes
git stash save "WIP: feature description"

# List stashes
git stash list

# Apply and drop
git stash pop

Checklist

Before committing:

  • [ ] Changes are atomic (one logical change)
  • [ ] Commit message follows Conventional Commits
  • [ ] Tests pass locally
  • [ ] No debug code or console.logs
  • [ ] No secrets or credentials
  • [ ] Branch is up to date with main

Before creating PR:

  • [ ] Rebased on latest main
  • [ ] All commits have meaningful messages
  • [ ] PR is < 400 lines
  • [ ] Description explains what and why
  • [ ] Related issues linked
  • [ ] CI checks pass

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Gemini CLI

27.11%
按下载量换算59

Antigravity

20.52%
按下载量换算45

Claude Code

18.56%
按下载量换算40

Codex

12.91%
按下载量换算28

windsurf

7.71%
按下载量换算17

trae

3.18%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills