You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reviewing this #activePullRequest, analyze the entire #codebase and ensure the #file:docs directory is accurate, up to date, and fully aligned with the current implementation.
15
+
16
+
---
17
+
18
+
## HARD RULES (Do Not Violate)
19
+
20
+
1.**No forward-looking or speculative content.**
21
+
- Do NOT generate a `roadmap.md`.
22
+
- Do NOT document planned features, hypothetical designs, or imagined improvements.
23
+
- Document only what exists in the current codebase.
24
+
25
+
2.**No invented code.**
26
+
- Only reference functions, hooks, classes, types, modules, files, directories, system architecture & design or packages that actually exist.
27
+
- Verify existence before describing or linking anything.
28
+
29
+
3.**No placeholder text or TODOs.**
30
+
- Do not create empty sections or stubs.
31
+
- Every sentence must be grounded in verifiable code.
32
+
33
+
4.**No unnecessary rewriting of the entire system.**
34
+
- Only update documentation that is outdated, incorrect, incomplete, or missing.
35
+
36
+
---
37
+
38
+
## What to Do
39
+
40
+
### 1. Audit the `docs/` directory
41
+
42
+
- Identify inaccuracies, outdated content, missing explanations, or architectural mismatches.
43
+
- Cross-reference source files, comments, directory structure, and actual behavior.
44
+
45
+
### 2. Update documentation strictly based on verified code
46
+
47
+
- Correct outdated statements.
48
+
- Add missing explanations grounded in the current implementation.
49
+
- Include **small, accurate code snippets** whenever explaining behavior, usage, or examples.
50
+
- Snippets must reference real code that exists within the codebase.
51
+
- No invented identifiers.
52
+
53
+
### 3. Use **Mermaid diagrams extensively**
54
+
55
+
- Proactively identify any section where a diagram would improve clarity.
56
+
- Include diagrams for:
57
+
- data flows
58
+
- module interactions
59
+
- component relationships
60
+
- lifecycle steps
61
+
- architectural overviews
62
+
- system interactions
63
+
- Use only diagrams that reflect **actual, current code** (no hypothetical structures).
64
+
- Prefer `flowchart`, `sequenceDiagram`, `classDiagram`, and `stateDiagram` when appropriate.
65
+
66
+
### 4. Reference real files frequently using markdown links
67
+
68
+
- Whenever referencing a file or module, **link directly to the file using proper markdown**: `[Description](relative/path/to/file.ts)`
69
+
- Confirm the file exists before linking.
70
+
- Use file links liberally so readers can immediately navigate to source.
71
+
72
+
### 5. Maintain clarity and conciseness
73
+
74
+
- Keep explanations self-contained and clear.
75
+
- Highlight real architectural decisions, assumptions, and edge cases.
76
+
- Avoid verbosity or speculative commentary.
77
+
78
+
### 6. Apply changes directly (docs only)
79
+
80
+
- Modify existing documentation files.
81
+
- Add new markdown files only when supported by real code.
82
+
- If creating a **new directory**:
83
+
-**a. Always create an `index.md`**
84
+
- Must provide an overview of the directory’s purpose and contents.
85
+
-**b. Create only files that correspond directly to real, existing code.**
86
+
- No speculative or forward-looking directories or files.
87
+
88
+
---
89
+
90
+
## Final Step
91
+
92
+
After completing all changes, run `npm run validate` from #file:package.json and ensure markdown linting passes cleanly.
Copy file name to clipboardExpand all lines: docs/usage/index.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,18 @@
2
2
3
3
This section provides practical guides for installing, configuring, running, and using the AlexJSully Portfolio project. It is designed for both newcomers and experienced developers.
0 commit comments