ai-devkit 0.3.2 → 0.4.0
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/README.md +15 -165
- package/dist/__tests__/lib/Config.test.d.ts +2 -0
- package/dist/__tests__/lib/Config.test.d.ts.map +1 -0
- package/dist/__tests__/lib/Config.test.js +281 -0
- package/dist/__tests__/lib/Config.test.js.map +1 -0
- package/dist/__tests__/lib/EnvironmentSelector.test.d.ts +2 -0
- package/dist/__tests__/lib/EnvironmentSelector.test.d.ts.map +1 -0
- package/dist/__tests__/lib/EnvironmentSelector.test.js +117 -0
- package/dist/__tests__/lib/EnvironmentSelector.test.js.map +1 -0
- package/dist/__tests__/lib/PhaseSelector.test.d.ts +2 -0
- package/dist/__tests__/lib/PhaseSelector.test.d.ts.map +1 -0
- package/dist/__tests__/lib/PhaseSelector.test.js +77 -0
- package/dist/__tests__/lib/PhaseSelector.test.js.map +1 -0
- package/dist/__tests__/util/env.test.d.ts +2 -0
- package/dist/__tests__/util/env.test.d.ts.map +1 -0
- package/dist/__tests__/util/env.test.js +166 -0
- package/dist/__tests__/util/env.test.js.map +1 -0
- package/dist/cli.js +0 -0
- package/dist/commands/init.d.ts +2 -2
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +54 -67
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/phase.js +1 -1
- package/dist/commands/phase.js.map +1 -1
- package/dist/lib/Config.d.ts +5 -2
- package/dist/lib/Config.d.ts.map +1 -1
- package/dist/lib/Config.js +18 -3
- package/dist/lib/Config.js.map +1 -1
- package/dist/lib/EnvironmentSelector.d.ts +7 -0
- package/dist/lib/EnvironmentSelector.d.ts.map +1 -0
- package/dist/lib/EnvironmentSelector.js +62 -0
- package/dist/lib/EnvironmentSelector.js.map +1 -0
- package/dist/lib/PhaseSelector.d.ts +8 -0
- package/dist/lib/PhaseSelector.d.ts.map +1 -0
- package/dist/lib/PhaseSelector.js +58 -0
- package/dist/lib/PhaseSelector.js.map +1 -0
- package/dist/lib/TemplateManager.d.ts +5 -5
- package/dist/lib/TemplateManager.d.ts.map +1 -1
- package/dist/lib/TemplateManager.js +73 -60
- package/dist/lib/TemplateManager.js.map +1 -1
- package/dist/types.d.ts +9 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/util/env.d.ts +11 -0
- package/dist/util/env.d.ts.map +1 -0
- package/dist/util/env.js +109 -0
- package/dist/util/env.js.map +1 -0
- package/jest.config.js +22 -0
- package/package.json +16 -10
- package/web/.nojekyll +2 -0
- package/web/CNAME +1 -0
- package/web/README.md +100 -0
- package/web/app/favicon.ico +0 -0
- package/web/app/globals.css +122 -0
- package/web/app/layout.tsx +106 -0
- package/web/app/page.tsx +119 -0
- package/web/app/roadmap/page.tsx +150 -0
- package/web/app/robots.ts +16 -0
- package/web/app/sitemap.ts +46 -0
- package/web/app/vision/page.tsx +49 -0
- package/web/components/Footer.tsx +81 -0
- package/web/components/GitHubButton.tsx +49 -0
- package/web/components/GitHubStars.tsx +27 -0
- package/web/components/Header.tsx +108 -0
- package/web/components/MarkdownContent.tsx +35 -0
- package/web/components/SkipToContent.tsx +11 -0
- package/web/content/pages/vision.md +42 -0
- package/web/content/roadmap/1-web.md +9 -0
- package/web/content/roadmap/2-integrations.md +7 -0
- package/web/content/roadmap/3-cli-enhancements.md +8 -0
- package/web/content/roadmap/4-local-memory.md +8 -0
- package/web/eslint.config.mjs +18 -0
- package/web/lib/GitHubContext.tsx +57 -0
- package/web/lib/content/loader.ts +152 -0
- package/web/lib/content/types.ts +37 -0
- package/web/lib/utils.ts +12 -0
- package/web/next.config.ts +11 -0
- package/web/package-lock.json +8837 -0
- package/web/package.json +34 -0
- package/web/postcss.config.mjs +7 -0
- package/web/public/file.svg +1 -0
- package/web/public/globe.svg +1 -0
- package/web/public/next.svg +1 -0
- package/web/public/vercel.svg +1 -0
- package/web/public/window.svg +1 -0
- package/templates/env/claude/CLAUDE.md +0 -52
- package/templates/env/cursor/AGENTS.md +0 -51
- package/templates/env/cursor/rules/base.md +0 -1
package/web/README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# AI DevKit Website
|
|
2
|
+
|
|
3
|
+
This is the source code for the AI DevKit static website built with Next.js.
|
|
4
|
+
|
|
5
|
+
## Development
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install
|
|
9
|
+
npm run dev
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Open [http://localhost:3000](http://localhost:3000) to view the site.
|
|
13
|
+
|
|
14
|
+
## Building
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm run build
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
This generates static files in the `out/` directory.
|
|
21
|
+
|
|
22
|
+
## Deployment
|
|
23
|
+
|
|
24
|
+
The site is automatically deployed to GitHub Pages when changes are pushed to the `main` branch.
|
|
25
|
+
|
|
26
|
+
### Manual Deployment Setup
|
|
27
|
+
|
|
28
|
+
1. Go to your repository settings on GitHub
|
|
29
|
+
2. Navigate to **Settings > Pages**
|
|
30
|
+
3. Under **Source**, select **GitHub Actions**
|
|
31
|
+
4. The workflow will run automatically on push to main
|
|
32
|
+
|
|
33
|
+
## Project Structure
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
web/
|
|
37
|
+
├── app/ # Next.js app directory
|
|
38
|
+
│ ├── docs/ # Documentation pages
|
|
39
|
+
│ ├── roadmap/ # Roadmap page
|
|
40
|
+
│ ├── vision/ # Vision page
|
|
41
|
+
│ ├── layout.tsx # Root layout
|
|
42
|
+
│ └── page.tsx # Landing page
|
|
43
|
+
├── components/ # Reusable components
|
|
44
|
+
├── content/ # Markdown content
|
|
45
|
+
│ ├── docs/ # Documentation files
|
|
46
|
+
│ ├── pages/ # Static pages
|
|
47
|
+
│ └── roadmap/ # Roadmap items
|
|
48
|
+
├── lib/ # Utilities and helpers
|
|
49
|
+
│ └── content/ # Content loading utilities
|
|
50
|
+
└── public/ # Static assets
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Content Management
|
|
54
|
+
|
|
55
|
+
All content is managed via Markdown files with frontmatter:
|
|
56
|
+
|
|
57
|
+
- Documentation: `content/docs/*.md`
|
|
58
|
+
- Pages (vision, etc): `content/pages/*.md`
|
|
59
|
+
- Roadmap items: `content/roadmap/*.md`
|
|
60
|
+
|
|
61
|
+
### Adding New Documentation
|
|
62
|
+
|
|
63
|
+
Create a new file in `content/docs/`:
|
|
64
|
+
|
|
65
|
+
```markdown
|
|
66
|
+
---
|
|
67
|
+
title: Your Doc Title
|
|
68
|
+
description: Brief description
|
|
69
|
+
slug: your-doc-slug
|
|
70
|
+
order: 1
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
# Your content here...
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Adding Roadmap Items
|
|
77
|
+
|
|
78
|
+
Create a new file in `content/roadmap/`:
|
|
79
|
+
|
|
80
|
+
```markdown
|
|
81
|
+
---
|
|
82
|
+
title: Feature Name
|
|
83
|
+
status: planned | in-progress | completed | on-hold
|
|
84
|
+
timeframe: Q1 2026
|
|
85
|
+
priority: high | medium | low
|
|
86
|
+
order: 1
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
Feature description...
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## SEO
|
|
93
|
+
|
|
94
|
+
The site includes:
|
|
95
|
+
|
|
96
|
+
- Comprehensive metadata
|
|
97
|
+
- Sitemap at `/sitemap.xml`
|
|
98
|
+
- Robots.txt at `/robots.txt`
|
|
99
|
+
- Open Graph tags for social sharing
|
|
100
|
+
- Semantic HTML and ARIA labels
|
|
Binary file
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--color-white: #ffffff;
|
|
5
|
+
--color-black: #000000;
|
|
6
|
+
--color-gray-50: #fafafa;
|
|
7
|
+
--color-gray-100: #f5f5f5;
|
|
8
|
+
--color-gray-200: #e5e5e5;
|
|
9
|
+
--color-gray-300: #d4d4d4;
|
|
10
|
+
--color-gray-400: #a3a3a3;
|
|
11
|
+
--color-gray-500: #737373;
|
|
12
|
+
--color-gray-600: #525252;
|
|
13
|
+
--color-gray-700: #404040;
|
|
14
|
+
--color-gray-800: #262626;
|
|
15
|
+
--color-gray-900: #171717;
|
|
16
|
+
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
17
|
+
--font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body {
|
|
21
|
+
background: #ffffff;
|
|
22
|
+
color: #000000;
|
|
23
|
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
24
|
+
-webkit-font-smoothing: antialiased;
|
|
25
|
+
-moz-osx-font-smoothing: grayscale;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h1, h2, h3, h4, h5, h6 {
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
line-height: 1.2;
|
|
31
|
+
margin-bottom: 0.5em;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 { font-size: 2.5rem; }
|
|
35
|
+
h2 { font-size: 2rem; }
|
|
36
|
+
h3 { font-size: 1.75rem; }
|
|
37
|
+
h4 { font-size: 1.5rem; }
|
|
38
|
+
h5 { font-size: 1.25rem; }
|
|
39
|
+
h6 { font-size: 1rem; }
|
|
40
|
+
|
|
41
|
+
p {
|
|
42
|
+
line-height: 1.6;
|
|
43
|
+
margin-bottom: 1em;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
a {
|
|
47
|
+
transition: opacity 0.2s;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
a:hover {
|
|
51
|
+
opacity: 0.7;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
code {
|
|
55
|
+
background: #f5f5f5;
|
|
56
|
+
color: #000000;
|
|
57
|
+
padding: 0.2em 0.4em;
|
|
58
|
+
border-radius: 3px;
|
|
59
|
+
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
|
|
60
|
+
font-size: 0.9em;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
pre code {
|
|
64
|
+
background: transparent;
|
|
65
|
+
padding: 0;
|
|
66
|
+
color: inherit;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
pre {
|
|
70
|
+
padding: 1rem;
|
|
71
|
+
border-radius: 0.5rem;
|
|
72
|
+
overflow-x: auto;
|
|
73
|
+
margin: 1.5rem 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
article pre {
|
|
77
|
+
background: #000000;
|
|
78
|
+
color: #ffffff;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.sr-only {
|
|
82
|
+
position: absolute;
|
|
83
|
+
width: 1px;
|
|
84
|
+
height: 1px;
|
|
85
|
+
padding: 0;
|
|
86
|
+
margin: -1px;
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
clip: rect(0, 0, 0, 0);
|
|
89
|
+
white-space: nowrap;
|
|
90
|
+
border-width: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.focus\:not-sr-only:focus {
|
|
94
|
+
position: static;
|
|
95
|
+
width: auto;
|
|
96
|
+
height: auto;
|
|
97
|
+
padding: inherit;
|
|
98
|
+
margin: inherit;
|
|
99
|
+
overflow: visible;
|
|
100
|
+
clip: auto;
|
|
101
|
+
white-space: normal;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
*:focus-visible {
|
|
105
|
+
outline: 2px solid #000000;
|
|
106
|
+
outline-offset: 2px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
h1, h2, h3, h4, h5, h6, p, span, div {
|
|
110
|
+
color: inherit;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
article ul, article ol {
|
|
114
|
+
list-style-type: unset;
|
|
115
|
+
padding-left: 1em;
|
|
116
|
+
margin-bottom: 1em;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
article a {
|
|
120
|
+
text-decoration: underline;
|
|
121
|
+
text-underline-offset: 2px;
|
|
122
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { Metadata } from "next";
|
|
2
|
+
import "./globals.css";
|
|
3
|
+
import Header from "@/components/Header";
|
|
4
|
+
import Footer from "@/components/Footer";
|
|
5
|
+
import SkipToContent from "@/components/SkipToContent";
|
|
6
|
+
import { GitHubProvider } from "@/lib/GitHubContext";
|
|
7
|
+
import Script from "next/script";
|
|
8
|
+
|
|
9
|
+
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://ai-devkit.com";
|
|
10
|
+
|
|
11
|
+
export const metadata: Metadata = {
|
|
12
|
+
metadataBase: new URL(siteUrl),
|
|
13
|
+
title: {
|
|
14
|
+
default: "AI DevKit - Structured AI-Assisted Development",
|
|
15
|
+
template: "%s | AI DevKit",
|
|
16
|
+
},
|
|
17
|
+
description:
|
|
18
|
+
"A CLI toolkit for AI-assisted software development with phase templates and structured workflows. Improve your development process with requirements, design, planning, and testing documentation.",
|
|
19
|
+
keywords: [
|
|
20
|
+
"AI",
|
|
21
|
+
"development",
|
|
22
|
+
"CLI",
|
|
23
|
+
"templates",
|
|
24
|
+
"documentation",
|
|
25
|
+
"structured development",
|
|
26
|
+
"AI-assisted coding",
|
|
27
|
+
"software engineering",
|
|
28
|
+
"project management",
|
|
29
|
+
"development workflow",
|
|
30
|
+
"specs driven development",
|
|
31
|
+
],
|
|
32
|
+
authors: [{ name: "AI DevKit Team" }],
|
|
33
|
+
creator: "AI DevKit",
|
|
34
|
+
publisher: "AI DevKit",
|
|
35
|
+
openGraph: {
|
|
36
|
+
title: "AI DevKit - Structured AI-Assisted Development",
|
|
37
|
+
description:
|
|
38
|
+
"A CLI toolkit for AI-assisted software development with phase templates and structured workflows.",
|
|
39
|
+
url: siteUrl,
|
|
40
|
+
siteName: "AI DevKit",
|
|
41
|
+
locale: "en_US",
|
|
42
|
+
type: "website",
|
|
43
|
+
},
|
|
44
|
+
twitter: {
|
|
45
|
+
card: "summary_large_image",
|
|
46
|
+
title: "AI DevKit - Structured AI-Assisted Development",
|
|
47
|
+
description:
|
|
48
|
+
"A CLI toolkit for AI-assisted software development with phase templates and structured workflows.",
|
|
49
|
+
},
|
|
50
|
+
robots: {
|
|
51
|
+
index: true,
|
|
52
|
+
follow: true,
|
|
53
|
+
googleBot: {
|
|
54
|
+
index: true,
|
|
55
|
+
follow: true,
|
|
56
|
+
"max-video-preview": -1,
|
|
57
|
+
"max-image-preview": "large",
|
|
58
|
+
"max-snippet": -1,
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export default function RootLayout({
|
|
64
|
+
children,
|
|
65
|
+
}: Readonly<{
|
|
66
|
+
children: React.ReactNode;
|
|
67
|
+
}>) {
|
|
68
|
+
return (
|
|
69
|
+
<html lang="en">
|
|
70
|
+
<body className="flex flex-col min-h-screen">
|
|
71
|
+
<Script
|
|
72
|
+
async
|
|
73
|
+
src="https://www.googletagmanager.com/gtag/js?id=G-XYJ8T5JK0Y"
|
|
74
|
+
></Script>
|
|
75
|
+
<Script>
|
|
76
|
+
{`
|
|
77
|
+
window.dataLayer = window.dataLayer || [];
|
|
78
|
+
function gtag(){dataLayer.push(arguments);}
|
|
79
|
+
gtag('js', new Date());
|
|
80
|
+
gtag('config', 'G-XYJ8T5JK0Y');
|
|
81
|
+
`}
|
|
82
|
+
</Script>
|
|
83
|
+
<GitHubProvider repo="codeaholicguy/ai-devkit">
|
|
84
|
+
<SkipToContent />
|
|
85
|
+
<Header />
|
|
86
|
+
<main id="main-content" className="flex-1">
|
|
87
|
+
{children}
|
|
88
|
+
</main>
|
|
89
|
+
<Footer />
|
|
90
|
+
<Script
|
|
91
|
+
id="structured-data"
|
|
92
|
+
type="application/ld+json"
|
|
93
|
+
dangerouslySetInnerHTML={{
|
|
94
|
+
__html: JSON.stringify({
|
|
95
|
+
"@context": "https://schema.org",
|
|
96
|
+
"@type": "website",
|
|
97
|
+
name: "AI DevKit",
|
|
98
|
+
url: siteUrl,
|
|
99
|
+
}),
|
|
100
|
+
}}
|
|
101
|
+
/>
|
|
102
|
+
</GitHubProvider>
|
|
103
|
+
</body>
|
|
104
|
+
</html>
|
|
105
|
+
);
|
|
106
|
+
}
|
package/web/app/page.tsx
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import Link from "next/link";
|
|
2
|
+
import GitHubButton from "@/components/GitHubButton";
|
|
3
|
+
|
|
4
|
+
export default function Home() {
|
|
5
|
+
return (
|
|
6
|
+
<div className="bg-white">
|
|
7
|
+
<section className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-20 md:py-32">
|
|
8
|
+
<div className="text-center">
|
|
9
|
+
<h1 className="text-4xl md:text-6xl font-bold mb-6">
|
|
10
|
+
Structured AI-Assisted
|
|
11
|
+
<br />
|
|
12
|
+
Development
|
|
13
|
+
</h1>
|
|
14
|
+
<p className="text-xl md:text-2xl text-gray-600 mb-8 max-w-3xl mx-auto">
|
|
15
|
+
A CLI toolkit that brings structure to AI-assisted software development with phase templates,
|
|
16
|
+
systematic planning, and comprehensive documentation workflows.
|
|
17
|
+
</p>
|
|
18
|
+
<div className="flex flex-col sm:flex-row gap-4 justify-center items-center">
|
|
19
|
+
<Link
|
|
20
|
+
href="/docs"
|
|
21
|
+
className="px-8 py-3 bg-black text-white rounded-lg font-medium hover:bg-gray-800 transition-colors no-underline"
|
|
22
|
+
>
|
|
23
|
+
Get Started
|
|
24
|
+
</Link>
|
|
25
|
+
<GitHubButton repo="codeaholicguy/ai-devkit" />
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</section>
|
|
29
|
+
|
|
30
|
+
<section className="bg-gray-50 py-20">
|
|
31
|
+
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
|
32
|
+
<h2 className="text-3xl md:text-4xl font-bold text-center mb-12">
|
|
33
|
+
Why AI DevKit?
|
|
34
|
+
</h2>
|
|
35
|
+
<div className="grid md:grid-cols-3 gap-8">
|
|
36
|
+
<div className="bg-white p-8 rounded-lg border border-gray-200">
|
|
37
|
+
<h3 className="text-xl font-bold mb-3">Documentation-First</h3>
|
|
38
|
+
<p className="text-gray-600 leading-relaxed">
|
|
39
|
+
Start with clear requirements, design decisions, and implementation plans.
|
|
40
|
+
Keep your project knowledge organized and accessible.
|
|
41
|
+
</p>
|
|
42
|
+
</div>
|
|
43
|
+
<div className="bg-white p-8 rounded-lg border border-gray-200">
|
|
44
|
+
<h3 className="text-xl font-bold mb-3">Phase-Based Workflow</h3>
|
|
45
|
+
<p className="text-gray-600 leading-relaxed">
|
|
46
|
+
Move systematically through requirements, design, planning, implementation,
|
|
47
|
+
and testing. No step gets skipped.
|
|
48
|
+
</p>
|
|
49
|
+
</div>
|
|
50
|
+
<div className="bg-white p-8 rounded-lg border border-gray-200">
|
|
51
|
+
<h3 className="text-xl font-bold mb-3">AI-Friendly Context</h3>
|
|
52
|
+
<p className="text-gray-600 leading-relaxed">
|
|
53
|
+
Organize project knowledge so AI assistants provide better guidance.
|
|
54
|
+
Amplify human capabilities with structured context.
|
|
55
|
+
</p>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</section>
|
|
60
|
+
|
|
61
|
+
<section className="py-20">
|
|
62
|
+
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
|
63
|
+
<div className="max-w-3xl mx-auto">
|
|
64
|
+
<h2 className="text-3xl md:text-4xl font-bold mb-8 text-center">
|
|
65
|
+
Quick Start
|
|
66
|
+
</h2>
|
|
67
|
+
<div className="bg-gray-50 p-8 rounded-lg border border-gray-200">
|
|
68
|
+
<p className="text-gray-600 mb-4">Install AI DevKit globally:</p>
|
|
69
|
+
<pre className="bg-black text-white p-4 rounded overflow-x-auto">
|
|
70
|
+
<code>npm install -g ai-devkit</code>
|
|
71
|
+
</pre>
|
|
72
|
+
<p className="text-gray-600 mt-6 mb-4">Initialize in your project:</p>
|
|
73
|
+
<pre className="bg-black text-white p-4 rounded overflow-x-auto">
|
|
74
|
+
<code>ai-devkit init</code>
|
|
75
|
+
</pre>
|
|
76
|
+
<p className="text-gray-600 mt-6">or</p>
|
|
77
|
+
<pre className="bg-black text-white p-4 rounded overflow-x-auto">
|
|
78
|
+
<code>npx ai-devkit init</code>
|
|
79
|
+
</pre>
|
|
80
|
+
<p className="text-gray-600 mt-6">
|
|
81
|
+
This creates a <code>docs/ai/</code> directory with phase templates for
|
|
82
|
+
requirements, design, planning, implementation, testing, deployment, and monitoring.
|
|
83
|
+
</p>
|
|
84
|
+
<p className="text-gray-600 mt-6">
|
|
85
|
+
In Cursor or Claude Code, type <code>/new-requirement</code> to get started.
|
|
86
|
+
</p>
|
|
87
|
+
<iframe src="https://www.youtube.com/embed/8cNFkHEVE3o?autoplay=1&mute=1&loop=1&controls=0" className="w-full h-[440px]" />
|
|
88
|
+
</div>
|
|
89
|
+
<div className="text-center mt-8">
|
|
90
|
+
<Link
|
|
91
|
+
href="/docs"
|
|
92
|
+
className="text-lg font-medium hover:opacity-70 transition-opacity"
|
|
93
|
+
>
|
|
94
|
+
Read the full documentation →
|
|
95
|
+
</Link>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</section>
|
|
100
|
+
|
|
101
|
+
<section className="bg-black text-white py-20">
|
|
102
|
+
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 text-center">
|
|
103
|
+
<h2 className="text-3xl md:text-4xl font-bold mb-6">
|
|
104
|
+
Ready to structure your development?
|
|
105
|
+
</h2>
|
|
106
|
+
<p className="text-xl text-gray-300 mb-8 max-w-2xl mx-auto">
|
|
107
|
+
Join developers who are building better software with AI assistance and structured workflows.
|
|
108
|
+
</p>
|
|
109
|
+
<Link
|
|
110
|
+
href="/docs"
|
|
111
|
+
className="inline-block px-8 py-3 bg-white text-black rounded-lg font-medium hover:bg-gray-100 transition-colors no-underline"
|
|
112
|
+
>
|
|
113
|
+
Get Started Now
|
|
114
|
+
</Link>
|
|
115
|
+
</div>
|
|
116
|
+
</section>
|
|
117
|
+
</div>
|
|
118
|
+
);
|
|
119
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { getRoadmap } from '@/lib/content/loader';
|
|
2
|
+
import MarkdownContent from '@/components/MarkdownContent';
|
|
3
|
+
import type { Metadata } from 'next';
|
|
4
|
+
|
|
5
|
+
export const metadata: Metadata = {
|
|
6
|
+
title: 'Roadmap | AI DevKit',
|
|
7
|
+
description: 'The development roadmap for AI DevKit - see what we\'re building and where we\'re headed.',
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const statusColors = {
|
|
11
|
+
'planned': 'bg-gray-100 text-gray-800 border-gray-300',
|
|
12
|
+
'in-progress': 'bg-blue-50 text-blue-800 border-blue-300',
|
|
13
|
+
'completed': 'bg-green-50 text-green-800 border-green-300',
|
|
14
|
+
'on-hold': 'bg-yellow-50 text-yellow-800 border-yellow-300',
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const statusLabels = {
|
|
18
|
+
'planned': 'Planned',
|
|
19
|
+
'in-progress': 'In Progress',
|
|
20
|
+
'completed': 'Completed',
|
|
21
|
+
'on-hold': 'On Hold',
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default function RoadmapPage() {
|
|
25
|
+
const roadmapItems = getRoadmap();
|
|
26
|
+
|
|
27
|
+
const groupedItems = {
|
|
28
|
+
'in-progress': roadmapItems.filter(item => item.metadata.status === 'in-progress'),
|
|
29
|
+
'planned': roadmapItems.filter(item => item.metadata.status === 'planned'),
|
|
30
|
+
'completed': roadmapItems.filter(item => item.metadata.status === 'completed'),
|
|
31
|
+
'on-hold': roadmapItems.filter(item => item.metadata.status === 'on-hold'),
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<div className="bg-white py-16">
|
|
36
|
+
<div className="mx-auto max-w-5xl px-4 sm:px-6 lg:px-8">
|
|
37
|
+
<h1 className="text-4xl md:text-5xl font-bold mb-4">Roadmap</h1>
|
|
38
|
+
|
|
39
|
+
<p className="text-xl text-gray-600 mb-12">
|
|
40
|
+
Our development roadmap shows what we're working on and what's coming next for AI DevKit.
|
|
41
|
+
</p>
|
|
42
|
+
|
|
43
|
+
{roadmapItems.length === 0 ? (
|
|
44
|
+
<div className="bg-gray-50 border border-gray-200 rounded-lg p-8">
|
|
45
|
+
<p className="text-gray-600">
|
|
46
|
+
Roadmap items will be added soon. Check back later or follow us on GitHub for updates.
|
|
47
|
+
</p>
|
|
48
|
+
</div>
|
|
49
|
+
) : (
|
|
50
|
+
<div className="space-y-12">
|
|
51
|
+
{groupedItems['in-progress'].length > 0 && (
|
|
52
|
+
<section>
|
|
53
|
+
<h2 className="text-2xl font-bold mb-6 flex items-center gap-3">
|
|
54
|
+
<span className="w-3 h-3 bg-blue-500 rounded-full"></span>
|
|
55
|
+
In Progress
|
|
56
|
+
</h2>
|
|
57
|
+
<div className="space-y-6">
|
|
58
|
+
{groupedItems['in-progress'].map((item, index) => (
|
|
59
|
+
<RoadmapItem key={index} item={item} />
|
|
60
|
+
))}
|
|
61
|
+
</div>
|
|
62
|
+
</section>
|
|
63
|
+
)}
|
|
64
|
+
|
|
65
|
+
{groupedItems['planned'].length > 0 && (
|
|
66
|
+
<section>
|
|
67
|
+
<h2 className="text-2xl font-bold mb-6 flex items-center gap-3">
|
|
68
|
+
<span className="w-3 h-3 bg-gray-400 rounded-full"></span>
|
|
69
|
+
Planned
|
|
70
|
+
</h2>
|
|
71
|
+
<div className="space-y-6">
|
|
72
|
+
{groupedItems['planned'].map((item, index) => (
|
|
73
|
+
<RoadmapItem key={index} item={item} />
|
|
74
|
+
))}
|
|
75
|
+
</div>
|
|
76
|
+
</section>
|
|
77
|
+
)}
|
|
78
|
+
|
|
79
|
+
{groupedItems['completed'].length > 0 && (
|
|
80
|
+
<section>
|
|
81
|
+
<h2 className="text-2xl font-bold mb-6 flex items-center gap-3">
|
|
82
|
+
<span className="w-3 h-3 bg-green-500 rounded-full"></span>
|
|
83
|
+
Completed
|
|
84
|
+
</h2>
|
|
85
|
+
<div className="space-y-6">
|
|
86
|
+
{groupedItems['completed'].map((item, index) => (
|
|
87
|
+
<RoadmapItem key={index} item={item} />
|
|
88
|
+
))}
|
|
89
|
+
</div>
|
|
90
|
+
</section>
|
|
91
|
+
)}
|
|
92
|
+
</div>
|
|
93
|
+
)}
|
|
94
|
+
|
|
95
|
+
<div className="mt-16 pt-8 border-t border-gray-200">
|
|
96
|
+
<div className="bg-gray-50 p-8 rounded-lg border border-gray-200">
|
|
97
|
+
<h2 className="text-2xl font-bold mb-4">Have ideas?</h2>
|
|
98
|
+
<p className="text-gray-600 mb-6">
|
|
99
|
+
We'd love to hear your suggestions for AI DevKit. Open an issue or discussion on GitHub to share your thoughts.
|
|
100
|
+
</p>
|
|
101
|
+
<div className="flex flex-col sm:flex-row gap-4">
|
|
102
|
+
<a
|
|
103
|
+
href="https://github.com/codeaholicguy/ai-devkit/issues/new"
|
|
104
|
+
target="_blank"
|
|
105
|
+
rel="noopener noreferrer"
|
|
106
|
+
className="px-6 py-3 bg-black text-white rounded-lg font-medium hover:bg-gray-800 transition-colors no-underline text-center"
|
|
107
|
+
>
|
|
108
|
+
Submit an Idea
|
|
109
|
+
</a>
|
|
110
|
+
<a
|
|
111
|
+
href="https://github.com/codeaholicguy/ai-devkit/discussions"
|
|
112
|
+
target="_blank"
|
|
113
|
+
rel="noopener noreferrer"
|
|
114
|
+
className="px-6 py-3 border border-black rounded-lg font-medium hover:bg-gray-50 transition-colors no-underline text-center"
|
|
115
|
+
>
|
|
116
|
+
Join Discussion
|
|
117
|
+
</a>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function RoadmapItem({ item }: { item: { metadata: any; content: string } }) {
|
|
127
|
+
const statusColor = statusColors[item.metadata.status as keyof typeof statusColors] || statusColors.planned;
|
|
128
|
+
const statusLabel = statusLabels[item.metadata.status as keyof typeof statusLabels] || 'Unknown';
|
|
129
|
+
|
|
130
|
+
return (
|
|
131
|
+
<div className="border border-gray-200 rounded-lg p-6 hover:border-gray-400 transition-colors">
|
|
132
|
+
<div className="flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4 mb-4">
|
|
133
|
+
<h3 className="text-xl font-bold">{item.metadata.title}</h3>
|
|
134
|
+
<div className="flex gap-2 flex-wrap">
|
|
135
|
+
<span className={`px-3 py-1 rounded-full text-sm font-medium border ${statusColor}`}>
|
|
136
|
+
{statusLabel}
|
|
137
|
+
</span>
|
|
138
|
+
{item.metadata.timeframe && (
|
|
139
|
+
<span className="px-3 py-1 rounded-full text-sm font-medium bg-gray-100 text-gray-700 border border-gray-300">
|
|
140
|
+
{item.metadata.timeframe}
|
|
141
|
+
</span>
|
|
142
|
+
)}
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
<div className="text-gray-700 leading-relaxed">
|
|
146
|
+
{item.content}
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
);
|
|
150
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MetadataRoute } from 'next';
|
|
2
|
+
|
|
3
|
+
export const dynamic = 'force-static';
|
|
4
|
+
|
|
5
|
+
export default function robots(): MetadataRoute.Robots {
|
|
6
|
+
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://ai-devkit.com';
|
|
7
|
+
|
|
8
|
+
return {
|
|
9
|
+
rules: {
|
|
10
|
+
userAgent: '*',
|
|
11
|
+
allow: '/',
|
|
12
|
+
},
|
|
13
|
+
sitemap: `${baseUrl}/sitemap.xml`,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { MetadataRoute } from 'next';
|
|
2
|
+
import { getAllDocPages, getAllPages, getRoadmap } from '@/lib/content/loader';
|
|
3
|
+
|
|
4
|
+
export const dynamic = 'force-static';
|
|
5
|
+
|
|
6
|
+
export default function sitemap(): MetadataRoute.Sitemap {
|
|
7
|
+
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://ai-devkit.com';
|
|
8
|
+
|
|
9
|
+
const staticRoutes = [
|
|
10
|
+
{
|
|
11
|
+
url: baseUrl,
|
|
12
|
+
lastModified: new Date(),
|
|
13
|
+
changeFrequency: 'weekly' as const,
|
|
14
|
+
priority: 1.0,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
url: `${baseUrl}/docs`,
|
|
18
|
+
lastModified: new Date(),
|
|
19
|
+
changeFrequency: 'weekly' as const,
|
|
20
|
+
priority: 0.9,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
url: `${baseUrl}/vision`,
|
|
24
|
+
lastModified: new Date(),
|
|
25
|
+
changeFrequency: 'monthly' as const,
|
|
26
|
+
priority: 0.8,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
url: `${baseUrl}/roadmap`,
|
|
30
|
+
lastModified: new Date(),
|
|
31
|
+
changeFrequency: 'weekly' as const,
|
|
32
|
+
priority: 0.8,
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
const docs = getAllDocPages();
|
|
37
|
+
const docRoutes = docs.map((doc) => ({
|
|
38
|
+
url: `${baseUrl}/docs/${doc.metadata.slug}`,
|
|
39
|
+
lastModified: new Date(),
|
|
40
|
+
changeFrequency: 'weekly' as const,
|
|
41
|
+
priority: 0.7,
|
|
42
|
+
}));
|
|
43
|
+
|
|
44
|
+
return [...staticRoutes, ...docRoutes];
|
|
45
|
+
}
|
|
46
|
+
|