Skip to content

Commit f3a9743

Browse files
authored
feat: add 'Develop with AI' navigation section (#8550)
* feat: add "Develop with AI" navigation section New top-level nav section consolidating AI development assistant content: - Move Q Developer from build-a-backend to develop-with-ai - Move MCP Server from start to develop-with-ai - Add new Kiro page with specs, hooks, steering, and MCP features - Add new steering files page covering CLAUDE.md, Cursor rules, Kiro steering - Add redirects for old URLs - Add 'ai' section key to navigation system * docs: add Agent Plugins page and Kiro Powers documentation - New Agent Plugins page covering installation for Claude Code and Cursor, phased workflow (backend → sandbox → frontend → production), prerequisites, and other AWS plugins available - Updated Kiro page with AWS Amplify Power documentation including installation, phased workflow, steering files, and MCP configuration - Fixed Kiro description to remove unverified Amazon attribution - Added agent-plugins to directory tree * docs: reorder sidebar — Agent Plugins first, Q Developer fourth; update landing description * docs: rename MCP section to 'AWS MCP Server' and remove isNew badge
1 parent d243e0a commit f3a9743

File tree

13 files changed

+571
-84
lines changed

13 files changed

+571
-84
lines changed

cspell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"_userauth.auth_fail",
1212
"_userauth.sign_in",
1313
"_userauth.sign_up",
14+
"agentic",
15+
"awslabs",
1416
"@aws-amplify/auth",
1517
"@aws-amplify/core",
1618
"@aws-amplify/storage",

redirects.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10453,5 +10453,20 @@
1045310453
"source": "/vue/start/connect-existing-aws-resources",
1045410454
"target": "/vue/start/connect-to-aws-resources",
1045510455
"status": "301"
10456+
},
10457+
{
10458+
"source": "/<platform>/build-a-backend/q-developer/",
10459+
"target": "/<platform>/develop-with-ai/q-developer/",
10460+
"status": "301"
10461+
},
10462+
{
10463+
"source": "/<platform>/start/mcp-server/",
10464+
"target": "/<platform>/develop-with-ai/mcp-server/",
10465+
"status": "301"
10466+
},
10467+
{
10468+
"source": "/<platform>/start/mcp-server/<*>",
10469+
"target": "/<platform>/develop-with-ai/mcp-server/<*>",
10470+
"status": "301"
1045610471
}
1045710472
]

src/data/__tests__/sections.test.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ describe('getSectionFromPath', () => {
1616
);
1717
});
1818

19+
it('returns ai for /develop-with-ai/ paths', () => {
20+
expect(getSectionFromPath('/react/develop-with-ai/q-developer/')).toBe(
21+
'ai'
22+
);
23+
});
24+
1925
it('returns backend for /build-a-backend/ paths', () => {
2026
expect(getSectionFromPath('/react/build-a-backend/auth/set-up-auth/')).toBe(
2127
'backend'
@@ -81,16 +87,23 @@ describe('getDefaultPathForSection', () => {
8187
'/swift/reference/'
8288
);
8389
});
90+
91+
it('returns ai path', () => {
92+
expect(getDefaultPathForSection('ai', 'react')).toBe(
93+
'/react/develop-with-ai/'
94+
);
95+
});
8496
});
8597

8698
describe('SECTIONS config', () => {
87-
it('has all 6 sections defined', () => {
99+
it('has all 7 sections defined', () => {
88100
const keys = Object.keys(SECTIONS) as SectionKey[];
89101
expect(keys).toEqual([
90102
'quickstart',
91103
'backend',
92104
'frontend',
93105
'ui',
106+
'ai',
94107
'hosting',
95108
'reference'
96109
]);

src/data/sections.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ export type SectionKey =
22
| 'quickstart'
33
| 'backend'
44
| 'frontend'
5-
| 'hosting'
65
| 'ui'
6+
| 'ai'
7+
| 'hosting'
78
| 'reference';
89

910
export interface SectionConfig {
@@ -18,6 +19,7 @@ export const SECTIONS: Record<SectionKey, SectionConfig> = {
1819
backend: { label: 'Build a Backend', subtitle: 'What runs on AWS' },
1920
frontend: { label: 'Frontend Libraries', subtitle: 'What runs in your app' },
2021
ui: { label: 'UI Libraries', subtitle: 'Pre-built components' },
22+
ai: { label: 'Develop with AI' },
2123
hosting: { label: 'Hosting' },
2224
reference: { label: 'Reference' }
2325
};
@@ -40,6 +42,8 @@ export function getDefaultPathForSection(
4042
return `/${platform}/deploy-and-host/`;
4143
case 'ui':
4244
return `/${platform}/build-ui/`;
45+
case 'ai':
46+
return `/${platform}/develop-with-ai/`;
4347
case 'reference':
4448
return `/${platform}/reference/`;
4549
default:
@@ -77,6 +81,7 @@ export function getSectionFromPath(path: string): SectionKey | undefined {
7781
if (/\/start(\/|$)/.test(path) || /\/how-amplify-works(\/|$)/.test(path)) {
7882
return 'quickstart';
7983
}
84+
if (/\/develop-with-ai(\/|$)/.test(path)) return 'ai';
8085
if (/\/deploy-and-host(\/|$)/.test(path)) return 'hosting';
8186
if (/\/reference(\/|$)/.test(path)) return 'reference';
8287
if (/\/build-ui(\/|$)/.test(path)) return 'ui';

0 commit comments

Comments
 (0)