-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontext7.json
More file actions
63 lines (63 loc) · 2.41 KB
/
context7.json
File metadata and controls
63 lines (63 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"$schema": "https://context7.com/schema/context7.json",
"projectTitle": "Ason - Project Scaffolding Tool",
"description": "A template-based project scaffolding tool that transforms Jinja2-like templates into fully-formed projects with variable substitution, XDG compliance, and binary preservation. Ason provides both CLI and programmatic APIs for project generation and template management.",
"url": "https://context7.com/madstone-tech/ason",
"public_key": "pk_rTSBinShGRDJogyhauf9L",
"branch": "main",
"folders": ["docs", "pkg", "examples"],
"excludeFolders": [
"src",
"internal",
"cmd",
"tests",
".github",
"roadmap",
"node_modules",
".test",
".git"
],
"excludeFiles": [
"CHANGELOG.md",
"SECURITY.md",
"LICENSE",
"CODE_OF_CONDUCT.md",
"TESTING_GUIDE.md"
],
"rules": [
"Always use the public API from pkg/ (Generator, Registry, Engine) for programmatic access",
"CLI users: Use 'ason new TEMPLATE OUTPUT --var key=value' for project generation",
"Use NewDefaultEngine() for Pongo2 template engine, or implement custom Engine interface for custom templating",
"Registry uses XDG Base Directory specification (~/.local/share/ason/registry.toml) - follows OS conventions",
"All paths are validated for path traversal attacks - Ason prevents directory escape attacks",
"Template variables must be valid identifiers (alphanumeric + underscore)",
"Binary files are automatically detected and preserved during generation - no text transformation applied",
"Use context.Context for cancellation and timeout support in Generate() for graceful shutdown",
"Thread-safe operations: Generator uses RWMutex, Registry supports concurrent reads with serialized writes",
"Always handle errors returned by Generate() and Registry methods - never ignore them",
"For template development: Use 'ason validate' CLI command to check template syntax before use",
"For large files (>10MB), consider streaming approach documented in Phase 3 roadmap for better performance"
],
"previousVersions": [
{
"tag": "v0.3.1",
"title": "v0.3.1 - Linting & Quality Improvements"
},
{
"tag": "v0.3.0",
"title": "v0.3.0 - Library Export Release"
},
{
"tag": "v0.2.2",
"title": "v0.2.2"
},
{
"tag": "v0.2.1",
"title": "v0.2.1"
},
{
"tag": "v0.2.0",
"title": "v0.2.0"
}
]
}