peterfei/ai-agent-team / .claude/skills/softcopyright
softcopyright
Flagged智能软件著作权申请材料生成工具。自动分析项目源码,生成符合软著申请要求的软件说明书和源代码文档。支持关键词搜索、智能源码分析、格式化输出和PDF导出。
install.sh
View on GitHub#!/bin/bash
# SoftCopyright 安装脚本
# Author: peterfei
echo "🚀 SoftCopyright - 软件著作权申请材料生成工具"
echo "================================================"
# 检查 Node.js 是否已安装
if ! command -v node &> /dev/null; then
echo "❌ 错误: 未检测到 Node.js,请先安装 Node.js >= 14.0.0"
echo " 访问 https://nodejs.org/ 下载安装"
exit 1
fi
# 检查 Node.js 版本
NODE_VERSION=$(node -v | cut -d'v' -f2)
REQUIRED_VERSION="14.0.0"
if ! node -e "process.exit(require('semver').gte('$NODE_VERSION', '$REQUIRED_VERSION') ? 0 : 1)" 2>/dev/null; then
echo "❌ 错误: Node.js 版本过低,当前版本: $NODE_VERSION,要求版本: >= $REQUIRED_VERSION"
echo " 请升级 Node.js 版本"
exit 1
fi
echo "✅ Node.js 版本检查通过: $NODE_VERSION"
# 检查是否在正确的目录
if [ ! -f "package.json" ]; then
echo "❌ 错误: 请在 softcopyright 项目目录中运行此脚本"
exit 1
fi
echo "📦 安装依赖包..."
# 安装依赖
npm install
if [ $? -eq 0 ]; then
echo "✅ 依赖安装完成"
echo ""
echo "🎉 SoftCopyright 安装成功!"
echo ""
echo "📖 使用方法:"
echo " 交互式向导: node scripts/index.js interactive"
echo " 扫描项目: node scripts/index.js scan <项目路径>"
echo " 生成材料: node scripts/index.js generate --help"
echo ""
echo "📚 更多信息请查看 README.md"
else
echo "❌ 依赖安装失败,请检查网络连接或 npm 配置"
exit 1
fiRelated skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |