docs(engineering): add project audit report and improvement plan
This commit introduces a comprehensive engineering audit report for the Tootaio Studio project. The report is structured into documents covering architecture, code quality, performance, security, CI/CD, and observability. It also includes a phased improvement roadmap and a set of `.patch` files to apply immediate fixes for content schemas, package scripts, and CI configuration.
This commit is contained in:
89
docs/20251106/patches/0001-content-config-align.patch
Normal file
89
docs/20251106/patches/0001-content-config-align.patch
Normal file
@@ -0,0 +1,89 @@
|
||||
diff --git a/content.config.ts b/content.config.ts
|
||||
--- a/content.config.ts
|
||||
+++ b/content.config.ts
|
||||
@@
|
||||
const defineIndexSchema = () =>
|
||||
- z.object({
|
||||
- capabilities: z.object({
|
||||
- title: z.string(),
|
||||
- features: z.array(
|
||||
- z.object({
|
||||
- title: z.string(),
|
||||
- description: z.string(),
|
||||
- icon: z.string(),
|
||||
- })
|
||||
- ),
|
||||
- }),
|
||||
- featuredProjects: z.object({
|
||||
- title: z.string(),
|
||||
- projects: z.array(
|
||||
- z.object({
|
||||
- title: z.string(),
|
||||
- description: z.string(),
|
||||
- image: z.string(),
|
||||
- demoLink: z.string(),
|
||||
- highlight: z.boolean(),
|
||||
- spotlight: z.boolean(),
|
||||
- })
|
||||
- ),
|
||||
- }),
|
||||
- techStack: z.object({
|
||||
- title: z.string(),
|
||||
- }),
|
||||
- whyChooseUs: z.object({
|
||||
- title: z.string(),
|
||||
- features: z.array(
|
||||
- z.object({
|
||||
- title: z.string(),
|
||||
- description: z.string(),
|
||||
- icon: z.string(),
|
||||
- })
|
||||
- ),
|
||||
- }),
|
||||
- });
|
||||
+ z.object({
|
||||
+ title: z.string(),
|
||||
+ description: z.string(),
|
||||
+ seo: z
|
||||
+ .object({
|
||||
+ title: z.string().optional(),
|
||||
+ description: z.string().optional(),
|
||||
+ })
|
||||
+ .optional(),
|
||||
+ capabilities: z.object({
|
||||
+ title: z.string(),
|
||||
+ features: z.array(
|
||||
+ z.object({
|
||||
+ title: z.string(),
|
||||
+ description: z.string(),
|
||||
+ icon: z.string().optional(),
|
||||
+ })
|
||||
+ ),
|
||||
+ }),
|
||||
+ featuredProjects: z.object({
|
||||
+ title: z.string(),
|
||||
+ projects: z.array(
|
||||
+ z.object({
|
||||
+ title: z.string(),
|
||||
+ description: z.string(),
|
||||
+ image: z.string(),
|
||||
+ demoLink: z.string().url().optional(),
|
||||
+ highlight: z.boolean().optional().default(false),
|
||||
+ spotlight: z.boolean().optional().default(false),
|
||||
+ })
|
||||
+ ),
|
||||
+ }),
|
||||
+ techStack: z.object({
|
||||
+ title: z.string(),
|
||||
+ }),
|
||||
+ whyChooseUs: z.object({
|
||||
+ title: z.string(),
|
||||
+ features: z.array(
|
||||
+ z.object({
|
||||
+ title: z.string(),
|
||||
+ description: z.string(),
|
||||
+ icon: z.string().optional(),
|
||||
+ })
|
||||
+ ),
|
||||
+ }),
|
||||
+ });
|
||||
Reference in New Issue
Block a user