@fractary/core 0.7.24 → 0.7.26
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/dist/docs/type-registry.d.ts.map +1 -1
- package/dist/docs/type-registry.js +4 -5
- package/dist/docs/type-registry.js.map +1 -1
- package/dist/logs/type-registry.d.ts.map +1 -1
- package/dist/logs/type-registry.js +4 -5
- package/dist/logs/type-registry.js.map +1 -1
- package/dist/work/providers/github.d.ts.map +1 -1
- package/dist/work/providers/github.js +10 -2
- package/dist/work/providers/github.js.map +1 -1
- package/package.json +4 -2
- package/templates/docs/adr/standards.md +29 -0
- package/templates/docs/adr/template.md +48 -0
- package/templates/docs/adr/type.yaml +74 -0
- package/templates/docs/api/standards.md +16 -0
- package/templates/docs/api/template.md +62 -0
- package/templates/docs/api/type.yaml +63 -0
- package/templates/docs/architecture/standards.md +15 -0
- package/templates/docs/architecture/template.md +58 -0
- package/templates/docs/architecture/type.yaml +63 -0
- package/templates/docs/audit/standards.md +15 -0
- package/templates/docs/audit/template.md +52 -0
- package/templates/docs/audit/type.yaml +61 -0
- package/templates/docs/changelog/standards.md +15 -0
- package/templates/docs/changelog/template.md +53 -0
- package/templates/docs/changelog/type.yaml +45 -0
- package/templates/docs/dataset/standards.md +15 -0
- package/templates/docs/dataset/template.md +65 -0
- package/templates/docs/dataset/type.yaml +63 -0
- package/templates/docs/etl/standards.md +15 -0
- package/templates/docs/etl/template.md +77 -0
- package/templates/docs/etl/type.yaml +66 -0
- package/templates/docs/guides/standards.md +16 -0
- package/templates/docs/guides/template.md +58 -0
- package/templates/docs/guides/type.yaml +61 -0
- package/templates/docs/infrastructure/standards.md +15 -0
- package/templates/docs/infrastructure/template.md +90 -0
- package/templates/docs/infrastructure/type.yaml +66 -0
- package/templates/docs/manifest.yaml +114 -0
- package/templates/docs/spec-api/standards.md +53 -0
- package/templates/docs/spec-api/template.md +96 -0
- package/templates/docs/spec-api/type.yaml +102 -0
- package/templates/docs/spec-basic/standards.md +24 -0
- package/templates/docs/spec-basic/template.md +51 -0
- package/templates/docs/spec-basic/type.yaml +92 -0
- package/templates/docs/spec-bug/standards.md +46 -0
- package/templates/docs/spec-bug/template.md +66 -0
- package/templates/docs/spec-bug/type.yaml +96 -0
- package/templates/docs/spec-feature/standards.md +53 -0
- package/templates/docs/spec-feature/template.md +105 -0
- package/templates/docs/spec-feature/type.yaml +106 -0
- package/templates/docs/spec-infrastructure/standards.md +58 -0
- package/templates/docs/spec-infrastructure/template.md +71 -0
- package/templates/docs/spec-infrastructure/type.yaml +102 -0
- package/templates/docs/standards/standards.md +15 -0
- package/templates/docs/standards/template.md +54 -0
- package/templates/docs/standards/type.yaml +61 -0
- package/templates/docs/testing/standards.md +15 -0
- package/templates/docs/testing/template.md +87 -0
- package/templates/docs/testing/type.yaml +65 -0
- package/templates/logs/audit/standards.md +33 -0
- package/templates/logs/audit/template.md +65 -0
- package/templates/logs/audit/type.yaml +85 -0
- package/templates/logs/build/standards.md +32 -0
- package/templates/logs/build/template.md +78 -0
- package/templates/logs/build/type.yaml +71 -0
- package/templates/logs/changelog/standards.md +34 -0
- package/templates/logs/changelog/template.md +71 -0
- package/templates/logs/changelog/type.yaml +70 -0
- package/templates/logs/debug/standards.md +33 -0
- package/templates/logs/debug/template.md +63 -0
- package/templates/logs/debug/type.yaml +77 -0
- package/templates/logs/deployment/standards.md +34 -0
- package/templates/logs/deployment/template.md +64 -0
- package/templates/logs/deployment/type.yaml +76 -0
- package/templates/logs/manifest.yaml +70 -0
- package/templates/logs/operational/standards.md +34 -0
- package/templates/logs/operational/template.md +71 -0
- package/templates/logs/operational/type.yaml +87 -0
- package/templates/logs/session/standards.md +34 -0
- package/templates/logs/session/template.md +81 -0
- package/templates/logs/session/type.yaml +69 -0
- package/templates/logs/test/standards.md +34 -0
- package/templates/logs/test/template.md +83 -0
- package/templates/logs/test/type.yaml +75 -0
- package/templates/logs/workflow/standards.md +35 -0
- package/templates/logs/workflow/template.md +95 -0
- package/templates/logs/workflow/type.yaml +91 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# {{title}}
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
{{overview}}
|
|
6
|
+
|
|
7
|
+
## Architecture Diagram
|
|
8
|
+
|
|
9
|
+
{{#diagram}}
|
|
10
|
+
```mermaid
|
|
11
|
+
{{diagram}}
|
|
12
|
+
```
|
|
13
|
+
{{/diagram}}
|
|
14
|
+
|
|
15
|
+
## Components
|
|
16
|
+
|
|
17
|
+
{{#components}}
|
|
18
|
+
### {{name}}
|
|
19
|
+
|
|
20
|
+
**Purpose:** {{purpose}}
|
|
21
|
+
|
|
22
|
+
**Responsibilities:**
|
|
23
|
+
{{#responsibilities}}
|
|
24
|
+
- {{.}}
|
|
25
|
+
{{/responsibilities}}
|
|
26
|
+
|
|
27
|
+
**Dependencies:**
|
|
28
|
+
{{#dependencies}}
|
|
29
|
+
- {{.}}
|
|
30
|
+
{{/dependencies}}
|
|
31
|
+
|
|
32
|
+
{{/components}}
|
|
33
|
+
|
|
34
|
+
## Data Flow
|
|
35
|
+
|
|
36
|
+
{{data_flow}}
|
|
37
|
+
|
|
38
|
+
## Technology Stack
|
|
39
|
+
|
|
40
|
+
| Layer | Technology | Purpose |
|
|
41
|
+
|-------|------------|---------|
|
|
42
|
+
{{#tech_stack}}
|
|
43
|
+
| {{layer}} | {{technology}} | {{purpose}} |
|
|
44
|
+
{{/tech_stack}}
|
|
45
|
+
|
|
46
|
+
## Security Considerations
|
|
47
|
+
|
|
48
|
+
{{security}}
|
|
49
|
+
|
|
50
|
+
## Scalability
|
|
51
|
+
|
|
52
|
+
{{scalability}}
|
|
53
|
+
|
|
54
|
+
## Related Documents
|
|
55
|
+
|
|
56
|
+
{{#related}}
|
|
57
|
+
- [{{title}}]({{path}})
|
|
58
|
+
{{/related}}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Architecture Documentation Type Definition
|
|
2
|
+
|
|
3
|
+
id: architecture
|
|
4
|
+
display_name: Architecture Documentation
|
|
5
|
+
description: System architecture and design documentation
|
|
6
|
+
|
|
7
|
+
output_path: docs/architecture
|
|
8
|
+
|
|
9
|
+
file_naming:
|
|
10
|
+
pattern: "ARCH-{slug}.md"
|
|
11
|
+
slug_source: title
|
|
12
|
+
slug_max_length: 50
|
|
13
|
+
|
|
14
|
+
frontmatter:
|
|
15
|
+
required_fields:
|
|
16
|
+
- title
|
|
17
|
+
- type
|
|
18
|
+
- status
|
|
19
|
+
- date
|
|
20
|
+
optional_fields:
|
|
21
|
+
- author
|
|
22
|
+
- reviewers
|
|
23
|
+
- tags
|
|
24
|
+
- related
|
|
25
|
+
- version
|
|
26
|
+
defaults:
|
|
27
|
+
type: architecture
|
|
28
|
+
status: draft
|
|
29
|
+
|
|
30
|
+
structure:
|
|
31
|
+
required_sections:
|
|
32
|
+
- Overview
|
|
33
|
+
- Components
|
|
34
|
+
- Data Flow
|
|
35
|
+
optional_sections:
|
|
36
|
+
- Architecture Diagram
|
|
37
|
+
- Technology Stack
|
|
38
|
+
- Security Considerations
|
|
39
|
+
- Scalability
|
|
40
|
+
- Related Documents
|
|
41
|
+
section_order:
|
|
42
|
+
- Overview
|
|
43
|
+
- Architecture Diagram
|
|
44
|
+
- Components
|
|
45
|
+
- Data Flow
|
|
46
|
+
- Technology Stack
|
|
47
|
+
- Security Considerations
|
|
48
|
+
- Scalability
|
|
49
|
+
- Related Documents
|
|
50
|
+
|
|
51
|
+
status:
|
|
52
|
+
allowed_values:
|
|
53
|
+
- draft
|
|
54
|
+
- review
|
|
55
|
+
- approved
|
|
56
|
+
- deprecated
|
|
57
|
+
default: draft
|
|
58
|
+
|
|
59
|
+
index_config:
|
|
60
|
+
index_file: docs/architecture/README.md
|
|
61
|
+
sort_by: title
|
|
62
|
+
sort_order: asc
|
|
63
|
+
entry_template: "- [{{title}}]({{relative_path}}) - {{status}}"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Audit Documentation Standards
|
|
2
|
+
|
|
3
|
+
## Required Conventions
|
|
4
|
+
|
|
5
|
+
- ALWAYS include executive summary
|
|
6
|
+
- ALWAYS define clear scope
|
|
7
|
+
- ALWAYS categorize findings by severity
|
|
8
|
+
- ALWAYS provide actionable recommendations
|
|
9
|
+
|
|
10
|
+
## Best Practices
|
|
11
|
+
|
|
12
|
+
- Use consistent severity ratings
|
|
13
|
+
- Track finding status
|
|
14
|
+
- Include evidence where applicable
|
|
15
|
+
- Schedule follow-up audits
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# {{title}}
|
|
2
|
+
|
|
3
|
+
## Executive Summary
|
|
4
|
+
|
|
5
|
+
{{summary}}
|
|
6
|
+
|
|
7
|
+
## Scope
|
|
8
|
+
|
|
9
|
+
{{scope}}
|
|
10
|
+
|
|
11
|
+
## Methodology
|
|
12
|
+
|
|
13
|
+
{{methodology}}
|
|
14
|
+
|
|
15
|
+
## Findings
|
|
16
|
+
|
|
17
|
+
{{#findings}}
|
|
18
|
+
### {{id}}: {{title}}
|
|
19
|
+
|
|
20
|
+
**Severity:** {{severity}}
|
|
21
|
+
**Status:** {{status}}
|
|
22
|
+
|
|
23
|
+
**Description:**
|
|
24
|
+
{{description}}
|
|
25
|
+
|
|
26
|
+
**Impact:**
|
|
27
|
+
{{impact}}
|
|
28
|
+
|
|
29
|
+
**Recommendation:**
|
|
30
|
+
{{recommendation}}
|
|
31
|
+
|
|
32
|
+
{{/findings}}
|
|
33
|
+
|
|
34
|
+
## Summary
|
|
35
|
+
|
|
36
|
+
| Severity | Count |
|
|
37
|
+
|----------|-------|
|
|
38
|
+
| Critical | {{counts.critical}} |
|
|
39
|
+
| High | {{counts.high}} |
|
|
40
|
+
| Medium | {{counts.medium}} |
|
|
41
|
+
| Low | {{counts.low}} |
|
|
42
|
+
| Info | {{counts.info}} |
|
|
43
|
+
|
|
44
|
+
## Recommendations
|
|
45
|
+
|
|
46
|
+
{{#recommendations}}
|
|
47
|
+
1. {{.}}
|
|
48
|
+
{{/recommendations}}
|
|
49
|
+
|
|
50
|
+
## Appendix
|
|
51
|
+
|
|
52
|
+
{{appendix}}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Audit Report Type Definition
|
|
2
|
+
|
|
3
|
+
id: audit
|
|
4
|
+
display_name: Audit Report
|
|
5
|
+
description: Security audits, compliance checks, and quality assessments
|
|
6
|
+
|
|
7
|
+
output_path: docs/audits
|
|
8
|
+
|
|
9
|
+
file_naming:
|
|
10
|
+
pattern: "AUDIT-{date}-{slug}.md"
|
|
11
|
+
slug_source: title
|
|
12
|
+
slug_max_length: 40
|
|
13
|
+
|
|
14
|
+
frontmatter:
|
|
15
|
+
required_fields:
|
|
16
|
+
- title
|
|
17
|
+
- type
|
|
18
|
+
- status
|
|
19
|
+
- date
|
|
20
|
+
- auditor
|
|
21
|
+
optional_fields:
|
|
22
|
+
- scope
|
|
23
|
+
- tags
|
|
24
|
+
- related
|
|
25
|
+
- next_audit_date
|
|
26
|
+
defaults:
|
|
27
|
+
type: audit
|
|
28
|
+
status: draft
|
|
29
|
+
|
|
30
|
+
structure:
|
|
31
|
+
required_sections:
|
|
32
|
+
- Executive Summary
|
|
33
|
+
- Scope
|
|
34
|
+
- Findings
|
|
35
|
+
- Summary
|
|
36
|
+
optional_sections:
|
|
37
|
+
- Methodology
|
|
38
|
+
- Recommendations
|
|
39
|
+
- Appendix
|
|
40
|
+
section_order:
|
|
41
|
+
- Executive Summary
|
|
42
|
+
- Scope
|
|
43
|
+
- Methodology
|
|
44
|
+
- Findings
|
|
45
|
+
- Summary
|
|
46
|
+
- Recommendations
|
|
47
|
+
- Appendix
|
|
48
|
+
|
|
49
|
+
status:
|
|
50
|
+
allowed_values:
|
|
51
|
+
- draft
|
|
52
|
+
- review
|
|
53
|
+
- final
|
|
54
|
+
- archived
|
|
55
|
+
default: draft
|
|
56
|
+
|
|
57
|
+
index_config:
|
|
58
|
+
index_file: docs/audits/README.md
|
|
59
|
+
sort_by: date
|
|
60
|
+
sort_order: desc
|
|
61
|
+
entry_template: "- [{{title}}]({{relative_path}}) - {{date}} ({{status}})"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Changelog Documentation Standards
|
|
2
|
+
|
|
3
|
+
## Required Conventions
|
|
4
|
+
|
|
5
|
+
- Follow Keep a Changelog format
|
|
6
|
+
- Use Semantic Versioning
|
|
7
|
+
- Group changes by type (Added, Changed, etc.)
|
|
8
|
+
- Include dates for each release
|
|
9
|
+
|
|
10
|
+
## Best Practices
|
|
11
|
+
|
|
12
|
+
- Write user-facing descriptions
|
|
13
|
+
- Link to issues/PRs where applicable
|
|
14
|
+
- Document breaking changes clearly
|
|
15
|
+
- Keep entries concise
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
{{#releases}}
|
|
9
|
+
## [{{version}}] - {{date}}
|
|
10
|
+
|
|
11
|
+
{{#added}}
|
|
12
|
+
### Added
|
|
13
|
+
{{#added}}
|
|
14
|
+
- {{.}}
|
|
15
|
+
{{/added}}
|
|
16
|
+
{{/added}}
|
|
17
|
+
|
|
18
|
+
{{#changed}}
|
|
19
|
+
### Changed
|
|
20
|
+
{{#changed}}
|
|
21
|
+
- {{.}}
|
|
22
|
+
{{/changed}}
|
|
23
|
+
{{/changed}}
|
|
24
|
+
|
|
25
|
+
{{#deprecated}}
|
|
26
|
+
### Deprecated
|
|
27
|
+
{{#deprecated}}
|
|
28
|
+
- {{.}}
|
|
29
|
+
{{/deprecated}}
|
|
30
|
+
{{/deprecated}}
|
|
31
|
+
|
|
32
|
+
{{#removed}}
|
|
33
|
+
### Removed
|
|
34
|
+
{{#removed}}
|
|
35
|
+
- {{.}}
|
|
36
|
+
{{/removed}}
|
|
37
|
+
{{/removed}}
|
|
38
|
+
|
|
39
|
+
{{#fixed}}
|
|
40
|
+
### Fixed
|
|
41
|
+
{{#fixed}}
|
|
42
|
+
- {{.}}
|
|
43
|
+
{{/fixed}}
|
|
44
|
+
{{/fixed}}
|
|
45
|
+
|
|
46
|
+
{{#security}}
|
|
47
|
+
### Security
|
|
48
|
+
{{#security}}
|
|
49
|
+
- {{.}}
|
|
50
|
+
{{/security}}
|
|
51
|
+
{{/security}}
|
|
52
|
+
|
|
53
|
+
{{/releases}}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Changelog Type Definition
|
|
2
|
+
|
|
3
|
+
id: changelog
|
|
4
|
+
display_name: Changelog
|
|
5
|
+
description: Version history and release notes
|
|
6
|
+
|
|
7
|
+
output_path: docs
|
|
8
|
+
|
|
9
|
+
file_naming:
|
|
10
|
+
pattern: "CHANGELOG.md"
|
|
11
|
+
slug_source: title
|
|
12
|
+
slug_max_length: 50
|
|
13
|
+
|
|
14
|
+
frontmatter:
|
|
15
|
+
required_fields:
|
|
16
|
+
- title
|
|
17
|
+
- type
|
|
18
|
+
optional_fields:
|
|
19
|
+
- version
|
|
20
|
+
- date
|
|
21
|
+
defaults:
|
|
22
|
+
type: changelog
|
|
23
|
+
title: Changelog
|
|
24
|
+
|
|
25
|
+
structure:
|
|
26
|
+
required_sections: []
|
|
27
|
+
optional_sections:
|
|
28
|
+
- Added
|
|
29
|
+
- Changed
|
|
30
|
+
- Deprecated
|
|
31
|
+
- Removed
|
|
32
|
+
- Fixed
|
|
33
|
+
- Security
|
|
34
|
+
section_order:
|
|
35
|
+
- Added
|
|
36
|
+
- Changed
|
|
37
|
+
- Deprecated
|
|
38
|
+
- Removed
|
|
39
|
+
- Fixed
|
|
40
|
+
- Security
|
|
41
|
+
|
|
42
|
+
status:
|
|
43
|
+
allowed_values:
|
|
44
|
+
- current
|
|
45
|
+
default: current
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Dataset Documentation Standards
|
|
2
|
+
|
|
3
|
+
## Required Conventions
|
|
4
|
+
|
|
5
|
+
- ALWAYS document all fields with types
|
|
6
|
+
- ALWAYS specify required vs optional fields
|
|
7
|
+
- ALWAYS include field descriptions
|
|
8
|
+
- ALWAYS document relationships
|
|
9
|
+
|
|
10
|
+
## Best Practices
|
|
11
|
+
|
|
12
|
+
- Include sample data
|
|
13
|
+
- Document validation rules
|
|
14
|
+
- Note data sources
|
|
15
|
+
- Keep schema documentation in sync with code
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# {{title}}
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
{{description}}
|
|
6
|
+
|
|
7
|
+
## Schema
|
|
8
|
+
|
|
9
|
+
| Field | Type | Required | Description |
|
|
10
|
+
|-------|------|----------|-------------|
|
|
11
|
+
{{#fields}}
|
|
12
|
+
| {{name}} | {{type}} | {{required}} | {{description}} |
|
|
13
|
+
{{/fields}}
|
|
14
|
+
|
|
15
|
+
## Relationships
|
|
16
|
+
|
|
17
|
+
{{#relationships}}
|
|
18
|
+
### {{name}}
|
|
19
|
+
|
|
20
|
+
- **Type:** {{type}}
|
|
21
|
+
- **Target:** {{target}}
|
|
22
|
+
- **Description:** {{description}}
|
|
23
|
+
{{/relationships}}
|
|
24
|
+
|
|
25
|
+
## Indexes
|
|
26
|
+
|
|
27
|
+
{{#indexes}}
|
|
28
|
+
| Name | Fields | Type |
|
|
29
|
+
|------|--------|------|
|
|
30
|
+
{{#indexes}}
|
|
31
|
+
| {{name}} | {{fields}} | {{type}} |
|
|
32
|
+
{{/indexes}}
|
|
33
|
+
{{/indexes}}
|
|
34
|
+
|
|
35
|
+
## Data Sources
|
|
36
|
+
|
|
37
|
+
{{#sources}}
|
|
38
|
+
- **{{name}}**: {{description}}
|
|
39
|
+
{{/sources}}
|
|
40
|
+
|
|
41
|
+
## Data Quality
|
|
42
|
+
|
|
43
|
+
### Validation Rules
|
|
44
|
+
|
|
45
|
+
{{#validation_rules}}
|
|
46
|
+
- {{.}}
|
|
47
|
+
{{/validation_rules}}
|
|
48
|
+
|
|
49
|
+
### Constraints
|
|
50
|
+
|
|
51
|
+
{{#constraints}}
|
|
52
|
+
- {{.}}
|
|
53
|
+
{{/constraints}}
|
|
54
|
+
|
|
55
|
+
## Sample Data
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
{{sample_data}}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Related Datasets
|
|
62
|
+
|
|
63
|
+
{{#related}}
|
|
64
|
+
- [{{name}}]({{path}})
|
|
65
|
+
{{/related}}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Dataset Documentation Type Definition
|
|
2
|
+
|
|
3
|
+
id: dataset
|
|
4
|
+
display_name: Dataset Documentation
|
|
5
|
+
description: Data schema documentation and field definitions
|
|
6
|
+
|
|
7
|
+
output_path: docs/data
|
|
8
|
+
|
|
9
|
+
file_naming:
|
|
10
|
+
pattern: "DATA-{slug}.md"
|
|
11
|
+
slug_source: title
|
|
12
|
+
slug_max_length: 50
|
|
13
|
+
|
|
14
|
+
frontmatter:
|
|
15
|
+
required_fields:
|
|
16
|
+
- title
|
|
17
|
+
- type
|
|
18
|
+
- status
|
|
19
|
+
- date
|
|
20
|
+
optional_fields:
|
|
21
|
+
- owner
|
|
22
|
+
- version
|
|
23
|
+
- tags
|
|
24
|
+
- related
|
|
25
|
+
- source
|
|
26
|
+
defaults:
|
|
27
|
+
type: dataset
|
|
28
|
+
status: draft
|
|
29
|
+
|
|
30
|
+
structure:
|
|
31
|
+
required_sections:
|
|
32
|
+
- Overview
|
|
33
|
+
- Schema
|
|
34
|
+
optional_sections:
|
|
35
|
+
- Relationships
|
|
36
|
+
- Indexes
|
|
37
|
+
- Data Sources
|
|
38
|
+
- Data Quality
|
|
39
|
+
- Sample Data
|
|
40
|
+
- Related Datasets
|
|
41
|
+
section_order:
|
|
42
|
+
- Overview
|
|
43
|
+
- Schema
|
|
44
|
+
- Relationships
|
|
45
|
+
- Indexes
|
|
46
|
+
- Data Sources
|
|
47
|
+
- Data Quality
|
|
48
|
+
- Sample Data
|
|
49
|
+
- Related Datasets
|
|
50
|
+
|
|
51
|
+
status:
|
|
52
|
+
allowed_values:
|
|
53
|
+
- draft
|
|
54
|
+
- review
|
|
55
|
+
- approved
|
|
56
|
+
- deprecated
|
|
57
|
+
default: draft
|
|
58
|
+
|
|
59
|
+
index_config:
|
|
60
|
+
index_file: docs/data/README.md
|
|
61
|
+
sort_by: title
|
|
62
|
+
sort_order: asc
|
|
63
|
+
entry_template: "- [{{title}}]({{relative_path}}) - {{status}}"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# ETL Pipeline Documentation Standards
|
|
2
|
+
|
|
3
|
+
## Required Conventions
|
|
4
|
+
|
|
5
|
+
- ALWAYS document data sources
|
|
6
|
+
- ALWAYS document transformations
|
|
7
|
+
- ALWAYS document destinations
|
|
8
|
+
- ALWAYS include scheduling information
|
|
9
|
+
|
|
10
|
+
## Best Practices
|
|
11
|
+
|
|
12
|
+
- Include pipeline diagrams
|
|
13
|
+
- Document error handling
|
|
14
|
+
- Set up monitoring and alerts
|
|
15
|
+
- Track data lineage
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# {{title}}
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
{{description}}
|
|
6
|
+
|
|
7
|
+
## Pipeline Diagram
|
|
8
|
+
|
|
9
|
+
```mermaid
|
|
10
|
+
{{diagram}}
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Sources
|
|
14
|
+
|
|
15
|
+
{{#sources}}
|
|
16
|
+
### {{name}}
|
|
17
|
+
|
|
18
|
+
- **Type:** {{type}}
|
|
19
|
+
- **Connection:** {{connection}}
|
|
20
|
+
- **Schedule:** {{schedule}}
|
|
21
|
+
- **Description:** {{description}}
|
|
22
|
+
{{/sources}}
|
|
23
|
+
|
|
24
|
+
## Transformations
|
|
25
|
+
|
|
26
|
+
{{#transformations}}
|
|
27
|
+
### {{name}}
|
|
28
|
+
|
|
29
|
+
**Input:** {{input}}
|
|
30
|
+
**Output:** {{output}}
|
|
31
|
+
|
|
32
|
+
{{description}}
|
|
33
|
+
|
|
34
|
+
```{{language}}
|
|
35
|
+
{{code}}
|
|
36
|
+
```
|
|
37
|
+
{{/transformations}}
|
|
38
|
+
|
|
39
|
+
## Destinations
|
|
40
|
+
|
|
41
|
+
{{#destinations}}
|
|
42
|
+
### {{name}}
|
|
43
|
+
|
|
44
|
+
- **Type:** {{type}}
|
|
45
|
+
- **Connection:** {{connection}}
|
|
46
|
+
- **Mode:** {{mode}}
|
|
47
|
+
{{/destinations}}
|
|
48
|
+
|
|
49
|
+
## Schedule
|
|
50
|
+
|
|
51
|
+
- **Frequency:** {{schedule.frequency}}
|
|
52
|
+
- **Timezone:** {{schedule.timezone}}
|
|
53
|
+
- **Dependencies:** {{schedule.dependencies}}
|
|
54
|
+
|
|
55
|
+
## Monitoring
|
|
56
|
+
|
|
57
|
+
### Alerts
|
|
58
|
+
|
|
59
|
+
{{#alerts}}
|
|
60
|
+
- **{{name}}**: {{condition}} → {{action}}
|
|
61
|
+
{{/alerts}}
|
|
62
|
+
|
|
63
|
+
### Metrics
|
|
64
|
+
|
|
65
|
+
{{#metrics}}
|
|
66
|
+
- {{name}}: {{description}}
|
|
67
|
+
{{/metrics}}
|
|
68
|
+
|
|
69
|
+
## Error Handling
|
|
70
|
+
|
|
71
|
+
{{error_handling}}
|
|
72
|
+
|
|
73
|
+
## Related Pipelines
|
|
74
|
+
|
|
75
|
+
{{#related}}
|
|
76
|
+
- [{{name}}]({{path}})
|
|
77
|
+
{{/related}}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# ETL Pipeline Documentation Type Definition
|
|
2
|
+
|
|
3
|
+
id: etl
|
|
4
|
+
display_name: ETL Pipeline Documentation
|
|
5
|
+
description: Data pipeline and ETL job documentation
|
|
6
|
+
|
|
7
|
+
output_path: docs/etl
|
|
8
|
+
|
|
9
|
+
file_naming:
|
|
10
|
+
pattern: "ETL-{slug}.md"
|
|
11
|
+
slug_source: title
|
|
12
|
+
slug_max_length: 50
|
|
13
|
+
|
|
14
|
+
frontmatter:
|
|
15
|
+
required_fields:
|
|
16
|
+
- title
|
|
17
|
+
- type
|
|
18
|
+
- status
|
|
19
|
+
- date
|
|
20
|
+
optional_fields:
|
|
21
|
+
- owner
|
|
22
|
+
- schedule
|
|
23
|
+
- tags
|
|
24
|
+
- related
|
|
25
|
+
- dependencies
|
|
26
|
+
defaults:
|
|
27
|
+
type: etl
|
|
28
|
+
status: draft
|
|
29
|
+
|
|
30
|
+
structure:
|
|
31
|
+
required_sections:
|
|
32
|
+
- Overview
|
|
33
|
+
- Sources
|
|
34
|
+
- Transformations
|
|
35
|
+
- Destinations
|
|
36
|
+
optional_sections:
|
|
37
|
+
- Pipeline Diagram
|
|
38
|
+
- Schedule
|
|
39
|
+
- Monitoring
|
|
40
|
+
- Error Handling
|
|
41
|
+
- Related Pipelines
|
|
42
|
+
section_order:
|
|
43
|
+
- Overview
|
|
44
|
+
- Pipeline Diagram
|
|
45
|
+
- Sources
|
|
46
|
+
- Transformations
|
|
47
|
+
- Destinations
|
|
48
|
+
- Schedule
|
|
49
|
+
- Monitoring
|
|
50
|
+
- Error Handling
|
|
51
|
+
- Related Pipelines
|
|
52
|
+
|
|
53
|
+
status:
|
|
54
|
+
allowed_values:
|
|
55
|
+
- draft
|
|
56
|
+
- development
|
|
57
|
+
- staging
|
|
58
|
+
- production
|
|
59
|
+
- deprecated
|
|
60
|
+
default: draft
|
|
61
|
+
|
|
62
|
+
index_config:
|
|
63
|
+
index_file: docs/etl/README.md
|
|
64
|
+
sort_by: title
|
|
65
|
+
sort_order: asc
|
|
66
|
+
entry_template: "- [{{title}}]({{relative_path}}) - {{status}}"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Guide Documentation Standards
|
|
2
|
+
|
|
3
|
+
## Required Conventions
|
|
4
|
+
|
|
5
|
+
- ALWAYS include clear overview
|
|
6
|
+
- ALWAYS list prerequisites
|
|
7
|
+
- ALWAYS provide step-by-step instructions
|
|
8
|
+
- ALWAYS include verification steps
|
|
9
|
+
|
|
10
|
+
## Best Practices
|
|
11
|
+
|
|
12
|
+
- Use numbered steps
|
|
13
|
+
- Include code examples
|
|
14
|
+
- Add troubleshooting section
|
|
15
|
+
- Link to related guides
|
|
16
|
+
- Specify difficulty level
|