{"id":25085546,"url":"https://github.com/alexeykarnachev/py-codecompanion-workspace","last_synced_at":"2026-04-27T23:32:23.592Z","repository":{"id":275824569,"uuid":"927300020","full_name":"alexeykarnachev/py-codecompanion-workspace","owner":"alexeykarnachev","description":"CLI tool for managing CodeCompanion workspaces","archived":false,"fork":false,"pushed_at":"2025-02-07T20:04:35.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T13:23:25.256Z","etag":null,"topics":["cli","code-companion","developer-tools","project-scaffolding","pydantic","pytho","typer","workspace-management","yaml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexeykarnachev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-04T18:23:36.000Z","updated_at":"2025-02-07T20:04:38.000Z","dependencies_parsed_at":"2025-02-04T19:40:20.640Z","dependency_job_id":"9490881a-b7c6-45a0-b8ac-a42d2d1a2f6a","html_url":"https://github.com/alexeykarnachev/py-codecompanion-workspace","commit_stats":null,"previous_names":["alexeykarnachev/py-codecompanion-workspace"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexeykarnachev/py-codecompanion-workspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexeykarnachev%2Fpy-codecompanion-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexeykarnachev%2Fpy-codecompanion-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexeykarnachev%2Fpy-codecompanion-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexeykarnachev%2Fpy-codecompanion-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexeykarnachev","download_url":"https://codeload.github.com/alexeykarnachev/py-codecompanion-workspace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexeykarnachev%2Fpy-codecompanion-workspace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","code-companion","developer-tools","project-scaffolding","pydantic","pytho","typer","workspace-management","yaml"],"created_at":"2025-02-07T08:20:17.113Z","updated_at":"2026-04-27T23:32:23.575Z","avatar_url":"https://github.com/alexeykarnachev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cc-workspace\n\nA CLI tool to generate workspace files for [CodeCompanion.nvim](https://github.com/olimorris/codecompanion.nvim) ✨\n\n## Quick Start\n\n### Global Installation\n```bash\nuv pip install --system git+https://github.com/alexeykarnachev/py-codecompanion-workspace\n```\n\n### Initialize in Existing Project\n```bash\ncd my-project\nccw init .\n```\n\n### Create New Python Project\n```bash\nccw init my-new-project\n```\n\n## What You Get\n\nFor any project:\n- `.cc/codecompanion.yaml` - Workspace configuration\n- `.cc/data/` - Internal cc files (e.g `CONVENTIONS.md`)\n- `codecompanion-workspace.json` - Compiled configuration\n\nFor new Python projects:\n- Basic Python project structure:\n  - Package directory with `__init__.py` and `main.py`\n  - Tests directory with initial test\n  - Scripts directory with quality checks\n- Configuration files:\n  - `pyproject.toml` with modern tools setup\n  - Type hints and quality checks configuration\n  - Version management\n- Documentation:\n  - README.md with quick start guide\n  - CHANGELOG.md following Keep a Changelog format\n  - .gitignore with comprehensive Python patterns\n- Git repository:\n  - Initialized with initial commit\n  - Using your Git configuration\n\n## Usage\n\n### Basic Commands\n\n```bash\n# Initialize in current directory\nccw init .\n\n# Create new project\nccw init my-project\n\n# Force initialize in existing directory\nccw init my-project --force\n\n# Use specific template\nccw init my-project --template default\n\n# Update configuration after changes\nccw compile-config .cc/codecompanion.yaml\n```\n\n### Getting Help\n\n```bash\nccw --help\nccw init --help\nccw compile-config --help\n```\n\n## Configuration\n\nThe workspace configuration is stored in `.cc/codecompanion.yaml`. Here's an example:\n\n```yaml\nname: \"my-project\"\ndescription: \"Project description\"\nsystem_prompt: \"Custom system prompt for LLM interactions\"\nignore:\n  enabled: true\n  patterns:\n    default: [\"*.lock\", \".env\"]\n  additional: [\"custom.ignore\"]\n  categories: [\"default\"]\ngroups:\n  - name: \"Core\"\n    description: \"Core project files\"\n    files:\n      - path: \"{package_name}/**/*.py\"\n        description: \"Source files\"\n        kind: \"pattern\"\n      - path: \"tests/**/*.py\"\n        description: \"Test files\"\n        kind: \"pattern\"\n```\n\nKey features:\n- Pattern-based file discovery with `**/*` glob support\n- Customizable ignore patterns\n- File grouping for better organization\n- Custom system prompts per group\n\nAfter modifying the config:\n1. Run `ccw compile-config .cc/codecompanion.yaml`\n2. Use the generated `codecompanion-workspace.json` in Neovim\n\n## License\n\n[MIT](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexeykarnachev%2Fpy-codecompanion-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexeykarnachev%2Fpy-codecompanion-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexeykarnachev%2Fpy-codecompanion-workspace/lists"}