-
-
Notifications
You must be signed in to change notification settings - Fork 30
docs: fix TODO placeholders in CONTRIBUTING.md with SmartNotes-specific content #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||||||||||
| # Contributing to TODO: Project Name | ||||||||||||
| # Contributing to SmartNotes | ||||||||||||
|
|
||||||||||||
| ⭐ First off, thank you for considering contributing to this project! ⭐ | ||||||||||||
|
|
||||||||||||
|
|
@@ -56,7 +56,10 @@ Feature suggestions are welcome! Please: | |||||||||||
|
|
||||||||||||
| ### Prerequisites | ||||||||||||
|
|
||||||||||||
| TODO: List prerequisites specific to your project | ||||||||||||
| - [Node.js](https://nodejs.org/) v18 or higher | ||||||||||||
| - [npm](https://www.npmjs.com/) v9 or higher (comes with Node.js) | ||||||||||||
| - [Git](https://git-scm.com/) | ||||||||||||
| - A code editor (VS Code recommended) | ||||||||||||
|
|
||||||||||||
| ### Setup | ||||||||||||
|
|
||||||||||||
|
|
@@ -67,13 +70,13 @@ TODO: List prerequisites specific to your project | |||||||||||
|
|
||||||||||||
| 2. **Clone Your Fork** | ||||||||||||
| ```bash | ||||||||||||
| git clone https://github.com/YOUR_USERNAME/TODO.git | ||||||||||||
| cd TODO | ||||||||||||
| git clone https://github.com/YOUR_USERNAME/SmartNotes.git | ||||||||||||
| cd SmartNotes | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| 3. **Add Upstream Remote** | ||||||||||||
| ```bash | ||||||||||||
| git remote add upstream https://github.com/AOSSIE-Org/TODO.git | ||||||||||||
| git remote add upstream https://github.com/AOSSIE-Org/SmartNotes.git | ||||||||||||
|
Comment on lines
77
to
+79
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line before code block. There should be a blank line between the section header and the fenced code block to comply with markdown best practices. 📝 Proposed fix 3. **Add Upstream Remote**
+
```bash
git remote add upstream https://github.com/AOSSIE-Org/SmartNotes.gitAs per coding guidelines, fenced code blocks should be surrounded by blank lines (markdownlint MD031). 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.22.0)[warning] 78-78: Fenced code blocks should be surrounded by blank lines (MD031, blanks-around-fences) 🤖 Prompt for AI Agents |
||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| 4. **Install Dependencies** | ||||||||||||
|
|
@@ -109,12 +112,15 @@ git checkout -b fix/your-bug-fix | |||||||||||
|
|
||||||||||||
| ### 3. Test Your Changes | ||||||||||||
|
|
||||||||||||
| TODO: Add project-specific testing instructions | ||||||||||||
|
|
||||||||||||
| ```bash | ||||||||||||
| npm test | ||||||||||||
| # or | ||||||||||||
| # Run linter | ||||||||||||
| npm run lint | ||||||||||||
|
|
||||||||||||
| # Check formatting | ||||||||||||
| npm run format | ||||||||||||
|
|
||||||||||||
| # Run the app in development mode to test your changes | ||||||||||||
| npm run dev | ||||||||||||
|
Comment on lines
+116
to
+123
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Description: Verify the npm scripts mentioned in the testing instructions exist
# Check for scripts in package.json
if [ -f package.json ]; then
echo "=== Checking for npm scripts ==="
jq '.scripts | {lint, format, dev}' package.json
else
echo "package.json not found"
fiRepository: AOSSIE-Org/SmartNotes Length of output: 87 🏁 Script executed: #!/bin/bash
# Search for package.json files anywhere in the repo
echo "=== Searching for package.json files ==="
fd -t f "package.json" 2>/dev/null || find . -name "package.json" -type f 2>/dev/null
# Check for other package manager files
echo ""
echo "=== Looking for other package manager indicators ==="
fd -t f -e lock.json -e lock.yaml -e lock.yml 2>/dev/null | grep -E "(package-lock|yarn|pnpm)" || echo "No lock files found"
# Check repository root structure
echo ""
echo "=== Repository root files ==="
ls -la | head -20Repository: AOSSIE-Org/SmartNotes Length of output: 1023 🏁 Script executed: #!/bin/bash
# Read CONTRIBUTING.md to see the full context around lines 116-123
echo "=== Full CONTRIBUTING.md content ==="
cat -n CONTRIBUTING.mdRepository: AOSSIE-Org/SmartNotes Length of output: 8638 🏁 Script executed: #!/bin/bash
# Check if package.json is gitignored
echo "=== Checking .gitignore for package.json patterns ==="
grep -n "package.json" .gitignore || echo "package.json not found in .gitignore"
echo ""
echo "=== Checking for any build/dist related patterns ==="
grep -E "(dist|build|node_modules)" .gitignore | head -10Repository: AOSSIE-Org/SmartNotes Length of output: 209 Remove npm instructions from CONTRIBUTING.md or provide the missing The testing instructions on lines 116-123 reference 🤖 Prompt for AI Agents |
||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| ### 4. Commit Your Changes | ||||||||||||
|
|
@@ -204,7 +210,7 @@ Steps to test the changes | |||||||||||
|
|
||||||||||||
| ## 📝 Code Style Guidelines | ||||||||||||
|
|
||||||||||||
| TODO: Add project-specific code style guidelines | ||||||||||||
| SmartNotes uses [Biome](https://biomejs.dev/) for linting and formatting. Run `npm run lint` before committing. | ||||||||||||
|
|
||||||||||||
| ### General Guidelines | ||||||||||||
|
|
||||||||||||
|
|
@@ -255,4 +261,4 @@ TODO: Add project-specific code style guidelines | |||||||||||
| - Check for existing PRs before starting to avoid duplication | ||||||||||||
|
|
||||||||||||
|
|
||||||||||||
| Thank you for contributing to TODO! Your efforts help make this project better for everyone. 🚀 | ||||||||||||
| Thank you for contributing to SmartNotes! Your efforts help make this project better for everyone. 🚀 | ||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: AOSSIE-Org/SmartNotes
Length of output: 87
🏁 Script executed:
Repository: AOSSIE-Org/SmartNotes
Length of output: 47
🏁 Script executed:
Repository: AOSSIE-Org/SmartNotes
Length of output: 1635
🏁 Script executed:
Repository: AOSSIE-Org/SmartNotes
Length of output: 2929
🏁 Script executed:
Repository: AOSSIE-Org/SmartNotes
Length of output: 47
🏁 Script executed:
Repository: AOSSIE-Org/SmartNotes
Length of output: 47
🏁 Script executed:
Repository: AOSSIE-Org/SmartNotes
Length of output: 2608
Remove or update Node.js/npm prerequisites—no package.json or Node.js configuration files exist in the repository.
The CONTRIBUTING.md prerequisites (lines 59-62) specify Node.js v18+ and npm v9+, with setup instructions referencing
npm installandnpm run dev. However, there is nopackage.json,.nvmrc, or any Node.js project configuration files in the repository. The README.md is also a template with incomplete tech stack specifications marked as TODO. Contributors following these instructions would fail immediately. Either update the prerequisites to match the actual tech stack or initialize the project with proper Node.js configuration if that is the intended direction.🤖 Prompt for AI Agents