@patricio0312rev/skillset 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/LICENSE +21 -0
- package/README.md +176 -0
- package/bin/cli.js +37 -0
- package/package.json +55 -0
- package/src/commands/init.js +301 -0
- package/src/index.js +168 -0
- package/src/lib/config.js +200 -0
- package/src/lib/generator.js +166 -0
- package/src/utils/display.js +95 -0
- package/src/utils/readme.js +196 -0
- package/src/utils/tool-specific.js +233 -0
- package/templates/ai-engineering/agent-orchestration-planner/ SKILL.md +266 -0
- package/templates/ai-engineering/cost-latency-optimizer/ SKILL.md +270 -0
- package/templates/ai-engineering/doc-to-vector-dataset-generator/ SKILL.md +239 -0
- package/templates/ai-engineering/evaluation-harness/ SKILL.md +219 -0
- package/templates/ai-engineering/guardrails-safety-filter-builder/ SKILL.md +226 -0
- package/templates/ai-engineering/llm-debugger/ SKILL.md +283 -0
- package/templates/ai-engineering/prompt-regression-tester/ SKILL.md +216 -0
- package/templates/ai-engineering/prompt-template-builder/ SKILL.md +393 -0
- package/templates/ai-engineering/rag-pipeline-builder/ SKILL.md +244 -0
- package/templates/ai-engineering/tool-function-schema-designer/ SKILL.md +219 -0
- package/templates/architecture/adr-writer/ SKILL.md +250 -0
- package/templates/architecture/api-versioning-deprecation-planner/ SKILL.md +331 -0
- package/templates/architecture/domain-model-boundaries-mapper/ SKILL.md +300 -0
- package/templates/architecture/migration-planner/ SKILL.md +376 -0
- package/templates/architecture/performance-budget-setter/ SKILL.md +318 -0
- package/templates/architecture/reliability-strategy-builder/ SKILL.md +286 -0
- package/templates/architecture/rfc-generator/ SKILL.md +362 -0
- package/templates/architecture/scalability-playbook/ SKILL.md +279 -0
- package/templates/architecture/system-design-generator/ SKILL.md +339 -0
- package/templates/architecture/tech-debt-prioritizer/ SKILL.md +329 -0
- package/templates/backend/api-contract-normalizer/ SKILL.md +487 -0
- package/templates/backend/api-endpoint-generator/ SKILL.md +415 -0
- package/templates/backend/auth-module-builder/ SKILL.md +99 -0
- package/templates/backend/background-jobs-designer/ SKILL.md +166 -0
- package/templates/backend/caching-strategist/ SKILL.md +190 -0
- package/templates/backend/error-handling-standardizer/ SKILL.md +174 -0
- package/templates/backend/rate-limiting-abuse-protection/ SKILL.md +147 -0
- package/templates/backend/rbac-permissions-builder/ SKILL.md +158 -0
- package/templates/backend/service-layer-extractor/ SKILL.md +269 -0
- package/templates/backend/webhook-receiver-hardener/ SKILL.md +211 -0
- package/templates/ci-cd/artifact-sbom-publisher/ SKILL.md +236 -0
- package/templates/ci-cd/caching-strategy-optimizer/ SKILL.md +195 -0
- package/templates/ci-cd/deployment-checklist-generator/ SKILL.md +381 -0
- package/templates/ci-cd/github-actions-pipeline-creator/ SKILL.md +348 -0
- package/templates/ci-cd/monorepo-ci-optimizer/ SKILL.md +298 -0
- package/templates/ci-cd/preview-environments-builder/ SKILL.md +187 -0
- package/templates/ci-cd/quality-gates-enforcer/ SKILL.md +342 -0
- package/templates/ci-cd/release-automation-builder/ SKILL.md +281 -0
- package/templates/ci-cd/rollback-workflow-builder/ SKILL.md +372 -0
- package/templates/ci-cd/secrets-env-manager/ SKILL.md +242 -0
- package/templates/db-management/backup-restore-runbook-generator/ SKILL.md +505 -0
- package/templates/db-management/data-integrity-auditor/ SKILL.md +505 -0
- package/templates/db-management/data-retention-archiving-planner/ SKILL.md +430 -0
- package/templates/db-management/data-seeding-fixtures-builder/ SKILL.md +375 -0
- package/templates/db-management/db-performance-watchlist/ SKILL.md +425 -0
- package/templates/db-management/etl-sync-job-builder/ SKILL.md +457 -0
- package/templates/db-management/multi-tenant-safety-checker/ SKILL.md +398 -0
- package/templates/db-management/prisma-migration-assistant/ SKILL.md +379 -0
- package/templates/db-management/schema-consistency-checker/ SKILL.md +440 -0
- package/templates/db-management/sql-query-optimizer/ SKILL.md +324 -0
- package/templates/foundation/changelog-writer/ SKILL.md +431 -0
- package/templates/foundation/code-formatter-installer/ SKILL.md +320 -0
- package/templates/foundation/codebase-summarizer/ SKILL.md +360 -0
- package/templates/foundation/dependency-doctor/ SKILL.md +163 -0
- package/templates/foundation/dev-environment-bootstrapper/ SKILL.md +259 -0
- package/templates/foundation/dev-onboarding-builder/ SKILL.md +556 -0
- package/templates/foundation/docs-starter-kit/ SKILL.md +574 -0
- package/templates/foundation/explaining-code/SKILL.md +13 -0
- package/templates/foundation/git-hygiene-enforcer/ SKILL.md +455 -0
- package/templates/foundation/project-scaffolder/ SKILL.md +65 -0
- package/templates/foundation/project-scaffolder/references/templates.md +126 -0
- package/templates/foundation/repo-structure-linter/ SKILL.md +0 -0
- package/templates/foundation/repo-structure-linter/references/conventions.md +98 -0
- package/templates/frontend/animation-micro-interaction-pack/ SKILL.md +41 -0
- package/templates/frontend/component-scaffold-generator/ SKILL.md +562 -0
- package/templates/frontend/design-to-component-translator/ SKILL.md +547 -0
- package/templates/frontend/form-wizard-builder/ SKILL.md +553 -0
- package/templates/frontend/frontend-refactor-planner/ SKILL.md +37 -0
- package/templates/frontend/i18n-frontend-implementer/ SKILL.md +44 -0
- package/templates/frontend/modal-drawer-system/ SKILL.md +377 -0
- package/templates/frontend/page-layout-builder/ SKILL.md +630 -0
- package/templates/frontend/state-ux-flow-builder/ SKILL.md +23 -0
- package/templates/frontend/table-builder/ SKILL.md +350 -0
- package/templates/performance/alerting-dashboard-builder/ SKILL.md +162 -0
- package/templates/performance/backend-latency-profiler-helper/ SKILL.md +108 -0
- package/templates/performance/caching-cdn-strategy-planner/ SKILL.md +150 -0
- package/templates/performance/capacity-planning-helper/ SKILL.md +242 -0
- package/templates/performance/core-web-vitals-tuner/ SKILL.md +126 -0
- package/templates/performance/incident-runbook-generator/ SKILL.md +162 -0
- package/templates/performance/load-test-scenario-builder/ SKILL.md +256 -0
- package/templates/performance/observability-setup/ SKILL.md +232 -0
- package/templates/performance/postmortem-writer/ SKILL.md +203 -0
- package/templates/performance/structured-logging-standardizer/ SKILL.md +122 -0
- package/templates/security/auth-security-reviewer/ SKILL.md +428 -0
- package/templates/security/dependency-vulnerability-triage/ SKILL.md +495 -0
- package/templates/security/input-validation-sanitization-auditor/ SKILL.md +76 -0
- package/templates/security/pii-redaction-logging-policy-builder/ SKILL.md +65 -0
- package/templates/security/rbac-policy-tester/ SKILL.md +80 -0
- package/templates/security/secrets-scanner/ SKILL.md +462 -0
- package/templates/security/secure-headers-csp-builder/ SKILL.md +404 -0
- package/templates/security/security-incident-playbook-generator/ SKILL.md +76 -0
- package/templates/security/security-pr-checklist-skill/ SKILL.md +62 -0
- package/templates/security/threat-model-generator/ SKILL.md +394 -0
- package/templates/testing/contract-testing-builder/ SKILL.md +492 -0
- package/templates/testing/coverage-strategist/ SKILL.md +436 -0
- package/templates/testing/e2e-test-builder/ SKILL.md +382 -0
- package/templates/testing/flaky-test-detective/ SKILL.md +416 -0
- package/templates/testing/integration-test-builder/ SKILL.md +525 -0
- package/templates/testing/mocking-assistant/ SKILL.md +383 -0
- package/templates/testing/snapshot-test-refactorer/ SKILL.md +375 -0
- package/templates/testing/test-data-factory-builder/ SKILL.md +449 -0
- package/templates/testing/test-reporting-triage-skill/ SKILL.md +469 -0
- package/templates/testing/unit-test-generator/ SKILL.md +548 -0
|
@@ -0,0 +1,574 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docs-starter-kit
|
|
3
|
+
description: Generates comprehensive documentation templates for open-source and internal projects including README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, LICENSE, and other standard docs with suggested sections and best practices. Use when users request "create project docs", "add OSS documentation", "setup standard docs", or "make it open-source ready".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Docs Starter Kit
|
|
7
|
+
|
|
8
|
+
Generate complete, professional documentation for any project.
|
|
9
|
+
|
|
10
|
+
## Core Workflow
|
|
11
|
+
|
|
12
|
+
1. **Determine project type**: OSS public, internal, library, application
|
|
13
|
+
2. **Select templates**: Choose appropriate docs based on project type
|
|
14
|
+
3. **Customize content**: Fill in project-specific information
|
|
15
|
+
4. **Add sections**: Include relevant sections for the project
|
|
16
|
+
5. **Review completeness**: Ensure all essential docs are present
|
|
17
|
+
6. **Format consistently**: Apply consistent style and structure
|
|
18
|
+
|
|
19
|
+
## Essential Documentation Files
|
|
20
|
+
|
|
21
|
+
### README.md (Required)
|
|
22
|
+
|
|
23
|
+
Project overview and getting started guide
|
|
24
|
+
|
|
25
|
+
- Project description and purpose
|
|
26
|
+
- Features and capabilities
|
|
27
|
+
- Quick start guide
|
|
28
|
+
- Installation instructions
|
|
29
|
+
- Usage examples
|
|
30
|
+
- Configuration options
|
|
31
|
+
- Contributing link
|
|
32
|
+
- License information
|
|
33
|
+
|
|
34
|
+
### CONTRIBUTING.md (Recommended)
|
|
35
|
+
|
|
36
|
+
Guide for contributors
|
|
37
|
+
|
|
38
|
+
- How to contribute
|
|
39
|
+
- Development setup
|
|
40
|
+
- Code style guidelines
|
|
41
|
+
- Testing requirements
|
|
42
|
+
- Pull request process
|
|
43
|
+
- Code of conduct link
|
|
44
|
+
|
|
45
|
+
### LICENSE (Required for OSS)
|
|
46
|
+
|
|
47
|
+
Project license
|
|
48
|
+
|
|
49
|
+
- MIT, Apache 2.0, GPL, BSD, etc.
|
|
50
|
+
- Copyright holder and year
|
|
51
|
+
|
|
52
|
+
### CODE_OF_CONDUCT.md (OSS Best Practice)
|
|
53
|
+
|
|
54
|
+
Community guidelines
|
|
55
|
+
|
|
56
|
+
- Expected behavior
|
|
57
|
+
- Unacceptable behavior
|
|
58
|
+
- Enforcement procedures
|
|
59
|
+
- Contact information
|
|
60
|
+
|
|
61
|
+
### SECURITY.md (Recommended)
|
|
62
|
+
|
|
63
|
+
Security policy and reporting
|
|
64
|
+
|
|
65
|
+
- Supported versions
|
|
66
|
+
- Reporting vulnerabilities
|
|
67
|
+
- Response timeline
|
|
68
|
+
- Security update process
|
|
69
|
+
|
|
70
|
+
### CHANGELOG.md (Recommended)
|
|
71
|
+
|
|
72
|
+
Version history
|
|
73
|
+
|
|
74
|
+
- Notable changes per version
|
|
75
|
+
- Breaking changes highlighted
|
|
76
|
+
- Release dates
|
|
77
|
+
- Following Keep a Changelog format
|
|
78
|
+
|
|
79
|
+
## README.md Template
|
|
80
|
+
|
|
81
|
+
````markdown
|
|
82
|
+
# Project Name
|
|
83
|
+
|
|
84
|
+
Brief description of what this project does and who it's for.
|
|
85
|
+
|
|
86
|
+
## Features
|
|
87
|
+
|
|
88
|
+
- ✨ Feature 1
|
|
89
|
+
- 🚀 Feature 2
|
|
90
|
+
- 🎯 Feature 3
|
|
91
|
+
|
|
92
|
+
## Quick Start
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Clone the repository
|
|
96
|
+
git clone https://github.com/username/project-name.git
|
|
97
|
+
|
|
98
|
+
# Install dependencies
|
|
99
|
+
npm install
|
|
100
|
+
|
|
101
|
+
# Run development server
|
|
102
|
+
npm run dev
|
|
103
|
+
```
|
|
104
|
+
````
|
|
105
|
+
|
|
106
|
+
## Installation
|
|
107
|
+
|
|
108
|
+
### Prerequisites
|
|
109
|
+
|
|
110
|
+
- Node.js 20+
|
|
111
|
+
- npm or pnpm
|
|
112
|
+
- PostgreSQL 15+ (if applicable)
|
|
113
|
+
|
|
114
|
+
### Setup
|
|
115
|
+
|
|
116
|
+
1. Clone and install:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
git clone <repo>
|
|
120
|
+
npm install
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
2. Configure environment:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
cp .env.example .env
|
|
127
|
+
# Edit .env with your values
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
3. Setup database (if applicable):
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
npm run db:migrate
|
|
134
|
+
npm run db:seed
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
4. Start development:
|
|
138
|
+
```bash
|
|
139
|
+
npm run dev
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Usage
|
|
143
|
+
|
|
144
|
+
### Basic Example
|
|
145
|
+
|
|
146
|
+
```typescript
|
|
147
|
+
import { something } from "project-name";
|
|
148
|
+
|
|
149
|
+
const result = something();
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Advanced Usage
|
|
153
|
+
|
|
154
|
+
[More detailed examples]
|
|
155
|
+
|
|
156
|
+
## Configuration
|
|
157
|
+
|
|
158
|
+
Available environment variables:
|
|
159
|
+
|
|
160
|
+
| Variable | Description | Default |
|
|
161
|
+
| -------------- | ---------------------- | ------- |
|
|
162
|
+
| `API_KEY` | API authentication key | - |
|
|
163
|
+
| `PORT` | Server port | 3000 |
|
|
164
|
+
| `DATABASE_URL` | Database connection | - |
|
|
165
|
+
|
|
166
|
+
## Documentation
|
|
167
|
+
|
|
168
|
+
- [API Reference](./docs/API.md)
|
|
169
|
+
- [Architecture](./docs/ARCHITECTURE.md)
|
|
170
|
+
- [Contributing Guide](./CONTRIBUTING.md)
|
|
171
|
+
|
|
172
|
+
## Testing
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
# Run all tests
|
|
176
|
+
npm test
|
|
177
|
+
|
|
178
|
+
# Run with coverage
|
|
179
|
+
npm run test:coverage
|
|
180
|
+
|
|
181
|
+
# Run specific test file
|
|
182
|
+
npm test path/to/test
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## Deployment
|
|
186
|
+
|
|
187
|
+
[Deployment instructions]
|
|
188
|
+
|
|
189
|
+
## Built With
|
|
190
|
+
|
|
191
|
+
- [Next.js](https://nextjs.org/) - React framework
|
|
192
|
+
- [Prisma](https://prisma.io/) - Database ORM
|
|
193
|
+
- [Tailwind CSS](https://tailwindcss.com/) - Styling
|
|
194
|
+
|
|
195
|
+
## Contributing
|
|
196
|
+
|
|
197
|
+
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.
|
|
198
|
+
|
|
199
|
+
## License
|
|
200
|
+
|
|
201
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
202
|
+
|
|
203
|
+
## Authors
|
|
204
|
+
|
|
205
|
+
- **Your Name** - _Initial work_ - [YourGitHub](https://github.com/yourusername)
|
|
206
|
+
|
|
207
|
+
## Acknowledgments
|
|
208
|
+
|
|
209
|
+
- Hat tip to anyone whose code was used
|
|
210
|
+
- Inspiration
|
|
211
|
+
- References
|
|
212
|
+
|
|
213
|
+
````
|
|
214
|
+
|
|
215
|
+
## CONTRIBUTING.md Template
|
|
216
|
+
|
|
217
|
+
```markdown
|
|
218
|
+
# Contributing to [Project Name]
|
|
219
|
+
|
|
220
|
+
Thank you for your interest in contributing! This document provides guidelines for contributing to this project.
|
|
221
|
+
|
|
222
|
+
## Code of Conduct
|
|
223
|
+
|
|
224
|
+
This project adheres to a [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
|
|
225
|
+
|
|
226
|
+
## How Can I Contribute?
|
|
227
|
+
|
|
228
|
+
### Reporting Bugs
|
|
229
|
+
|
|
230
|
+
Before creating bug reports, please check existing issues to avoid duplicates. When creating a bug report, include:
|
|
231
|
+
|
|
232
|
+
- Clear and descriptive title
|
|
233
|
+
- Detailed description of the issue
|
|
234
|
+
- Steps to reproduce
|
|
235
|
+
- Expected vs actual behavior
|
|
236
|
+
- Environment details (OS, Node version, etc.)
|
|
237
|
+
- Screenshots if applicable
|
|
238
|
+
|
|
239
|
+
### Suggesting Enhancements
|
|
240
|
+
|
|
241
|
+
Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion, include:
|
|
242
|
+
|
|
243
|
+
- Clear and descriptive title
|
|
244
|
+
- Detailed description of the proposed feature
|
|
245
|
+
- Explanation of why this enhancement would be useful
|
|
246
|
+
- Possible implementation approach
|
|
247
|
+
|
|
248
|
+
### Pull Requests
|
|
249
|
+
|
|
250
|
+
1. Fork the repository
|
|
251
|
+
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
|
|
252
|
+
3. Make your changes
|
|
253
|
+
4. Add tests for new functionality
|
|
254
|
+
5. Ensure all tests pass (`npm test`)
|
|
255
|
+
6. Commit using conventional commits (`git commit -m 'feat: add amazing feature'`)
|
|
256
|
+
7. Push to your fork (`git push origin feature/amazing-feature`)
|
|
257
|
+
8. Open a Pull Request
|
|
258
|
+
|
|
259
|
+
## Development Setup
|
|
260
|
+
|
|
261
|
+
See [README.md](README.md) for initial setup instructions.
|
|
262
|
+
|
|
263
|
+
### Development Workflow
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
# Install dependencies
|
|
267
|
+
npm install
|
|
268
|
+
|
|
269
|
+
# Start development server
|
|
270
|
+
npm run dev
|
|
271
|
+
|
|
272
|
+
# Run tests in watch mode
|
|
273
|
+
npm run test:watch
|
|
274
|
+
|
|
275
|
+
# Run linter
|
|
276
|
+
npm run lint
|
|
277
|
+
|
|
278
|
+
# Format code
|
|
279
|
+
npm run format
|
|
280
|
+
````
|
|
281
|
+
|
|
282
|
+
## Code Style
|
|
283
|
+
|
|
284
|
+
- Follow existing code style
|
|
285
|
+
- Use TypeScript for all new code
|
|
286
|
+
- Run `npm run lint` and `npm run format` before committing
|
|
287
|
+
- Write meaningful commit messages following Conventional Commits
|
|
288
|
+
|
|
289
|
+
### Commit Message Format
|
|
290
|
+
|
|
291
|
+
```
|
|
292
|
+
<type>(<scope>): <description>
|
|
293
|
+
|
|
294
|
+
[optional body]
|
|
295
|
+
|
|
296
|
+
[optional footer]
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
Types: `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`
|
|
300
|
+
|
|
301
|
+
## Testing
|
|
302
|
+
|
|
303
|
+
- Write tests for all new features
|
|
304
|
+
- Maintain test coverage above 80%
|
|
305
|
+
- Run tests before submitting PR
|
|
306
|
+
- Include both unit and integration tests where appropriate
|
|
307
|
+
|
|
308
|
+
## Documentation
|
|
309
|
+
|
|
310
|
+
- Update README.md if adding features
|
|
311
|
+
- Document new environment variables
|
|
312
|
+
- Add JSDoc comments for public APIs
|
|
313
|
+
- Update CHANGELOG.md for notable changes
|
|
314
|
+
|
|
315
|
+
## Review Process
|
|
316
|
+
|
|
317
|
+
1. Automated checks must pass (tests, linting, build)
|
|
318
|
+
2. At least one maintainer approval required
|
|
319
|
+
3. Address all review comments
|
|
320
|
+
4. Maintainer will merge when approved
|
|
321
|
+
|
|
322
|
+
## Questions?
|
|
323
|
+
|
|
324
|
+
Feel free to open an issue with your question or contact [maintainer@email.com](mailto:maintainer@email.com).
|
|
325
|
+
|
|
326
|
+
## License
|
|
327
|
+
|
|
328
|
+
By contributing, you agree that your contributions will be licensed under the same license as the project.
|
|
329
|
+
|
|
330
|
+
````
|
|
331
|
+
|
|
332
|
+
## SECURITY.md Template
|
|
333
|
+
|
|
334
|
+
```markdown
|
|
335
|
+
# Security Policy
|
|
336
|
+
|
|
337
|
+
## Supported Versions
|
|
338
|
+
|
|
339
|
+
| Version | Supported |
|
|
340
|
+
| ------- | ------------------ |
|
|
341
|
+
| 2.x.x | :white_check_mark: |
|
|
342
|
+
| 1.x.x | :x: |
|
|
343
|
+
|
|
344
|
+
## Reporting a Vulnerability
|
|
345
|
+
|
|
346
|
+
We take security seriously. If you discover a security vulnerability, please follow these steps:
|
|
347
|
+
|
|
348
|
+
### Do Not
|
|
349
|
+
|
|
350
|
+
- Open a public GitHub issue
|
|
351
|
+
- Disclose the vulnerability publicly before we've addressed it
|
|
352
|
+
|
|
353
|
+
### Do
|
|
354
|
+
|
|
355
|
+
1. **Email us** at security@projectname.com
|
|
356
|
+
2. **Include details:**
|
|
357
|
+
- Description of the vulnerability
|
|
358
|
+
- Steps to reproduce
|
|
359
|
+
- Potential impact
|
|
360
|
+
- Suggested fix (if any)
|
|
361
|
+
|
|
362
|
+
### What to Expect
|
|
363
|
+
|
|
364
|
+
- **Acknowledgment:** Within 48 hours
|
|
365
|
+
- **Initial assessment:** Within 1 week
|
|
366
|
+
- **Regular updates:** Every 2 weeks
|
|
367
|
+
- **Resolution:** Depends on severity and complexity
|
|
368
|
+
|
|
369
|
+
### Disclosure Policy
|
|
370
|
+
|
|
371
|
+
- We will investigate and respond promptly
|
|
372
|
+
- We will work with you to understand the issue
|
|
373
|
+
- We will keep you informed of our progress
|
|
374
|
+
- We will credit you for the discovery (unless you prefer to remain anonymous)
|
|
375
|
+
|
|
376
|
+
### Security Update Process
|
|
377
|
+
|
|
378
|
+
1. Patch is developed and tested
|
|
379
|
+
2. Security advisory is prepared
|
|
380
|
+
3. New version is released
|
|
381
|
+
4. Advisory is published
|
|
382
|
+
5. Users are notified
|
|
383
|
+
|
|
384
|
+
## Best Practices
|
|
385
|
+
|
|
386
|
+
When using this project:
|
|
387
|
+
|
|
388
|
+
- Keep dependencies up to date
|
|
389
|
+
- Use environment variables for secrets
|
|
390
|
+
- Enable security features in production
|
|
391
|
+
- Follow principle of least privilege
|
|
392
|
+
- Regularly review access logs
|
|
393
|
+
|
|
394
|
+
## Known Security Considerations
|
|
395
|
+
|
|
396
|
+
[Document any known security considerations or limitations]
|
|
397
|
+
|
|
398
|
+
## Security-Related Configuration
|
|
399
|
+
|
|
400
|
+
[Document security-related configuration options]
|
|
401
|
+
````
|
|
402
|
+
|
|
403
|
+
## CODE_OF_CONDUCT.md Template
|
|
404
|
+
|
|
405
|
+
```markdown
|
|
406
|
+
# Code of Conduct
|
|
407
|
+
|
|
408
|
+
## Our Pledge
|
|
409
|
+
|
|
410
|
+
We pledge to make participation in our project a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
411
|
+
|
|
412
|
+
## Our Standards
|
|
413
|
+
|
|
414
|
+
### Positive Behavior
|
|
415
|
+
|
|
416
|
+
- Using welcoming and inclusive language
|
|
417
|
+
- Being respectful of differing viewpoints and experiences
|
|
418
|
+
- Gracefully accepting constructive criticism
|
|
419
|
+
- Focusing on what is best for the community
|
|
420
|
+
- Showing empathy towards other community members
|
|
421
|
+
|
|
422
|
+
### Unacceptable Behavior
|
|
423
|
+
|
|
424
|
+
- Trolling, insulting/derogatory comments, and personal attacks
|
|
425
|
+
- Public or private harassment
|
|
426
|
+
- Publishing others' private information without permission
|
|
427
|
+
- Other conduct which could reasonably be considered inappropriate
|
|
428
|
+
|
|
429
|
+
## Our Responsibilities
|
|
430
|
+
|
|
431
|
+
Project maintainers are responsible for clarifying standards of acceptable behavior and will take appropriate and fair corrective action in response to unacceptable behavior.
|
|
432
|
+
|
|
433
|
+
## Scope
|
|
434
|
+
|
|
435
|
+
This Code of Conduct applies within all project spaces and when representing the project or its community.
|
|
436
|
+
|
|
437
|
+
## Enforcement
|
|
438
|
+
|
|
439
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project team at [conduct@projectname.com]. All complaints will be reviewed and investigated promptly and fairly.
|
|
440
|
+
|
|
441
|
+
## Attribution
|
|
442
|
+
|
|
443
|
+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0.
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
## LICENSE Templates
|
|
447
|
+
|
|
448
|
+
### MIT License
|
|
449
|
+
|
|
450
|
+
```
|
|
451
|
+
MIT License
|
|
452
|
+
|
|
453
|
+
Copyright (c) [year] [fullname]
|
|
454
|
+
|
|
455
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy...
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
### Apache 2.0
|
|
459
|
+
|
|
460
|
+
```
|
|
461
|
+
Apache License
|
|
462
|
+
Version 2.0, January 2004
|
|
463
|
+
http://www.apache.org/licenses/
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
## CHANGELOG.md Template
|
|
467
|
+
|
|
468
|
+
```markdown
|
|
469
|
+
# Changelog
|
|
470
|
+
|
|
471
|
+
All notable changes to this project will be documented in this file.
|
|
472
|
+
|
|
473
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
474
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
475
|
+
|
|
476
|
+
## [Unreleased]
|
|
477
|
+
|
|
478
|
+
### Added
|
|
479
|
+
|
|
480
|
+
- New feature X
|
|
481
|
+
|
|
482
|
+
### Changed
|
|
483
|
+
|
|
484
|
+
- Updated dependency Y
|
|
485
|
+
|
|
486
|
+
### Fixed
|
|
487
|
+
|
|
488
|
+
- Bug Z
|
|
489
|
+
|
|
490
|
+
## [1.0.0] - 2024-01-15
|
|
491
|
+
|
|
492
|
+
### Added
|
|
493
|
+
|
|
494
|
+
- Initial release
|
|
495
|
+
- Feature A
|
|
496
|
+
- Feature B
|
|
497
|
+
|
|
498
|
+
### Security
|
|
499
|
+
|
|
500
|
+
- Fixed vulnerability in dependency
|
|
501
|
+
|
|
502
|
+
[unreleased]: https://github.com/user/project/compare/v1.0.0...HEAD
|
|
503
|
+
[1.0.0]: https://github.com/user/project/releases/tag/v1.0.0
|
|
504
|
+
```
|
|
505
|
+
|
|
506
|
+
## Additional Documentation
|
|
507
|
+
|
|
508
|
+
### API.md
|
|
509
|
+
|
|
510
|
+
API reference documentation
|
|
511
|
+
|
|
512
|
+
### ARCHITECTURE.md
|
|
513
|
+
|
|
514
|
+
System design and architecture
|
|
515
|
+
|
|
516
|
+
### DEPLOYMENT.md
|
|
517
|
+
|
|
518
|
+
Deployment instructions
|
|
519
|
+
|
|
520
|
+
### DEVELOPMENT.md
|
|
521
|
+
|
|
522
|
+
Development environment setup
|
|
523
|
+
|
|
524
|
+
### FAQ.md
|
|
525
|
+
|
|
526
|
+
Frequently asked questions
|
|
527
|
+
|
|
528
|
+
### TROUBLESHOOTING.md
|
|
529
|
+
|
|
530
|
+
Common issues and solutions
|
|
531
|
+
|
|
532
|
+
## Documentation Best Practices
|
|
533
|
+
|
|
534
|
+
1. **Keep it updated**: Review docs with each release
|
|
535
|
+
2. **Be concise**: Clear and to the point
|
|
536
|
+
3. **Use examples**: Show, don't just tell
|
|
537
|
+
4. **Link related docs**: Cross-reference appropriately
|
|
538
|
+
5. **Consider audience**: Write for your users' level
|
|
539
|
+
6. **Use consistent formatting**: Follow style guides
|
|
540
|
+
7. **Include visuals**: Diagrams, screenshots, examples
|
|
541
|
+
|
|
542
|
+
## Project Type Variations
|
|
543
|
+
|
|
544
|
+
### Library/Package
|
|
545
|
+
|
|
546
|
+
Focus on: API reference, usage examples, installation
|
|
547
|
+
|
|
548
|
+
### Application
|
|
549
|
+
|
|
550
|
+
Focus on: Setup, configuration, deployment
|
|
551
|
+
|
|
552
|
+
### CLI Tool
|
|
553
|
+
|
|
554
|
+
Focus on: Commands, options, examples
|
|
555
|
+
|
|
556
|
+
### Internal Tool
|
|
557
|
+
|
|
558
|
+
Focus on: Access, authentication, company-specific processes
|
|
559
|
+
|
|
560
|
+
## Checklist
|
|
561
|
+
|
|
562
|
+
For complete project documentation:
|
|
563
|
+
|
|
564
|
+
- [ ] README.md with clear description and quick start
|
|
565
|
+
- [ ] CONTRIBUTING.md with development guidelines
|
|
566
|
+
- [ ] LICENSE file (if open source)
|
|
567
|
+
- [ ] CODE_OF_CONDUCT.md (if open source)
|
|
568
|
+
- [ ] SECURITY.md with vulnerability reporting
|
|
569
|
+
- [ ] CHANGELOG.md for version history
|
|
570
|
+
- [ ] .github/ISSUE_TEMPLATE/ for bug reports and features
|
|
571
|
+
- [ ] .github/PULL_REQUEST_TEMPLATE.md
|
|
572
|
+
- [ ] docs/ folder for additional documentation
|
|
573
|
+
- [ ] API reference (if library)
|
|
574
|
+
- [ ] Architecture documentation (if complex)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explaining-code
|
|
3
|
+
description: Explains code with visual diagrams and analogies. Use when explaining how code works, teaching about a codebase, or when the user asks "how does this work?"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
When explaining code, always include:
|
|
7
|
+
|
|
8
|
+
1. **Start with an analogy**: Compare the code to something from everyday life
|
|
9
|
+
2. **Draw a diagram**: Use ASCII art to show the flow, structure, or relationships
|
|
10
|
+
3. **Walk through the code**: Explain step-by-step what happens
|
|
11
|
+
4. **Highlight a gotcha**: What's a common mistake or misconception?
|
|
12
|
+
|
|
13
|
+
Keep explanations conversational. For complex concepts, use multiple analogies.
|