This repo is currently being developed - as new projects that are being worked on are completed, any lessons, tools, etc learned will make their way to this repo. This repo uses other related public repos to create some of these files and comments. Where other people's work has been referenced, recognition of the author is stated where applicable.
Current repo's that have been reviewed and referenced -
Marc Christenfeldt - marcbln - https://github.com/marcbln?tab=repositories
This repo is being developed to become a comprehensive development workspace optimized for AI-assisted programming with integrated quality tools, testing frameworks, and automation.
- Python 3.11+ with advanced typing and modern practices
- C/C++ with C11/C++17 standards and strict quality checks
- Java 11+ with Maven/Gradle integration
- C# .NET 6+ with modern async patterns
- Comprehensive Linting: Ruff, ESLint, Checkstyle, clang-tidy
- Type Safety: MyPy, TypeScript, nullable reference types
- Security Scanning: Bandit, SonarQube, Trivy
- Code Coverage: pytest-cov, JaCoCo, coverlet
- Static Analysis: SonarQube integration with cognitive complexity limits
- GitHub Copilot integration with workspace-specific instructions
- Pre-configured prompts and context for AI tools
- Template-based project generation
- Quality-first approach to AI-generated code
- Automated code review patterns
- VS Code workspace with comprehensive language support
- Automated setup scripts for new projects
- Pre-commit hooks for quality enforcement
- GitHub Actions CI/CD with multi-platform testing
- Docker support for consistent environments
# Use this template to create a new repository
gh repo create my-ai-project --template yourusername/ai-development-workspace
cd my-ai-project
# Or clone directly
git clone https://github.com/yourusername/ai-development-workspace.git
cd ai-development-workspacecode AI-Development-Workspace.code-workspace# Python environment
python -m venv .venv
.venv\Scripts\Activate.ps1 # Windows
source .venv/bin/activate # Linux/macOS
pip install -r requirements.txt
# Install pre-commit hooks
pre-commit install
# Verify setup
python scripts/setup_project.py --list-templates# Create a new Python AI project
python scripts/setup_project.py my-ai-app python
cd my-ai-app
code .ai-development-workspace/
βββ πΌ .vscode/ # VS Code configuration
β βββ settings.json # Multi-language settings
β βββ tasks.json # Build and test tasks
β βββ extensions.json # Recommended extensions
βββ π .github/ # GitHub configuration
β βββ workflows/ci.yml # CI/CD pipeline
β βββ ISSUE_TEMPLATE/ # Issue templates
β βββ pull_request_template.md # PR template
β βββ copilot-instructions.md # AI instructions
βββ π¦ templates/ # Project templates
β βββ python/ # Python project template
β βββ c-cpp/ # C/C++ project template
β βββ java/ # Java project template
β βββ csharp/ # C# project template
βββ π οΈ scripts/ # Utility scripts
β βββ setup_project.py # Project generator
βββ π pyproject.toml # Python quality config
βββ π sonar-project.properties # SonarQube config
βββ βοΈ .pre-commit-config.yaml # Pre-commit hooks
βββ π¦ requirements.txt # Python dependencies
βββ π README.md # This file
| Language | π Template | βοΈ Build System | π Testing | π Linting | π Security |
|---|---|---|---|---|---|
| Python | β | pip/poetry | pytest | ruff, mypy | bandit |
| C/C++ | β | Make/CMake | Google Test | clang-tidy | cppcheck |
| Java | β | Maven/Gradle | JUnit 5 | Checkstyle | SpotBugs |
| C# | β | .NET CLI | xUnit | .NET analyzers | Security analyzers |
- Workspace-specific instructions in
.github/copilot-instructions.md - Context-aware suggestions for each language
- Quality-first prompting patterns
- Template-aware code generation
# Example: AI-generated code with quality enforcement
def process_data(data: List[Dict[str, Any]]) -> ProcessedData:
"""Process input data with comprehensive error handling.
Args:
data: List of data dictionaries to process
Returns:
ProcessedData: Validated and transformed data
Raises:
ValidationError: If data format is invalid
"""
if not data:
raise ValueError("Input data cannot be empty")
try:
return ProcessedData.from_dict_list(data)
except Exception as e:
logger.error(f"Data processing failed: {e}")
raise ProcessingError(f"Failed to process data: {e}") from e- Cognitive Complexity: β€15 per function
- Type Coverage: 100% for new code
- Documentation: All public APIs
- Test Coverage: β₯80%
- Security: Zero high/critical issues
# List available templates
python scripts/setup_project.py --list-templates
# Create Python AI project
python scripts/setup_project.py my-ml-app python
# Create C++ systems project
python scripts/setup_project.py my-sys-app c-cpp
# Create Java web service
python scripts/setup_project.py my-api-app java
# Create C# desktop app
python scripts/setup_project.py my-gui-app csharp# Python projects
ruff check .
ruff format .
mypy .
pytest --cov
# C/C++ projects
make analyze
make test
# Java projects
mvn checkstyle:check
mvn test
# C# projects
dotnet format --verify-no-changes
dotnet test# Python security
bandit -r .
safety check
# Multi-language
pre-commit run --all-files
trivy fs .The workspace includes comprehensive settings for:
- Multi-language formatting (Ruff, Prettier, clang-format)
- Linting integration (real-time error detection)
- Type checking (MyPy, TypeScript, C# nullable)
- Debugging configuration (Python, C++, Java, C#)
- AI assistance (Copilot, IntelliSense)
Automated workflows include:
- Multi-platform testing (Ubuntu, Windows, macOS)
- Language-specific builds (triggered by file changes)
- Security scanning (Trivy, Bandit, SonarQube)
- Quality gates (coverage, complexity, security)
- Automated deployment (configurable)
# sonar-project.properties (auto-configured)
sonar.projectKey=my-ai-project
sonar.sources=.
sonar.exclusions=**/*test*/**,**/node_modules/**
sonar.python.version=3.11
sonar.cfamily.compile-commands=compile_commands.json- Development Guide - Detailed development workflow
- Language Guides - Language-specific best practices
- AI Integration - AI tool setup and usage
- AI Coding Prompts - Structured AI development prompts (includes marcbln's proven patterns)
- Quality Standards - Code quality requirements
- Security Guidelines - Security best practices
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Follow quality standards (pre-commit hooks will help)
- Add tests for new functionality
- Update documentation as needed
- Submit a pull request
See CONTRIBUTING.md for detailed guidelines.
Python Environment Issues
# Reset Python environment
rm -rf .venv
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txtPre-commit Hook Failures
# Fix formatting issues automatically
ruff format .
pre-commit run --all-filesSonarQube Java Issues
# Ensure Java 11+ is installed
java -version
# Set JAVA_HOME if needed
export JAVA_HOME=/path/to/javaSee CHANGELOG.md for version history and updates.
This project is licensed under the MIT License - see the LICENSE file for details.
- π Bug Reports: GitHub Issues
- π« Feature Requests: GitHub Discussions
- π¬ Community: Discord Server
- π§ Email: support@yourproject.com
β¨ Built with β€οΈ for AI-assisted development
Getting Started β’ Documentation β’ Support