AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
fix(project-manager): skill-only installs create projects in the working folder
hugohe3703aa72f290f
diff --git a/skills/ppt-master/scripts/docs/project.md b/skills/ppt-master/scripts/docs/project.mdindex 7f3402c8..6e8ee794 100644--- a/skills/ppt-master/scripts/docs/project.md+++ b/skills/ppt-master/scripts/docs/project.md@@ -35,6 +35,9 @@ Notes:- Local sources under `projects/` are moved into the target project unless`--copy` is passed; a file inside another project's tree is copied unless`--move` is explicit, so borrowing a finished project's slices never empties it.+- Without `--dir`, `init` creates the project under the repository's+ `projects/` when run inside the repository checkout, and under+ `<working folder>/projects/` otherwise (skill-only installations).- `--format` is optional and accepts registered canvas keys only. Pass it onlywhen the actual canvas exactly matches a registered format.- Without `--format`, `init` creates `<name>_<YYYYMMDD>`; a name that alreadydiff --git a/skills/ppt-master/scripts/project_management/cli.py b/skills/ppt-master/scripts/project_management/cli.pyindex 8a269069..9f2ac918 100644--- a/skills/ppt-master/scripts/project_management/cli.py+++ b/skills/ppt-master/scripts/project_management/cli.py@@ -258,13 +258,26 @@ def _has_usable_import(summary: dict[str, list[str]]) -> bool:)+def default_projects_root() -> Path:+ """Return where `init` creates projects when `--dir` is omitted.++ Inside the repository checkout this is the repository's `projects/`, so a+ command run from within `projects/` never nests `projects/projects/`. A+ skill-only installation (npx skills, plugin cache) has no repository, so+ projects go under the caller's working folder instead of the install tree.+ """+ if is_within_path(Path.cwd(), REPO_ROOT):+ return PROJECTS_ROOT+ return Path.cwd() / "projects"++class ProjectManager:"""Create, inspect, validate, and populate project folders."""CANVAS_FORMATS = CANVAS_FORMATSdef __init__(self, base_dir: str | Path | None = None) -> None:- self.base_dir = Path(base_dir) if base_dir is not None else PROJECTS_ROOT+ self.base_dir = Path(base_dir) if base_dir is not None else default_projects_root()def scaffold_artifact(self, project_path: str, artifact: str) -> str:"""Delegate deterministic Markdown scaffold rendering."""