goga-tool-mkdocs 1.0.0__py3-none-any.whl

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.
File without changes
@@ -0,0 +1,164 @@
1
+ ---
2
+ name: goga-tool-mkdocs
3
+ description: Orchestrate creation, synchronization, patching, validation and maintenance of MkDocs documentation
4
+ ---
5
+
6
+ # ROLE
7
+
8
+ You are the master orchestration skill for MkDocs documentation maintenance.
9
+
10
+ # OBJECTIVE
11
+
12
+ Create, synchronize, patch, validate, and maintain MkDocs documentation using authoritative project artifacts.
13
+
14
+ # EXECUTION MODEL
15
+
16
+ You MUST explicitly orchestrate subskills in deterministic order. Use **Skill tool** for call subskill.
17
+
18
+ # SUBSKILLS
19
+
20
+ - goga-tool-mkdocs-discovery
21
+ - goga-tool-mkdocs-impact-analysis
22
+ - goga-tool-mkdocs-structure
23
+ - goga-tool-mkdocs-writer
24
+ - goga-tool-mkdocs-nav-sync
25
+ - goga-tool-mkdocs-validator
26
+ - goga-tool-mkdocs-questions
27
+
28
+ # EXECUTION MODES
29
+
30
+ - bootstrap
31
+ - incremental
32
+
33
+ # AUTHORITATIVE SOURCES
34
+
35
+ - CODEMANIFEST
36
+ - .usages/**/*.md
37
+ - .tests/**/*.yml
38
+ - .tests/**/*.yaml
39
+
40
+ # TRACEABILITY
41
+
42
+ Load and maintain:
43
+
44
+ .goga/tools/mkdocs/traceability.yml
45
+
46
+ Format:
47
+
48
+ ```yaml
49
+ docs/auth.md:
50
+ - auth/data
51
+ - auth/oauth
52
+ ```
53
+
54
+ Rules:
55
+
56
+ 1. Entries MUST reference cell directory paths (e.g. `auth/data`).
57
+ 2. Each cell path MUST exist as a directory and contain a CODEMANIFEST file.
58
+ 3. A documentation page is linked to a cell if it uses information from that cell's CODEMANIFEST or .usages/ files.
59
+
60
+ Valid cell paths:
61
+ auth/data
62
+ auth/oauth
63
+ auth/oauth/api
64
+
65
+ Invalid (file references, NOT allowed):
66
+ auth/data/CODEMANIFEST
67
+ auth/oauth/api/.usages/reading.md
68
+
69
+ # ORCHESTRATION RULES
70
+
71
+ ## Bootstrap Mode
72
+
73
+ Execute:
74
+
75
+ 1. goga-tool-mkdocs-discovery
76
+ 2. goga-tool-mkdocs-structure
77
+ 3. goga-tool-mkdocs-writer
78
+ 4. goga-tool-mkdocs-nav-sync
79
+ 5. goga-tool-mkdocs-validator
80
+
81
+ ---
82
+
83
+ ## Incremental Mode
84
+
85
+ Execute:
86
+
87
+ 1. goga-tool-mkdocs-discovery
88
+ 2. goga-tool-mkdocs-impact-analysis
89
+ 3. goga-tool-mkdocs-structure
90
+ 4. goga-tool-mkdocs-writer
91
+ 5. goga-tool-mkdocs-nav-sync
92
+ 6. goga-tool-mkdocs-validator
93
+
94
+ ---
95
+
96
+ ## Reconciliation Loop
97
+
98
+ If validator returns:
99
+
100
+ ```yaml
101
+ requires_reconciliation: true
102
+ ```
103
+
104
+ then execute:
105
+
106
+ 1. goga-tool-mkdocs-impact-analysis
107
+ 2. goga-tool-mkdocs-writer
108
+ 3. goga-tool-mkdocs-nav-sync
109
+ 4. goga-tool-mkdocs-validator
110
+
111
+ Maximum reconciliation loops:
112
+
113
+ ```yaml
114
+ max_reconciliation_loops: 2
115
+ ```
116
+
117
+ # SUBSKILL INVOCATION CONTRACT
118
+
119
+ Each subskill MUST:
120
+
121
+ - receive structured input,
122
+ - return structured markdown + YAML output,
123
+ - avoid modifying unrelated areas,
124
+ - follow deterministic execution.
125
+
126
+ # SHARED OUTPUT FORMAT
127
+
128
+ ```markdown
129
+ # SUMMARY
130
+
131
+ Short execution summary.
132
+
133
+ # RESULTS
134
+
135
+ ```yaml
136
+ status:
137
+
138
+ changes:
139
+ pages_created:
140
+ pages_updated:
141
+ pages_removed:
142
+
143
+ nav_updated:
144
+
145
+ questions:
146
+
147
+ warnings:
148
+
149
+ next_actions:
150
+ ```
151
+
152
+ # DETAILS
153
+
154
+ Additional execution details.
155
+ ```
156
+
157
+ # COMPLETION CRITERIA
158
+
159
+ Execution is complete only when:
160
+ - documentation is synchronized,
161
+ - navigation is valid,
162
+ - required sections exist,
163
+ - stale docs are resolved,
164
+ - no blocking questions remain.
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: goga-tool-mkdocs-discovery
3
+ description: Discover authoritative documentation artifacts and public documentation surface
4
+ ---
5
+
6
+ # ROLE
7
+
8
+ You are the goga-tool-mkdocs-discovery skill.
9
+
10
+ # OBJECTIVE
11
+
12
+ Discover authoritative documentation artifacts and public documentation surface.
13
+
14
+ # INVOCATION
15
+
16
+ This skill is invoked ONLY by:
17
+
18
+ ```text
19
+ goga-tool-mkdocs
20
+ ```
21
+
22
+ # INPUT CONTRACT
23
+
24
+ Expected structured input:
25
+
26
+ ```yaml
27
+ mode:
28
+ repository_root:
29
+ git_diff:
30
+ traceability:
31
+ documentation_state:
32
+ ```
33
+
34
+ # WORKFLOW
35
+
36
+ 1. Scan repository.
37
+ 2. Detect authoritative domains.
38
+ 3. Detect CODEMANIFEST files.
39
+ 4. Detect .usages directories.
40
+ 5. Detect .tests directories.
41
+ 6. Detect existing documentation.
42
+ 7. Detect mkdocs.yml.
43
+ 8. Return structured discovery output.
44
+
45
+
46
+ # OUTPUT CONTRACT
47
+
48
+ Return ONLY structured markdown + YAML.
49
+
50
+ # OUTPUT FORMAT
51
+
52
+ ```markdown
53
+ # SUMMARY
54
+
55
+ Short execution summary.
56
+
57
+ # RESULTS
58
+
59
+ ```yaml
60
+ status:
61
+ changes:
62
+ questions:
63
+ warnings:
64
+ ```
65
+
66
+ # DETAILS
67
+
68
+ Additional execution details.
69
+ ```
70
+
71
+ # COMPLETION CRITERIA
72
+
73
+ All authoritative documentation sources are discovered deterministically.
@@ -0,0 +1,72 @@
1
+ ---
2
+ name: goga-tool-mkdocs-impact-analysis
3
+ description: Determine affected documentation areas and stale pages
4
+ ---
5
+
6
+ # ROLE
7
+
8
+ You are the goga-tool-mkdocs-impact-analysis skill.
9
+
10
+ # OBJECTIVE
11
+
12
+ Determine affected documentation areas and stale pages.
13
+
14
+ # INVOCATION
15
+
16
+ This skill is invoked ONLY by:
17
+
18
+ ```text
19
+ goga-tool-mkdocs
20
+ ```
21
+
22
+ # INPUT CONTRACT
23
+
24
+ Expected structured input:
25
+
26
+ ```yaml
27
+ mode:
28
+ repository_root:
29
+ git_diff:
30
+ traceability:
31
+ documentation_state:
32
+ ```
33
+
34
+ # WORKFLOW
35
+
36
+
37
+ 1. Analyze git diff.
38
+ 2. Load traceability mapping.
39
+ 3. Detect affected documentation pages.
40
+ 4. Detect stale sections.
41
+ 5. Detect required patches.
42
+ 6. Return deterministic patch plan.
43
+
44
+
45
+ # OUTPUT CONTRACT
46
+
47
+ Return ONLY structured markdown + YAML.
48
+
49
+ # OUTPUT FORMAT
50
+
51
+ ```markdown
52
+ # SUMMARY
53
+
54
+ Short execution summary.
55
+
56
+ # RESULTS
57
+
58
+ ```yaml
59
+ status:
60
+ changes:
61
+ questions:
62
+ warnings:
63
+ ```
64
+
65
+ # DETAILS
66
+
67
+ Additional execution details.
68
+ ```
69
+
70
+ # COMPLETION CRITERIA
71
+
72
+ All affected documentation pages are identified.
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: goga-tool-mkdocs-nav-sync
3
+ description: Synchronize mkdocs.yml navigation
4
+ ---
5
+
6
+ # ROLE
7
+
8
+ You are the goga-tool-mkdocs-nav-sync skill.
9
+
10
+ # OBJECTIVE
11
+
12
+ Synchronize mkdocs.yml navigation.
13
+
14
+ # INVOCATION
15
+
16
+ This skill is invoked ONLY by:
17
+
18
+ ```text
19
+ goga-tool-mkdocs
20
+ ```
21
+
22
+ # INPUT CONTRACT
23
+
24
+ Expected structured input:
25
+
26
+ ```yaml
27
+ mode:
28
+ repository_root:
29
+ git_diff:
30
+ traceability:
31
+ documentation_state:
32
+ ```
33
+
34
+ # WORKFLOW
35
+
36
+
37
+ 1. Load nav model.
38
+ 2. Remove invalid nav entries.
39
+ 3. Add missing required sections.
40
+ 4. Preserve stable ordering.
41
+ 5. Return synchronized navigation state.
42
+
43
+
44
+ # OUTPUT CONTRACT
45
+
46
+ Return ONLY structured markdown + YAML.
47
+
48
+ # OUTPUT FORMAT
49
+
50
+ ```markdown
51
+ # SUMMARY
52
+
53
+ Short execution summary.
54
+
55
+ # RESULTS
56
+
57
+ ```yaml
58
+ status:
59
+ changes:
60
+ questions:
61
+ warnings:
62
+ ```
63
+
64
+ # DETAILS
65
+
66
+ Additional execution details.
67
+ ```
68
+
69
+ # COMPLETION CRITERIA
70
+
71
+ mkdocs.yml navigation is synchronized.
@@ -0,0 +1,70 @@
1
+ ---
2
+ name: goga-tool-mkdocs-questions
3
+ description: Generate blocking questions required for deterministic execution
4
+ ---
5
+
6
+ # ROLE
7
+
8
+ You are the goga-tool-mkdocs-questions skill.
9
+
10
+ # OBJECTIVE
11
+
12
+ Generate blocking questions required for deterministic execution.
13
+
14
+ # INVOCATION
15
+
16
+ This skill is invoked ONLY by:
17
+
18
+ ```text
19
+ goga-tool-mkdocs
20
+ ```
21
+
22
+ # INPUT CONTRACT
23
+
24
+ Expected structured input:
25
+
26
+ ```yaml
27
+ mode:
28
+ repository_root:
29
+ git_diff:
30
+ traceability:
31
+ documentation_state:
32
+ ```
33
+
34
+ # WORKFLOW
35
+
36
+
37
+ 1. Analyze unresolved ambiguities.
38
+ 2. Detect blocking uncertainties.
39
+ 3. Generate concise blocking questions.
40
+ 4. Return escalation output.
41
+
42
+
43
+ # OUTPUT CONTRACT
44
+
45
+ Return ONLY structured markdown + YAML.
46
+
47
+ # OUTPUT FORMAT
48
+
49
+ ```markdown
50
+ # SUMMARY
51
+
52
+ Short execution summary.
53
+
54
+ # RESULTS
55
+
56
+ ```yaml
57
+ status:
58
+ changes:
59
+ questions:
60
+ warnings:
61
+ ```
62
+
63
+ # DETAILS
64
+
65
+ Additional execution details.
66
+ ```
67
+
68
+ # COMPLETION CRITERIA
69
+
70
+ All blocking uncertainties are escalated.
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: goga-tool-mkdocs-structure
3
+ description: Build documentation hierarchy and navigation structure
4
+ ---
5
+
6
+ # ROLE
7
+
8
+ You are the goga-tool-mkdocs-structure skill.
9
+
10
+ # OBJECTIVE
11
+
12
+ Build documentation hierarchy and navigation structure.
13
+
14
+ # INVOCATION
15
+
16
+ This skill is invoked ONLY by:
17
+
18
+ ```text
19
+ goga-tool-mkdocs
20
+ ```
21
+
22
+ # INPUT CONTRACT
23
+
24
+ Expected structured input:
25
+
26
+ ```yaml
27
+ mode:
28
+ repository_root:
29
+ git_diff:
30
+ traceability:
31
+ documentation_state:
32
+ ```
33
+
34
+ # WORKFLOW
35
+
36
+
37
+ 1. Build required sections.
38
+ 2. Detect adaptive sections.
39
+ 3. Build stable navigation hierarchy.
40
+ 4. Preserve human-friendly structure.
41
+ 5. Return structure model.
42
+
43
+
44
+ # OUTPUT CONTRACT
45
+
46
+ Return ONLY structured markdown + YAML.
47
+
48
+ # OUTPUT FORMAT
49
+
50
+ ```markdown
51
+ # SUMMARY
52
+
53
+ Short execution summary.
54
+
55
+ # RESULTS
56
+
57
+ ```yaml
58
+ status:
59
+ changes:
60
+ questions:
61
+ warnings:
62
+ ```
63
+
64
+ # DETAILS
65
+
66
+ Additional execution details.
67
+ ```
68
+
69
+ # COMPLETION CRITERIA
70
+
71
+ Stable documentation hierarchy is generated.
@@ -0,0 +1,72 @@
1
+ ---
2
+ name: goga-tool-mkdocs-validator
3
+ description: Validate documentation consistency and integrity
4
+ ---
5
+
6
+ # ROLE
7
+
8
+ You are the goga-tool-mkdocs-validator skill.
9
+
10
+ # OBJECTIVE
11
+
12
+ Validate documentation consistency and integrity.
13
+
14
+ # INVOCATION
15
+
16
+ This skill is invoked ONLY by:
17
+
18
+ ```text
19
+ goga-tool-mkdocs
20
+ ```
21
+
22
+ # INPUT CONTRACT
23
+
24
+ Expected structured input:
25
+
26
+ ```yaml
27
+ mode:
28
+ repository_root:
29
+ git_diff:
30
+ traceability:
31
+ documentation_state:
32
+ ```
33
+
34
+ # WORKFLOW
35
+
36
+ 1. Validate links.
37
+ 2. Validate navigation.
38
+ 3. Validate traceability format.
39
+ 4. Detect stale docs.
40
+ 5. Detect orphan pages.
41
+ 6. Detect missing required sections.
42
+ 7. Determine reconciliation necessity.
43
+ 8. Return validation results.
44
+
45
+ # OUTPUT CONTRACT
46
+
47
+ Return ONLY structured markdown + YAML.
48
+
49
+ # OUTPUT FORMAT
50
+
51
+ ```markdown
52
+ # SUMMARY
53
+
54
+ Short execution summary.
55
+
56
+ # RESULTS
57
+
58
+ ```yaml
59
+ status:
60
+ changes:
61
+ questions:
62
+ warnings:
63
+ ```
64
+
65
+ # DETAILS
66
+
67
+ Additional execution details.
68
+ ```
69
+
70
+ # COMPLETION CRITERIA
71
+
72
+ Documentation consistency validation is completed.
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: goga-tool-mkdocs-writer
3
+ description: Create and patch markdown documentation content
4
+ ---
5
+
6
+ # ROLE
7
+
8
+ You are the goga-tool-mkdocs-writer skill.
9
+
10
+ # OBJECTIVE
11
+
12
+ Create and patch markdown documentation content.
13
+
14
+ # INVOCATION
15
+
16
+ This skill is invoked ONLY by:
17
+
18
+ ```text
19
+ goga-tool-mkdocs
20
+ ```
21
+
22
+ # INPUT CONTRACT
23
+
24
+ Expected structured input:
25
+
26
+ ```yaml
27
+ mode:
28
+ repository_root:
29
+ git_diff:
30
+ traceability:
31
+ documentation_state:
32
+ ```
33
+
34
+ # WORKFLOW
35
+
36
+
37
+ 1. Load patch plan.
38
+ 2. Load structure model.
39
+ 3. Patch stale sections.
40
+ 4. Create missing sections.
41
+ 5. Synchronize examples.
42
+ 6. Synchronize configuration docs.
43
+ 7. Return updated documentation state.
44
+
45
+
46
+ # OUTPUT CONTRACT
47
+
48
+ Return ONLY structured markdown + YAML.
49
+
50
+ # OUTPUT FORMAT
51
+
52
+ ```markdown
53
+ # SUMMARY
54
+
55
+ Short execution summary.
56
+
57
+ # RESULTS
58
+
59
+ ```yaml
60
+ status:
61
+ changes:
62
+ questions:
63
+ warnings:
64
+ ```
65
+
66
+ # DETAILS
67
+
68
+ Additional execution details.
69
+ ```
70
+
71
+ # COMPLETION CRITERIA
72
+
73
+ Documentation content is synchronized with authoritative artifacts.
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: goga-tool-mkdocs
3
+ Version: 1.0.0
4
+ Summary: Goga tool. MkDocs documentation skills.
5
+ License: BSD-3-Clause
6
+ Classifier: Development Status :: 3 - Alpha
7
+ Classifier: Intended Audience :: Developers
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: 3.14
14
+ Requires-Python: >=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Provides-Extra: docs
18
+ Requires-Dist: mkdocs>=1.6.0; extra == "docs"
19
+ Requires-Dist: mkdocs-material>=9.5.0; extra == "docs"
20
+ Dynamic: license-file
21
+
22
+ # goga-tool-mkdocs
23
+
24
+ MkDocs documentation maintenance tool for the Goga framework.
25
+
26
+ ## Documentation
27
+
28
+ [https://qarium.github.io/goga-tool-mkdocs](https://qarium.github.io/goga-tool-mkdocs)
@@ -0,0 +1,14 @@
1
+ goga_tool_mkdocs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ goga_tool_mkdocs/skills/mkdocs/SKILL.md,sha256=19cjjWRN_Rei9VyqSyWg9jQ8OjoOn0hITNpA2HZH0Ik,2791
3
+ goga_tool_mkdocs/skills/mkdocs-discovery/SKILL.md,sha256=cwgxLlhuitCZx1s8qWBpHiA-SFEScKbc3WK5c4s5dk4,1072
4
+ goga_tool_mkdocs/skills/mkdocs-impact-analysis/SKILL.md,sha256=VzoFMWUG9mGhy-Mw76QwwhumA1x_8Dr0Aoa-swsERO0,952
5
+ goga_tool_mkdocs/skills/mkdocs-nav-sync/SKILL.md,sha256=TeWkSle8h1nyBB6KAYzt-0kWwwag8p04nmS3w7r7H4s,859
6
+ goga_tool_mkdocs/skills/mkdocs-questions/SKILL.md,sha256=27ksvThPokPQ_WlTcizMBUZSU7d-BpR3CRCcRsYBwqo,910
7
+ goga_tool_mkdocs/skills/mkdocs-structure/SKILL.md,sha256=UpL_NrYGd9bMQegz0srTtGFodFoXvZj7gH4QLv4O-Uo,915
8
+ goga_tool_mkdocs/skills/mkdocs-validator/SKILL.md,sha256=FCoQkwmRtW1E67_BxDzswH5PtWdwDYVWlECPzkMzzTY,975
9
+ goga_tool_mkdocs/skills/mkdocs-writer/SKILL.md,sha256=BceHbjIB6COuEZUG_DaXEo75japUz422f84FL_LPW0Y,955
10
+ goga_tool_mkdocs-1.0.0.dist-info/licenses/LICENSE,sha256=G3WE46or84wUI1KAKBVt2cyYOlWKHCg7f44MA8azJpo,1503
11
+ goga_tool_mkdocs-1.0.0.dist-info/METADATA,sha256=XdOMjYBDwWPQBzmmopeB0Rrr6UMbt9AKJPRkN5A_ihk,941
12
+ goga_tool_mkdocs-1.0.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
13
+ goga_tool_mkdocs-1.0.0.dist-info/top_level.txt,sha256=0cN20nv_5W6K7SrrNTyRNKCt8VqkXGG1Xp0GSW1WPkA,17
14
+ goga_tool_mkdocs-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Mikhail Trifonov
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1 @@
1
+ goga_tool_mkdocs