Skip to content

Commit 38c397e

Browse files
authored
Standardize project documentation format across repository (#51)
2 parents af2177d + cb93e9f commit 38c397e

29 files changed

Lines changed: 4032 additions & 373 deletions
Lines changed: 314 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,314 @@
1+
# Project Documentation Template
2+
3+
This template provides a standardized format for all project documentation in the CodeStorm Hub repository. Follow this structure to ensure consistency and completeness across all project files.
4+
5+
---
6+
7+
## Template Structure
8+
9+
```markdown
10+
# [Project Name]
11+
12+
## Overview
13+
14+
[2-3 sentence description of what the project does and its primary purpose. Avoid raw HTML or badge markup here - keep it clean and readable.]
15+
16+
[Optional: A more detailed paragraph explaining the project's value proposition, target users, or unique features.]
17+
18+
## ✨ Key Features
19+
20+
- **[Feature Name 1]:** Brief description of the feature and its benefit
21+
- **[Feature Name 2]:** Brief description of the feature and its benefit
22+
- **[Feature Name 3]:** Brief description of the feature and its benefit
23+
- **[Feature Name 4]:** Brief description of the feature and its benefit
24+
25+
[Include 3-8 key features that highlight what makes this project valuable]
26+
27+
## 🏗️ Technology Stack
28+
29+
### Primary Technologies
30+
- **Framework:** [e.g., Laravel 10, Next.js 15, Django 4.2]
31+
- **Language:** [e.g., PHP 8.2, TypeScript 5.0, Python 3.11]
32+
- **Database:** [e.g., MySQL 8.0, PostgreSQL 15, MongoDB 6.0]
33+
- **Frontend:** [e.g., React 18, Vue 3, Alpine.js]
34+
35+
### Additional Technologies
36+
- [Other significant technologies, libraries, or tools used]
37+
- [Examples: Redis, Docker, AWS services, etc.]
38+
39+
## 📊 Project Information
40+
41+
### Repository Details
42+
- **GitHub:** [repository URL]
43+
- **Primary Language:** [main programming language]
44+
- **Languages Breakdown:** [Language (X.X%), Language (X.X%), etc.]
45+
- **Repository Size:** ~[X]MB
46+
- **Last Updated:** [date]
47+
48+
### Project Status
49+
- **Status:** 🟢 Active / 🟡 Maintenance / 🔴 Archived
50+
- **Visibility:** 🌐 Public / 🔐 Private
51+
- **License:** [e.g., MIT, GPL-3.0, Apache-2.0]
52+
53+
### Statistics (if applicable)
54+
- **Stars:**[count]
55+
- **Forks:** 🍴 [count]
56+
- **Contributors:** 👥 [count]
57+
- **Issues:** 🐛 [open/closed count]
58+
59+
### Live Links (if applicable)
60+
- **Live Demo:** [URL to live demo]
61+
- **Documentation:** [URL to docs site]
62+
- **API Docs:** [URL to API documentation]
63+
64+
## 🏷️ Categories & Tags
65+
66+
**Primary Category:** [Web Development / Mobile Development / AI/ML / DevOps / etc.]
67+
68+
**Tags:** `tag1` `tag2` `tag3` `tag4` `tag5`
69+
70+
[Example tags: `laravel`, `e-commerce`, `api`, `saas`, `full-stack`, `react`, `typescript`, etc.]
71+
72+
## 🚀 Getting Started
73+
74+
### Prerequisites
75+
- [Requirement 1, e.g., Node.js 18+ or PHP 8.2+]
76+
- [Requirement 2, e.g., MySQL 8.0+ or MongoDB 6.0+]
77+
- [Requirement 3, e.g., npm/yarn or Composer]
78+
79+
### Installation
80+
81+
1. **Clone the repository**
82+
```bash
83+
git clone [repository URL]
84+
cd [project-directory]
85+
```
86+
87+
2. **Install dependencies**
88+
```bash
89+
[command to install dependencies, e.g., npm install or composer install]
90+
```
91+
92+
3. **Set up environment variables**
93+
```bash
94+
cp .env.example .env
95+
# Edit .env with your configuration
96+
```
97+
98+
4. **Run migrations/setup** (if applicable)
99+
```bash
100+
[commands for database setup, migrations, etc.]
101+
```
102+
103+
5. **Start development server**
104+
```bash
105+
[command to start the application]
106+
```
107+
108+
### Quick Start
109+
[Brief alternative instructions for quick setup if simpler than full installation]
110+
111+
## 📖 Usage
112+
113+
[Brief overview of how to use the application, key commands, or main workflows]
114+
115+
[Optional: Include common use cases or example scenarios]
116+
117+
## 🏛️ Architecture
118+
119+
**Architecture Pattern:** [e.g., Monolithic, Microservices, REST API, GraphQL API, Serverless]
120+
121+
**Key Architectural Decisions:**
122+
- [Decision 1 and rationale]
123+
- [Decision 2 and rationale]
124+
125+
[Optional: Include a brief architecture diagram description or link to detailed architecture docs]
126+
127+
## 🤝 Contributing
128+
129+
Contributions are welcome! Please follow these steps:
130+
131+
1. Fork the repository
132+
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
133+
3. Commit your changes (`git commit -m 'Add amazing feature'`)
134+
4. Push to the branch (`git push origin feature/amazing-feature`)
135+
5. Open a Pull Request
136+
137+
For detailed contribution guidelines, see [CONTRIBUTING.md](../../CONTRIBUTING.md).
138+
139+
## 📝 Additional Information
140+
141+
### Development Notes
142+
- [Any important notes for developers]
143+
- [Known limitations or issues]
144+
- [Future enhancements planned]
145+
146+
### Related Projects
147+
- [Link to related projects if any]
148+
- [Link to dependencies or sister projects]
149+
150+
### Credits & Attribution
151+
- **Lead Developer(s):** [Name(s)]
152+
- **Contributors:** [Link to contributors page or list key contributors]
153+
- **Acknowledgments:** [Any third-party resources, inspirations, or credits]
154+
155+
---
156+
157+
**For detailed setup instructions and documentation, refer to the [repository README]([repository URL]#readme).**
158+
```
159+
160+
---
161+
162+
## Guidelines for Using This Template
163+
164+
### General Principles
165+
166+
1. **Keep it Clean:** No raw HTML except for standard markdown syntax. Remove all badge images, logos in HTML format, and complex HTML structures.
167+
168+
2. **Be Descriptive:** Write clear, concise descriptions that help readers quickly understand what the project does and why it matters.
169+
170+
3. **Be Consistent:** Use the same section headers, emoji conventions, and formatting across all project files.
171+
172+
4. **Be Complete:** Fill in all applicable sections. If a section doesn't apply to your project, you may omit it, but try to include as much relevant information as possible.
173+
174+
### Section-Specific Guidelines
175+
176+
#### Overview Section
177+
- Start with a clear, plain-text description
178+
- Avoid marketing jargon or overly technical language in the first sentence
179+
- No HTML badges or logos in this section
180+
- 2-4 sentences maximum for the initial overview
181+
182+
#### Key Features Section
183+
- List 3-8 features that best represent the project's value
184+
- Use bullet points with bold feature names
185+
- Keep descriptions brief (one sentence per feature)
186+
- Focus on user-facing or most impactful features
187+
188+
#### Technology Stack Section
189+
- List the most important technologies first
190+
- Include version numbers when relevant
191+
- Organize into primary and secondary/additional technologies
192+
- Be specific (e.g., "Laravel 10" instead of just "Laravel")
193+
194+
#### Categories & Tags Section
195+
- Choose one primary category that best fits the project
196+
- Include 5-10 relevant tags for searchability
197+
- Use lowercase for tags and separate with spaces
198+
- Common tags: `laravel`, `react`, `api`, `saas`, `e-commerce`, `cms`, `dashboard`, `mobile`, `ai-ml`, etc.
199+
200+
#### Getting Started Section
201+
- Provide actual, working commands
202+
- Assume minimal prior knowledge
203+
- Include prerequisite software/tools needed
204+
- Test your instructions to ensure they work
205+
206+
#### Architecture Section
207+
- Briefly describe the high-level architecture pattern
208+
- Mention any significant architectural decisions
209+
- Keep it high-level; detailed architecture belongs in separate docs
210+
211+
### Common Patterns for Different Project Types
212+
213+
#### Laravel Projects
214+
```markdown
215+
## 🏗️ Technology Stack
216+
217+
### Primary Technologies
218+
- **Framework:** Laravel [version]
219+
- **Language:** PHP [version]
220+
- **Database:** MySQL/PostgreSQL
221+
- **Frontend:** Blade Templates / Vue.js / React
222+
223+
### Additional Technologies
224+
- Laravel Sanctum/Passport for API authentication
225+
- Tailwind CSS for styling
226+
- Redis for caching
227+
- [Other packages]
228+
229+
## 🏛️ Architecture
230+
**Architecture Pattern:** Monolithic Application / REST API
231+
```
232+
233+
#### Next.js/React Projects
234+
```markdown
235+
## 🏗️ Technology Stack
236+
237+
### Primary Technologies
238+
- **Framework:** Next.js [version]
239+
- **Language:** TypeScript [version]
240+
- **Database:** [Database name]
241+
- **Styling:** Tailwind CSS / styled-components / CSS Modules
242+
243+
### Additional Technologies
244+
- React [version]
245+
- [State management: Redux, Zustand, etc.]
246+
- [Authentication solution]
247+
- [API integration]
248+
249+
## 🏛️ Architecture
250+
**Architecture Pattern:** JAMstack / SSR / SSG / Hybrid
251+
```
252+
253+
#### Python Projects
254+
```markdown
255+
## 🏗️ Technology Stack
256+
257+
### Primary Technologies
258+
- **Framework:** Django / Flask / FastAPI
259+
- **Language:** Python [version]
260+
- **Database:** PostgreSQL / MySQL / MongoDB
261+
- **ORM:** Django ORM / SQLAlchemy
262+
263+
### Additional Technologies
264+
- [Frontend framework if applicable]
265+
- [Task queue: Celery, etc.]
266+
- [Other Python packages]
267+
268+
## 🏛️ Architecture
269+
**Architecture Pattern:** MVC / REST API / Microservices
270+
```
271+
272+
### What to Remove
273+
274+
**Remove these from Overview sections:**
275+
- HTML `<p>` tags with centered alignment
276+
- HTML `<a>` tags with images (logos)
277+
- HTML `<img>` tags
278+
- Badge images from external services (shields.io, travis-ci, etc.)
279+
- Raw HTML alignment and styling
280+
281+
**Replace with:**
282+
- Clean, plain text descriptions
283+
- Standard markdown syntax
284+
- Descriptive sentences about the project's purpose
285+
286+
### Quality Checklist
287+
288+
Before finalizing a project document, verify:
289+
290+
- [ ] No raw HTML in the Overview section
291+
- [ ] Clear, descriptive project overview (2-3 sentences minimum)
292+
- [ ] At least 3 key features listed
293+
- [ ] Technology stack clearly documented with versions where applicable
294+
- [ ] Project status and visibility indicated
295+
- [ ] GitHub repository link present
296+
- [ ] Categories and tags assigned
297+
- [ ] Getting Started section with actual installation steps
298+
- [ ] Architecture pattern specified
299+
- [ ] Contributing section references main CONTRIBUTING.md
300+
- [ ] Consistent formatting and emoji usage
301+
- [ ] No placeholder text (e.g., "No description")
302+
- [ ] Spell-checked and grammatically correct
303+
304+
---
305+
306+
## Example: Complete Project Documentation
307+
308+
See `sharothee-wedding.md` for a well-documented example that follows most of these principles. Use it as a reference when in doubt.
309+
310+
---
311+
312+
**Template Version:** 1.0
313+
**Last Updated:** October 2025
314+
**Maintained by:** CodeStorm Hub Team

0 commit comments

Comments
 (0)