Files
news-benchmark/milestone/m1-setup-git-project-prompt.md
Daniel Samson db902a64df feat: add M1 setup git project milestone with scoring rubric
- Add m1-setup-git-project-prompt.md with structured documentation
- Add m1-setup-git-project-scoring.md with acceptance criteria scoring table
- Update README.md with milestones section
2026-10-29 15:39:51 +00:00

88 lines
3.4 KiB
Markdown

# M1: Setup Git Project Prompt
## Prompt
Create a new git repository for a news web application called **newzy**. Follow these steps:
1. Initialize a new Git repository in the `newzy` project directory
2. Configure `.gitignore` with appropriate exclusions for web applications (node modules, logs, env files, etc.)
3. Set up initial branch structure:
- `main`: Production-ready, stable releases
- `develop`: Integration branch for feature development
4. Create the following initial file structure:
- `docs/` - Project documentation
5. Add `README.md` with project overview and setup instructions
6. Add `CONTRIBUTING.md` with contribution guidelines
7. Add `LICENSE` with MIT license text
8. Commit all initial files with a descriptive commit message following conventional commits format
9. Create the `develop` branch from `main`
10. Push both branches to remote repository
Remember: This is just project setup. Do NOT implement any news web application functionality yet.
## Description
This milestone sets up the foundational git infrastructure for **newzy**, a news web application. The scope is limited to repository initialization and project scaffolding—no actual news functionality will be implemented at this stage.
**Purpose**: Create a professional, maintainable git repository structure that enables smooth team collaboration from day one.
**Target Audience**: New contributors, team members, and future developers joining the project.
**Expected Outcomes**: A fully initialized git repository with proper branching strategy, documentation, and standard files ready for development work.
## Acceptance Criteria
- [ ] Git repository is initialized with proper configuration
- [ ] Standard branch strategy is documented (e.g., main, develop, feature/*)
- [ ] File structure and naming conventions are clearly defined
- [ ] LICENSE file with MIT license is included
- [ ] .gitignore file includes relevant exclusions for the project type
- [ ] Initial README.md explains how to get started
- [ ] Sample commit messages demonstrate best practices
- [ ] Documentation covers branching, merging, and rebase workflows
## Technical Details
### Project Structure
```
project-root/
├── docs/
│ └── ... # Documentation for the project
├── LICENSE # MIT License
├── README.md
└── CONTRIBUTING.md
```
### Branch Strategy
- `main`: Production-ready code, stable releases
- `develop`: Integration branch for feature development
- `feature/*`: New features and enhancements
- `bugfix/*`: Bug fixes from develop
- `hotfix/*`: Critical fixes from main
### License
MIT License - See LICENSE file in project root
### Git Configuration Requirements
- Email and name configured on all contributors
- Pre-push hooks for code quality checks
- Merge conflict resolution strategy documented
## QA Notes
### Testing Checklist
- [ ] Verify git history is clean and properly formatted
- [ ] Confirm .gitignore excludes all necessary files
- [ ] Test branch creation and switching workflow
- [ ] Validate merge and rebase instructions work correctly
- [ ] Check README examples are accurate
- [ ] Ensure documentation is language-appropriate
### Known Issues / Limitations
- Any known limitations in the prompt that should be addressed in future iterations
### Success Metrics
- Time to onboard new contributor (hours)
- Number of merge conflicts after training
- Contribution quality scores