Skip to content

feat(new-project): functional scaffold from Cortex template#36

Merged
NickStr11 merged 1 commit intomainfrom
feat/new-project-scaffold-17347837608301422730
Feb 25, 2026
Merged

feat(new-project): functional scaffold from Cortex template#36
NickStr11 merged 1 commit intomainfrom
feat/new-project-scaffold-17347837608301422730

Conversation

@NickStr11
Copy link
Copy Markdown
Owner

This PR makes the /new-project command functional by introducing a Python-based scaffolding tool.

Key changes:

  1. New Scaffolding Tool: Created tools/scaffold/main.py which handles:
    • Copying the Cortex project structure (hooks, workflows, commands, tools).
    • Excluding .git, .venv, node_modules, __pycache__, and other artifacts.
    • Replacing PROJECT_CONTEXT.md, DEV_CONTEXT.md, and README.md with clean templates.
    • Initializing a new Git repository and making the first commit.
  2. Updated Command: Modified .claude/commands/new-project.md to be an interactive prompt that gathers project details (name, description, stack, path) and invokes the scaffolding tool.
  3. Cleanup: Ensured that the scaffolding tool itself is not copied into the new project and that any transient files (logs, etc.) are ignored.
  4. Verification: Verified the tool by creating a test project and ensuring all requirements are met.
  5. Quality: Followed project rules (type hints, beartype, uv) and verified with pyright and existing tests.

Fixes #32


PR created automatically by Jules for task 17347837608301422730 started by @NickStr11

- Создан инструмент `tools/scaffold/main.py` для инициализации новых проектов.
- Обновлена команда `/new-project` для использования этого инструмента.
- Реализована очистка Cortex-специфичного контента через шаблоны PROJECT_CONTEXT.md, DEV_CONTEXT.md и README.md.
- Настроено исключение артефактов и самого инструмента из целевого проекта.
- Добавлена инициализация Git в новом проекте.

Co-authored-by: NickStr11 <37849063+NickStr11@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@NickStr11 NickStr11 merged commit f65384c into main Feb 25, 2026
1 check passed
@NickStr11 NickStr11 deleted the feat/new-project-scaffold-17347837608301422730 branch March 5, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(new-project): рабочий scaffold из Cortex-шаблона

1 participant