devhive 0.1.26__tar.gz → 0.1.27__tar.gz
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.
- {devhive-0.1.26 → devhive-0.1.27}/MANIFEST.in +1 -0
- {devhive-0.1.26/devhive.egg-info → devhive-0.1.27}/PKG-INFO +1 -1
- devhive-0.1.27/agents/devhive.md +25 -0
- {devhive-0.1.26 → devhive-0.1.27/devhive.egg-info}/PKG-INFO +1 -1
- {devhive-0.1.26 → devhive-0.1.27}/devhive.egg-info/SOURCES.txt +1 -0
- {devhive-0.1.26 → devhive-0.1.27}/devhive_cli/main.py +18 -1
- {devhive-0.1.26 → devhive-0.1.27}/setup.py +1 -1
- {devhive-0.1.26 → devhive-0.1.27}/LICENSE +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/README.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/architecture-patterns/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/architecture-patterns/resources/implementation-playbook.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/backend-arthitect/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/backend-security-coder/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/docker-expert/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/frontend-design/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/frontend-developer/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/theme-showcase.pdf +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/arctic-frost.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/botanical-garden.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/desert-rose.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/forest-canopy.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/golden-hour.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/midnight-galaxy.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/modern-minimalist.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/ocean-depths.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/sunset-boulevard.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/tech-innovation.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/devhive.egg-info/dependency_links.txt +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/devhive.egg-info/entry_points.txt +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/devhive.egg-info/requires.txt +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/devhive.egg-info/top_level.txt +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/devhive_cli/__init__.py +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/devhive_cli/templates_backend.py +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/setup.cfg +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_architect/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_auditor/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_backender/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_dba/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_designer/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_devops/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_explorer/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_frontender/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_orchestrator/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_perf/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_proposal/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_qa/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_releaser/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_sast/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_taskplanner/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_techwriter/SKILL.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/skills/devhive_workflow.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/templates/AGENTS.backend.md +0 -0
- {devhive-0.1.26 → devhive-0.1.27}/templates/AGENTS.frontend.md +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devhive
|
|
3
|
+
description: Autonomous Software Development Agent using Skill-Driven Development (SDD).
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DevHive Agent
|
|
7
|
+
|
|
8
|
+
You are DevHive, an elite autonomous software engineer and system orchestrator.
|
|
9
|
+
You manage the entire software development lifecycle using Skill-Driven Development (SDD), a pipeline that generates and follows local Markdown specifications in the `.devhive/specs/` directory.
|
|
10
|
+
|
|
11
|
+
## Core Directive: Immediate Delegation
|
|
12
|
+
You are NOT a general conversational assistant. Your primary function is to execute the SDD pipeline.
|
|
13
|
+
Whenever invoked, your FIRST action MUST be to use the `skill` tool to load the `devhive-orchestrator` skill.
|
|
14
|
+
|
|
15
|
+
## Operating Protocol
|
|
16
|
+
|
|
17
|
+
1. **Initialization**: Upon receiving a user request, immediately load `devhive-orchestrator`.
|
|
18
|
+
2. **Context Gathering**:
|
|
19
|
+
- Check if the user explicitly requested "continuous mode" in their prompt.
|
|
20
|
+
- Proactively use your tools (like `bash` or `read`) to check if the flag file `.devhive/continuous` exists in the workspace.
|
|
21
|
+
- If continuous mode is enabled via either method, ensure the orchestrator knows to run the pipeline autonomously without pausing for user approval between phases.
|
|
22
|
+
3. **Execution**: Follow the exact step-by-step instructions injected by the `devhive-orchestrator` skill. Rely on the local file system (`.devhive/specs/`) as your source of truth and state management.
|
|
23
|
+
4. **Tone & Behavior**: Be extremely concise. Avoid conversational filler (e.g., "Sure, I can help with that!"). Output minimal text to the user, focusing entirely on executing tool calls and advancing the pipeline.
|
|
24
|
+
|
|
25
|
+
Remember: Your success depends entirely on loading `devhive-orchestrator` and strictly following its phase-by-phase guidelines.
|
|
@@ -11,7 +11,9 @@ ROOT_DIR = CLI_DIR.parent
|
|
|
11
11
|
LOCAL_SKILLS_DIR = ROOT_DIR / "skills"
|
|
12
12
|
COMMUNITY_SKILLS_DIR = ROOT_DIR / "community_skills"
|
|
13
13
|
TEMPLATES_DIR = ROOT_DIR / "templates"
|
|
14
|
+
LOCAL_AGENTS_DIR = ROOT_DIR / "agents"
|
|
14
15
|
TARGET_DIR = Path.home() / ".config" / "opencode" / "skills"
|
|
16
|
+
TARGET_AGENTS_DIR = Path.home() / ".config" / "opencode" / "agents"
|
|
15
17
|
|
|
16
18
|
@click.group()
|
|
17
19
|
def cli():
|
|
@@ -47,11 +49,24 @@ def sync_local_skills(clean=False):
|
|
|
47
49
|
shutil.copytree(skill_path, target_skill_path)
|
|
48
50
|
click.secho(f"Updated: {skill_path.name}", fg="blue")
|
|
49
51
|
|
|
52
|
+
def sync_local_agents():
|
|
53
|
+
if not TARGET_AGENTS_DIR.exists():
|
|
54
|
+
TARGET_AGENTS_DIR.mkdir(parents=True, exist_ok=True)
|
|
55
|
+
|
|
56
|
+
if not LOCAL_AGENTS_DIR.exists():
|
|
57
|
+
click.secho(f"Warning: Source directory {LOCAL_AGENTS_DIR} not found.", fg="yellow")
|
|
58
|
+
return
|
|
59
|
+
|
|
60
|
+
click.secho(f"\nSyncing agents from {LOCAL_AGENTS_DIR.name}...", fg="cyan", bold=True)
|
|
61
|
+
for agent_file in LOCAL_AGENTS_DIR.glob("*.md"):
|
|
62
|
+
target_file = TARGET_AGENTS_DIR / agent_file.name
|
|
63
|
+
shutil.copy2(agent_file, target_file)
|
|
64
|
+
click.secho(f"Installed agent: {agent_file.name}", fg="green")
|
|
65
|
+
|
|
50
66
|
def install_remote_skills():
|
|
51
67
|
click.secho("\nInstalling official remote skills via npx...", fg="cyan", bold=True)
|
|
52
68
|
commands = [
|
|
53
69
|
["npx", "--yes", "skills", "add", "https://github.com/shadcn/ui", "--skill", "shadcn", "-y", "--global"],
|
|
54
|
-
["npx", "--yes", "skills", "add", "https://github.com/supercent-io/skills-template", "--skill", "responsive-design", "-y", "--global"]
|
|
55
70
|
]
|
|
56
71
|
|
|
57
72
|
for cmd in commands:
|
|
@@ -66,6 +81,7 @@ def install():
|
|
|
66
81
|
"""Install all devhive and community skills."""
|
|
67
82
|
click.secho("Starting DevHive Skills Installation...", fg="green", bold=True)
|
|
68
83
|
sync_local_skills(clean=False)
|
|
84
|
+
sync_local_agents()
|
|
69
85
|
install_remote_skills()
|
|
70
86
|
click.secho("\nInstallation Complete! 🎉", fg="green", bold=True)
|
|
71
87
|
|
|
@@ -74,6 +90,7 @@ def update_skill():
|
|
|
74
90
|
"""Update all skills (cleans existing ones and reinstalls)."""
|
|
75
91
|
click.secho("Updating DevHive Skills...", fg="blue", bold=True)
|
|
76
92
|
sync_local_skills(clean=True)
|
|
93
|
+
sync_local_agents()
|
|
77
94
|
install_remote_skills()
|
|
78
95
|
click.secho("\nUpdate Complete! 🚀", fg="green", bold=True)
|
|
79
96
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{devhive-0.1.26 → devhive-0.1.27}/community_skills/theme-factory/themes/modern-minimalist.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|