用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fabioc-aloha/Alex_Plug_In --skill project-deployment命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Create and maintain ASCII visual dashboards for project tracking with parallel lane progress bars
Store and manage voice samples for TTS cloning — portable, version-controlled audio references
Clear documentation through visual excellence
正在显示 SKILL.md
基于 SOC 职业分类
| name | project-deployment |
| description | Universal deployment patterns for any project type. |
| tier | standard |
| applyTo | **/*release*,**/*deploy*,**/*publish*,**/package.json,**/pyproject.toml,**/*.csproj,**/Cargo.toml |
Universal deployment patterns for any project type.
Inheritance: inheritable — Available to all heirs
Generic deployment knowledge that helps with releasing, publishing, and deploying any type of project. Works across package managers, languages, and platforms.
Need to deploy?
├─ Is it a package/library?
│ ├─ npm → npm publish
│ ├─ PyPI → twine upload
│ ├─ NuGet → dotnet nuget push
│ └─ Cargo → cargo publish
├─ Is it a web app?
│ ├─ Static → Deploy to CDN/hosting
│ ├─ Server → Container or VM deployment
│ └─ Serverless → Function deployment
└─ Is it a desktop app?
├─ Installer → Build & sign installer
└─ App store → Platform-specific process
Always complete before deploying:
# Check what will be published
npm pack --dry-run
# Publish to npm
npm publish
# Publish scoped package publicly
npm publish --access public
# Publish beta/prerelease
npm publish --tag beta
# Build distribution
python -m build
# Check package
twine check dist/*
# Upload to PyPI
twine upload dist/*
# Upload to TestPyPI first
twine upload --repository testpypi dist/*
# Pack
dotnet pack -c Release
# Push to NuGet
dotnet nuget push *.nupkg --api-key YOUR_API_KEY --source https://api.nuget.org/v3/index.json
# Dry run
cargo publish --dry-run
# Publish to crates.io
cargo publish
MAJOR.MINOR.PATCH
MAJOR = Breaking changes (1.0.0 → 2.0.0)
MINOR = New features, backward compatible (1.0.0 → 1.1.0)
PATCH = Bug fixes, backward compatible (1.0.0 → 1.0.1)
1.0.0-alpha.1 # Early testing
1.0.0-beta.1 # Feature complete, testing
1.0.0-rc.1 # Release candidate
# npm
npm version patch # 1.0.0 → 1.0.1
npm version minor # 1.0.0 → 1.1.0
npm version major # 1.0.0 → 2.0.0
# Python (in pyproject.toml or setup.py)
# Manual edit or use bump2version
# .NET (in .csproj)
# <Version>1.0.0</Version>
# Changelog
## [Unreleased]
## [1.1.0] - 2026-02-01
### Added
- New feature X
### Changed
- Improved performance of Y
### Fixed
- Bug in Z
### Deprecated
- Old API method (use new method instead)
### Removed
- Legacy support for A
### Security
- Fixed vulnerability in B
| Category | When to Use |
|---|---|
| Added | New features |
| Changed | Changes in existing functionality |
| Deprecated | Features that will be removed |
| Removed | Features that were removed |
| Fixed | Bug fixes |
| Security | Security-related fixes |
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: npm ci && npm run build
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
trigger:
tags:
include:
- v*
pool:
vmImage: 'ubuntu-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '20.x'
- script: npm ci && npm run build
- script: npm publish
env:
NODE_AUTH_TOKEN: $(NPM_TOKEN)
# Unpublish within 72 hours
npm unpublish package@version
# Deprecate (preferred over unpublish)
npm deprecate package@version "Security issue, use version X"
# Cannot delete, but can yank
# Go to PyPI web interface → Manage → Yank
| Error | Likely Cause | Solution |
|---|---|---|
| 401 Unauthorized | Token expired | Generate new token |
| 403 Forbidden | Wrong permissions | Check token scopes |
| 404 Not Found | Wrong registry URL | Verify registry config |
| Issue | Solution |
|---|---|
| "Package already exists" | Bump version number |
| "Invalid package name" | Check naming conventions |
| "Missing files" | Check .npmignore or equivalent |
| "Build failed" | Run build locally first |
When deploying a specific project type, ask Alex to help identify:
Alex will adapt this general knowledge to your specific project context.