gaoguobin/codex-eide-rebuild / skills/eide-rebuild
eide-rebuild
VerifiedEIDE rebuild and compile Agent Skill for Embedded IDE for VS Code workspaces. Runs a Python unify_builder runner and returns compact or full JSON build results.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.3 KB |
| agents/openai.yaml | config | 921 B |
| scripts/eide_rebuild.py | script | 147 B |
| scripts/eide_rebuild/__init__.py | script | 7.8 KB |
| scripts/eide_rebuild/builder_params.py | script | 12.8 KB |
| scripts/eide_rebuild/eide_model.py | script | 1.0 KB |
| scripts/eide_rebuild/executor.py | script | 17.5 KB |
| scripts/eide_rebuild/platform.py | script | 536 B |
| scripts/eide_rebuild/project.py | script | 1.5 KB |
| scripts/eide_rebuild/result_model.py | script | 9.2 KB |
| scripts/eide_rebuild/tools.py | script | 19.2 KB |
scripts/eide_rebuild/project.py
View on GitHubfrom __future__ import annotations
from dataclasses import dataclass
from pathlib import Path
@dataclass
class ProjectInput:
project_root: Path
workspace_path: str
eide_yml_path: Path
def resolve_project_input(input_path: str) -> ProjectInput:
path_obj = Path(input_path).expanduser().resolve()
if not path_obj.exists():
raise FileNotFoundError(input_path)
if path_obj.is_file() and path_obj.suffix.lower() == ".code-workspace":
project_root = path_obj.parent
eide_yml = project_root / ".eide" / "eide.yml"
if not eide_yml.exists():
raise FileNotFoundError(str(eide_yml))
return ProjectInput(
project_root=project_root,
workspace_path=str(path_obj).replace("\\", "/"),
eide_yml_path=eide_yml,
)
if path_obj.is_dir():
workspace_files = sorted(path_obj.glob("*.code-workspace"))
if len(workspace_files) > 1:
raise RuntimeError(f"Expected one workspace file in {path_obj}")
eide_yml = path_obj / ".eide" / "eide.yml"
if eide_yml.exists():
workspace_path = str(workspace_files[0].resolve()).replace("\\", "/") if workspace_files else ""
return ProjectInput(
project_root=path_obj,
workspace_path=workspace_path,
eide_yml_path=eide_yml,
)
if len(workspace_files) == 1:
raise FileNotFoundError(str(eide_yml))
raise FileNotFoundError(input_path)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |