Skill: ckchzh/performance-review (version 2.0.0)

--- version: "2.0.0" name: Performance Review description: "绩效评估和述职报告生成器。自评、主管评语、KPI总结、晋升述职、SMART目标设定、360反馈撰写。. Use when you need performance review capabilities. Triggers on: performance review." 绩效评估助手。自评、上级评语、OKR复盘、KPI分析、改进计划、SMART目标设定、360反馈撰写。Performance review assistant with self-assessment, manager feedback, OKR review, SMART goals, 360 feedback writing. 绩效考核、年终评估、360评估。Use when writing performance reviews. author: BytesAgain homepage: https://bytesagain.com source: https://github.com/bytesagain/ai-skills --- # performance-review 绩效评估和述职报告生成器。自评、主管评语、KPI总结、晋升述职、SMART目标设定、360反馈撰写。 ## Usage Run the script at `scripts/review.sh` with the following commands: | Command | Description | |---------|-------------| | `review.sh self "岗位" "成果1,成果2,成果3"` | 生成自评报告 | | `review.sh manager "员工表现描述"` | 生成主管评语 | | `review.sh kpi "目标1:完成度,目标2:完成度"` | KPI报告 | | `review.sh promotion "岗位" "年限" "成果"` | 晋升述职报告 | | `review.sh goal "目标1,目标2"` | SMART目标设定/OKR转化 | | `review.sh feedback "对象" "情况"` | 360反馈撰写 | | `review.sh help` | 显示帮助信息 | ## Examples ```bash # 自评报告 bash scripts/review.sh self "产品经理" "上线3个新功能,用户增长20%,客户满意度提升" # 主管评语 bash scripts/review.sh manager "该员工工作积极主动，完成了多个重要项目" # KPI报告 bash scripts/review.sh kpi "销售额目标100万:完成120万,新客户50个:完成45个" # 晋升述职 bash scripts/review.sh promotion "高级工程师" "3年" "主导微服务架构改造" # SMART目标设定 bash scripts/review.sh goal "提升用户留存率,优化推荐算法,带新人" # 360反馈 bash scripts/review.sh feedback "同事" "项目合作中沟通积极,但deadline意识需加强" ``` ## Requirements - Python 3.6+ - No external dependencies --- 💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

path: scripts/script.sh
content: #!/usr/bin/env bash
# performance-review - Multi-purpose utility tool
set -euo pipefail
VERSION="2.0.0"
DATA_DIR="${PERFORMANCE_REVIEW_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/performance-review}"
DB="$DATA_DIR/data.log"
mkdir -p "$DATA_DIR"

show_help() {
    cat << EOF
performance-review v$VERSION

Multi-purpose utility tool

Usage: performance-review <command> [args]

Commands:
  run                  Execute main function
  config               Configuration
  status               Show status
  init                 Initialize
  list                 List items
  add                  Add entry
  remove               Remove entry
  search               Search
  export               Export data
  info                 Show info
  help                 Show this help
  version              Show version

Data: \$DATA_DIR
EOF
}

_log() { echo "$(date '+%m-%d %H:%M') $1: $2" >> "$DATA_DIR/history.log"; }

cmd_run() {
    echo "  Running: $1"
    _log "run" "${1:-}"
}

cmd_config() {
    echo "  Config: $DATA_DIR/config.json"
    _log "config" "${1:-}"
}

cmd_status() {
    echo "  Status: ready"
    _log "status" "${1:-}"
}

cmd_init() {
    echo "  Initialized in $DATA_DIR"
    _log "init" "${1:-}"
}

cmd_list() {
    [ -f "$DB" ] && cat "$DB" || echo "  (empty)"
    _log "list" "${1:-}"
}

cmd_add() {
    echo "$(date +%Y-%m-%d) $*" >> "$DB"; echo "  Added: $*"
    _log "add" "${1:-}"
}

cmd_remove() {
    echo "  Removed: $1"
    _log "remove" "${1:-}"
}

cmd_search() {
    grep -i "$1" "$DB" 2>/dev/null || echo "  Not found: $1"
    _log "search" "${1:-}"
}

cmd_export() {
    [ -f "$DB" ] && cat "$DB" || echo "No data"
    _log "export" "${1:-}"
}

cmd_info() {
    echo "  Version: $VERSION | Data: $DATA_DIR"
    _log "info" "${1:-}"
}

case "${1:-help}" in
    run) shift; cmd_run "$@" ;;
    config) shift; cmd_config "$@" ;;
    status) shift; cmd_status "$@" ;;
    init) shift; cmd_init "$@" ;;
    list) shift; cmd_list "$@" ;;
    add) shift; cmd_add "$@" ;;
    remove) shift; cmd_remove "$@" ;;
    search) shift; cmd_search "$@" ;;
    export) shift; cmd_export "$@" ;;
    info) shift; cmd_info "$@" ;;
    help|-h) show_help ;;
    version|-v) echo "performance-review v$VERSION" ;;
    *) echo "Unknown: $1"; show_help; exit 1 ;;
esac


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)