aidevops 2.72.0 → 2.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -453,16 +453,26 @@ aidevops includes curated skills imported from external repositories. Skills fro
453
453
  | **remotion** | [remotion-dev/skills](https://github.com/remotion-dev/skills) | Programmatic video creation with React, animations, rendering |
454
454
  | **animejs** | [animejs.com](https://animejs.com) | JavaScript animation library patterns and API (via Context7) |
455
455
 
456
- **Skill Commands:**
456
+ **CLI Commands:**
457
457
 
458
458
  ```bash
459
- /add-skill <owner/repo> # Import a skill from GitHub
460
- /add-skill list # List imported skills
461
- /add-skill check-updates # Check for upstream updates
462
- /add-skill <owner/repo> --force # Update an existing skill
459
+ aidevops skill add <owner/repo> # Import a skill from GitHub
460
+ aidevops skill list # List imported skills
461
+ aidevops skill check # Check for upstream updates
462
+ aidevops skill update [name] # Update specific or all skills
463
+ aidevops skill remove <name> # Remove an imported skill
463
464
  ```
464
465
 
465
- Skills are registered in `~/.aidevops/agents/configs/skill-sources.json` and checked for updates during `./setup.sh`.
466
+ Skills are registered in `~/.aidevops/agents/configs/skill-sources.json` with upstream commit tracking for update detection. Telemetry is disabled - no data is sent to third parties.
467
+
468
+ **Browse community skills:** [skills.sh](https://skills.sh) | **Specification:** [agentskills.io](https://agentskills.io)
469
+
470
+ **Reference:**
471
+ - [Agent Skills Specification](https://agentskills.io/specification) - The open format for SKILL.md files
472
+ - [skills.sh Leaderboard](https://skills.sh) - Discover popular community skills
473
+ - [vercel-labs/add-skill](https://github.com/vercel-labs/add-skill) - The upstream CLI tool (aidevops uses its own implementation)
474
+ - [anthropics/skills](https://github.com/anthropics/skills) - Official Anthropic example skills
475
+ - [agentskills/agentskills](https://github.com/agentskills/agentskills) - Specification source and reference library
466
476
 
467
477
  ## **Agent Design Patterns**
468
478
 
@@ -923,30 +933,43 @@ This installs the complete framework: 13 domain agents, 225+ subagents, and 130+
923
933
 
924
934
  ### Importing External Skills
925
935
 
926
- Import skills from any GitHub repository using `/add-skill`:
936
+ Import skills from any GitHub repository using the `aidevops skill` CLI:
927
937
 
928
938
  ```bash
929
939
  # Import from GitHub (auto-detects format)
930
- /add-skill owner/repo
940
+ aidevops skill add owner/repo
931
941
 
932
942
  # Examples
933
- /add-skill anthropics/courses # SKILL.md format
934
- /add-skill PatrickJS/awesome-cursorrules # .cursorrules format
935
- /add-skill someone/agents-repo # AGENTS.md format
943
+ aidevops skill add anthropics/skills/pdf # Specific skill from multi-skill repo
944
+ aidevops skill add vercel-labs/agent-skills # All skills from a repo
945
+ aidevops skill add expo/skills --name expo-dev # Custom name
946
+ aidevops skill add owner/repo --dry-run # Preview without changes
936
947
  ```
937
948
 
938
949
  **Supported formats:**
939
- - `SKILL.md` - Agent Skills standard (preferred)
950
+ - `SKILL.md` - [Agent Skills standard](https://agentskills.io/specification) (preferred)
940
951
  - `AGENTS.md` - Claude Code agents format
941
- - `.cursorrules` - Cursor rules (auto-converted to SKILL.md)
952
+ - `.cursorrules` - Cursor rules (auto-converted)
942
953
 
943
954
  **Features:**
944
- - Conflict detection with existing skills
945
- - Version tracking for updates (`/add-skill --check-updates`)
946
- - Symlinks created for Claude Code, Cursor, Amp, and other tools
955
+ - Auto-detection of skill format and category placement
956
+ - Conflict detection with merge/replace/rename options
957
+ - Upstream commit tracking for update detection (`aidevops skill check`)
958
+ - Conversion to aidevops subagent format with YAML frontmatter
947
959
  - Registry stored in `.agent/configs/skill-sources.json`
960
+ - Telemetry disabled (no data sent to skills.sh or other services)
961
+
962
+ **How it differs from `npx add-skill`:**
963
+
964
+ | | `aidevops skill add` | `npx add-skill` |
965
+ |---|---|---|
966
+ | **Target** | Converts to aidevops format in `.agent/` | Copies SKILL.md to agent-specific dirs |
967
+ | **Tracking** | Git commit-based upstream tracking | Lock file with content hashes |
968
+ | **Telemetry** | Disabled | Sends anonymous install counts |
969
+ | **Scope** | OpenCode-first | 22+ agents |
970
+ | **Updates** | `aidevops skill check` (GitHub API) | `npx skills check` (Vercel API) |
948
971
 
949
- See `.agent/tools/build-agent/add-skill.md` for full documentation.
972
+ See `.agent/scripts/add-skill-helper.sh` for implementation details.
950
973
 
951
974
  ## **AI Agents & Subagents**
952
975
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.72.0
1
+ 2.74.0
package/aidevops.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI DevOps Framework CLI
4
4
  # Usage: aidevops <command> [options]
5
5
  #
6
- # Version: 2.72.0
6
+ # Version: 2.74.0
7
7
 
8
8
  set -euo pipefail
9
9
 
@@ -1631,6 +1631,152 @@ cmd_detect() {
1631
1631
  return 0
1632
1632
  }
1633
1633
 
1634
+ # Skill command - manage agent skills
1635
+ cmd_skill() {
1636
+ local action="${1:-help}"
1637
+ shift || true
1638
+
1639
+ # Disable telemetry for any downstream tools (add-skill, skills CLI)
1640
+ export DISABLE_TELEMETRY=1
1641
+ export DO_NOT_TRACK=1
1642
+ export SKILLS_NO_TELEMETRY=1
1643
+
1644
+ local add_skill_script="$AGENTS_DIR/scripts/add-skill-helper.sh"
1645
+ local update_skill_script="$AGENTS_DIR/scripts/skill-update-helper.sh"
1646
+
1647
+ case "$action" in
1648
+ add|a)
1649
+ if [[ $# -lt 1 ]]; then
1650
+ print_error "Source required (owner/repo or URL)"
1651
+ echo ""
1652
+ echo "Usage: aidevops skill add <source> [options]"
1653
+ echo ""
1654
+ echo "Examples:"
1655
+ echo " aidevops skill add vercel-labs/agent-skills"
1656
+ echo " aidevops skill add anthropics/skills/pdf"
1657
+ echo " aidevops skill add https://github.com/owner/repo"
1658
+ echo ""
1659
+ echo "Options:"
1660
+ echo " --name <name> Override the skill name"
1661
+ echo " --force Overwrite existing skill"
1662
+ echo " --dry-run Preview without making changes"
1663
+ echo ""
1664
+ echo "Browse skills: https://skills.sh"
1665
+ return 1
1666
+ fi
1667
+
1668
+ if [[ ! -f "$add_skill_script" ]]; then
1669
+ print_error "add-skill-helper.sh not found"
1670
+ print_info "Run 'aidevops update' to get the latest scripts"
1671
+ return 1
1672
+ fi
1673
+
1674
+ bash "$add_skill_script" add "$@"
1675
+ ;;
1676
+ list|ls|l)
1677
+ if [[ ! -f "$add_skill_script" ]]; then
1678
+ print_error "add-skill-helper.sh not found"
1679
+ return 1
1680
+ fi
1681
+ bash "$add_skill_script" list
1682
+ ;;
1683
+ check|c)
1684
+ if [[ ! -f "$update_skill_script" ]]; then
1685
+ print_error "skill-update-helper.sh not found"
1686
+ return 1
1687
+ fi
1688
+ bash "$update_skill_script" check "$@"
1689
+ ;;
1690
+ update|u)
1691
+ if [[ ! -f "$update_skill_script" ]]; then
1692
+ print_error "skill-update-helper.sh not found"
1693
+ return 1
1694
+ fi
1695
+ bash "$update_skill_script" update "$@"
1696
+ ;;
1697
+ remove|rm)
1698
+ if [[ $# -lt 1 ]]; then
1699
+ print_error "Skill name required"
1700
+ echo "Usage: aidevops skill remove <name>"
1701
+ return 1
1702
+ fi
1703
+ if [[ ! -f "$add_skill_script" ]]; then
1704
+ print_error "add-skill-helper.sh not found"
1705
+ return 1
1706
+ fi
1707
+ bash "$add_skill_script" remove "$@"
1708
+ ;;
1709
+ status|s)
1710
+ if [[ ! -f "$update_skill_script" ]]; then
1711
+ print_error "skill-update-helper.sh not found"
1712
+ return 1
1713
+ fi
1714
+ bash "$update_skill_script" status "$@"
1715
+ ;;
1716
+ generate|gen|g)
1717
+ local generate_script="$AGENTS_DIR/scripts/generate-skills.sh"
1718
+ if [[ ! -f "$generate_script" ]]; then
1719
+ print_error "generate-skills.sh not found"
1720
+ print_info "Run 'aidevops update' to get the latest scripts"
1721
+ return 1
1722
+ fi
1723
+ print_info "Generating SKILL.md stubs for cross-tool discovery..."
1724
+ bash "$generate_script" "$@"
1725
+ ;;
1726
+ clean)
1727
+ local generate_script="$AGENTS_DIR/scripts/generate-skills.sh"
1728
+ if [[ ! -f "$generate_script" ]]; then
1729
+ print_error "generate-skills.sh not found"
1730
+ return 1
1731
+ fi
1732
+ bash "$generate_script" --clean "$@"
1733
+ ;;
1734
+ help|--help|-h)
1735
+ print_header "Agent Skills Management"
1736
+ echo ""
1737
+ echo "Import and manage reusable AI agent skills from the community."
1738
+ echo "Skills are converted to aidevops format with upstream tracking."
1739
+ echo "Telemetry is disabled - no data sent to third parties."
1740
+ echo ""
1741
+ echo "Usage: aidevops skill <command> [options]"
1742
+ echo ""
1743
+ echo "Commands:"
1744
+ echo " add <source> Import a skill from GitHub (saved as *-skill.md)"
1745
+ echo " list List all imported skills"
1746
+ echo " check Check for upstream updates"
1747
+ echo " update [name] Update specific or all skills"
1748
+ echo " remove <name> Remove an imported skill"
1749
+ echo " status Show detailed skill status"
1750
+ echo " generate Generate SKILL.md stubs for cross-tool discovery"
1751
+ echo " clean Remove generated SKILL.md stubs"
1752
+ echo ""
1753
+ echo "Source formats:"
1754
+ echo " owner/repo GitHub shorthand"
1755
+ echo " owner/repo/path/to/skill Specific skill in multi-skill repo"
1756
+ echo " https://github.com/owner/repo Full URL"
1757
+ echo ""
1758
+ echo "Examples:"
1759
+ echo " aidevops skill add vercel-labs/agent-skills"
1760
+ echo " aidevops skill add anthropics/skills/pdf"
1761
+ echo " aidevops skill add expo/skills --name expo-dev"
1762
+ echo " aidevops skill check"
1763
+ echo " aidevops skill update"
1764
+ echo " aidevops skill generate --dry-run"
1765
+ echo ""
1766
+ echo "Imported skills are saved with a -skill suffix to distinguish"
1767
+ echo "from native aidevops subagents (e.g., playwright-skill.md vs playwright.md)."
1768
+ echo ""
1769
+ echo "Browse community skills: https://skills.sh"
1770
+ echo "Agent Skills specification: https://agentskills.io"
1771
+ ;;
1772
+ *)
1773
+ print_error "Unknown skill command: $action"
1774
+ echo "Run 'aidevops skill help' for usage information."
1775
+ return 1
1776
+ ;;
1777
+ esac
1778
+ }
1779
+
1634
1780
  # Help command
1635
1781
  cmd_help() {
1636
1782
  local version
@@ -1644,6 +1790,7 @@ cmd_help() {
1644
1790
  echo " init [features] Initialize aidevops in current project"
1645
1791
  echo " upgrade-planning Upgrade TODO.md/PLANS.md to latest templates"
1646
1792
  echo " features List available features for init"
1793
+ echo " skill <cmd> Manage agent skills (add/list/check/update/remove)"
1647
1794
  echo " status Check installation status of all components"
1648
1795
  echo " update Update aidevops to the latest version (alias: upgrade)"
1649
1796
  echo " upgrade Alias for update"
@@ -1668,6 +1815,13 @@ cmd_help() {
1668
1815
  echo " aidevops update-tools -u # Update all outdated tools"
1669
1816
  echo " aidevops uninstall # Remove aidevops"
1670
1817
  echo ""
1818
+ echo "Skills:"
1819
+ echo " aidevops skill add <source> # Import a skill from GitHub"
1820
+ echo " aidevops skill list # List imported skills"
1821
+ echo " aidevops skill check # Check for upstream updates"
1822
+ echo " aidevops skill update [name] # Update skills to latest"
1823
+ echo " aidevops skill remove <name> # Remove an imported skill"
1824
+ echo ""
1671
1825
  echo "Installation:"
1672
1826
  echo " npm install -g aidevops && aidevops update # via npm"
1673
1827
  echo " brew install marcusquinn/tap/aidevops && aidevops update # via Homebrew"
@@ -1748,6 +1902,10 @@ main() {
1748
1902
  shift
1749
1903
  cmd_repos "$@"
1750
1904
  ;;
1905
+ skill|skills)
1906
+ shift
1907
+ cmd_skill "$@"
1908
+ ;;
1751
1909
  detect|scan)
1752
1910
  cmd_detect
1753
1911
  ;;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "2.72.0",
3
+ "version": "2.74.0",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/setup.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI Assistant Server Access Framework Setup Script
4
4
  # Helps developers set up the framework for their infrastructure
5
5
  #
6
- # Version: 2.72.0
6
+ # Version: 2.74.0
7
7
  #
8
8
  # Quick Install (one-liner):
9
9
  # bash <(curl -fsSL https://aidevops.dev/install)