Skip to content

feat: add project create command with E2E integration tests#27

Merged
ckrough merged 1 commit intomainfrom
sharp-archimedes
Jan 9, 2026
Merged

feat: add project create command with E2E integration tests#27
ckrough merged 1 commit intomainfrom
sharp-archimedes

Conversation

@ckrough
Copy link
Owner

@ckrough ckrough commented Jan 9, 2026

Summary

  • Add agentspaces project create command for initializing new projects with templates
  • Add comprehensive E2E integration tests (23 tests) with proper isolation
  • Remove deprecated docs scaffold command
  • Update documentation with task description standards for Beads

Changes

New Features

  • Project initialization command: agentspaces project create [-n name] [-d description] [--python]
    • Creates skeleton: CLAUDE.md, README.md, docs/, .claude/
    • Optional Python language pack: pyproject.toml, ruff, mypy, pytest, pre-commit, GitHub Actions
    • Runs git init if needed, shows preview with confirmation

Testing

  • 23 new integration tests in tests/integration/cli/test_project_create.py
  • Test categories: basic creation, Python naming, error handling, content validation, git integration, edge cases
  • pytest integration marker for selective runs: pytest -m integration or pytest -m "not integration"
  • Isolated fixtures: temp directories, git config isolation

Removed

  • docs scaffold command (replaced by project create)
  • TODO.md template (Beads replaces task tracking)
  • deployment.md template (not needed for MVP)

Documentation

  • Added task description standards to CLAUDE.md for Beads issues
  • Updated README with project initialization examples

Test plan

  • All 286 tests pass (263 unit + 23 integration)
  • Integration tests properly isolated (run twice with same results)
  • Marker filtering works correctly
  • ruff and mypy pass
  • Manual CLI test confirms command works end-to-end

Add `agentspaces project create` command for initializing new projects:
- Creates project skeleton (CLAUDE.md, README.md, docs/, .claude/)
- Optional Python language pack with --python flag (pyproject.toml, ruff, mypy, pytest, pre-commit, GitHub Actions)
- Runs git init if not already a git repo
- Shows preview and asks for confirmation

Also adds comprehensive E2E integration tests:
- 23 tests across 6 categories (basic, python naming, errors, content, git, edge cases)
- pytest integration marker for selective test runs
- Isolated test fixtures with temp directories and git config isolation

Other changes:
- Remove docs scaffold command (replaced by project create)
- Remove TODO.md and deployment templates (Beads replaces planning)
- Add task description standards to CLAUDE.md for Beads issues
- Update documentation with new command usage
@ckrough ckrough merged commit c34ff1d into main Jan 9, 2026
5 checks passed
@ckrough ckrough deleted the sharp-archimedes branch January 9, 2026 15:18
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.

1 participant