-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
308 lines (281 loc) · 15.5 KB
/
index.html
File metadata and controls
308 lines (281 loc) · 15.5 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<!DOCTYPE html>
<html lang="en" data-color-mode="dark" data-dark-theme="dark">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="dark" />
<title>Agent Workflow Blueprint</title>
<meta name="author" content="Carla Goncalves" />
<meta
name="description"
content="A professional agent-governance template hub with 100 prompts, skills, and contracts for evidence-first coding-agent workflows."
/>
<link rel="stylesheet" href="site.css?v=20260501-1" />
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header">
<div class="shell">
<div class="topbar">
<a class="brand" href="#hero">
<span class="brand-mark" aria-hidden="true">AW</span>
<span class="brand-copy">
<span class="brand-kicker">Agent Workflow Blueprint</span>
<span class="brand-title">Evidence before confidence</span>
</span>
</a>
<nav class="site-nav" aria-label="Primary">
<a href="#library">Library</a>
<a href="#packs">Starter packs</a>
<a href="#workflow">Workflow</a>
<a href="#proof">Verification</a>
<a href="#examples">Examples</a>
</nav>
</div>
</div>
</header>
<main id="main">
<section class="hero" id="hero">
<div class="shell hero-grid">
<div class="hero-copy">
<p class="eyebrow">Prompt library + skills + acceptance contracts</p>
<h1>Control agent work with evidence, not optimism.</h1>
<p class="hero-lead">
A public template hub for strict coding-agent workflows: 40 prompts,
30 executable skills, 30 acceptance contracts, packet templates,
specialist review gates, and verification scripts.
</p>
<p class="author-line">Created by <a href="https://carlashub.com">Carla Goncalves</a></p>
<div class="hero-actions">
<a class="button button-primary" href="#library">Browse 100 assets</a>
<a class="button button-secondary" href="docs/template-library/START-HERE.md">Start here</a>
</div>
<ul class="stat-strip" aria-label="Repository highlights">
<li><strong>40</strong><span>prompts</span></li>
<li><strong>30</strong><span>skills</span></li>
<li><strong>30</strong><span>contracts</span></li>
<li><strong>100</strong><span>copy-ready assets</span></li>
</ul>
</div>
<aside class="truth-panel" aria-labelledby="truth-title">
<p class="panel-label">Release honesty</p>
<h2 id="truth-title">What this repo proves right now</h2>
<ul class="truth-list">
<li>Template-library count and structure</li>
<li>Workflow artefact linkage</li>
<li>Claim-control checks in public files</li>
<li>Starter manifest generation</li>
</ul>
<p class="truth-note">This repository is a workflow bundle, not a verified product build.</p>
<pre class="hero-code"><code>npm run verify:release
python3 -S scripts/check_template_library.py</code></pre>
</aside>
</div>
</section>
<section class="section section-alt" id="library" aria-labelledby="library-title">
<div class="shell">
<div class="section-heading">
<p class="eyebrow">Template product layer</p>
<h2 id="library-title">Find the right prompt, skill, or contract.</h2>
<p>
Search the manifest, filter by type, open the markdown, or copy a full asset.
Plain links still work without JavaScript.
</p>
</div>
<div class="library-tools" role="search" aria-label="Template library search and filters">
<label class="search-label" for="asset-search">Search assets</label>
<input id="asset-search" class="asset-search" type="search" placeholder="Search UI, accessibility, release, security, testing…" />
<div class="filter-row" aria-label="Asset type filters">
<button class="filter-button active" type="button" data-filter="all">All</button>
<button class="filter-button" type="button" data-filter="prompt">Prompts</button>
<button class="filter-button" type="button" data-filter="skill">Skills</button>
<button class="filter-button" type="button" data-filter="contract">Contracts</button>
</div>
</div>
<div id="asset-status" class="asset-status" aria-live="polite">Loading asset catalogue…</div>
<div id="asset-grid" class="asset-grid"></div>
<noscript>
<p class="truth-note">JavaScript is disabled. Open the full catalogue instead:</p>
<p><a class="inline-link" href="docs/template-library/CATALOGUE.md">Open catalogue</a></p>
</noscript>
</div>
</section>
<section class="section" id="packs" aria-labelledby="packs-title">
<div class="shell">
<div class="section-heading">
<p class="eyebrow">Starter packs</p>
<h2 id="packs-title">Use bundles, not isolated prompts.</h2>
<p>Each pack combines a prompt, a skill, and a contract for one failure mode.</p>
</div>
<div class="pack-grid">
<article class="template-card"><p class="card-tag">Codex control</p><h3>Task control pack</h3><p>Master prompt + scoping skill + completion honesty contract.</p><a href="docs/template-library/STARTER-PACKS.md#1-codex-task-control-pack">Open pack</a></article>
<article class="template-card"><p class="card-tag">UI</p><h3>UI truth pack</h3><p>Rendered UI audit + screenshot review + visual quality contract.</p><a href="docs/template-library/STARTER-PACKS.md#2-ui-truth-pack">Open pack</a></article>
<article class="template-card"><p class="card-tag">Accessibility</p><h3>Accessibility remediation pack</h3><p>Semantic remediation + inspection skill + acceptance contract.</p><a href="docs/template-library/STARTER-PACKS.md#3-accessibility-remediation-pack">Open pack</a></article>
<article class="template-card"><p class="card-tag">Release</p><h3>Release gate pack</h3><p>Final merge prompt + packaging skill + release evidence contract.</p><a href="docs/template-library/STARTER-PACKS.md#7-release-gate-pack">Open pack</a></article>
</div>
</div>
</section>
<section class="section section-alt" id="workflow" aria-labelledby="workflow-title">
<div class="shell">
<div class="section-heading">
<p class="eyebrow">Operating system</p>
<h2 id="workflow-title">The workflow separates doing, reviewing, and claiming.</h2>
</div>
<ol class="workflow-list">
<li><span class="workflow-step">1</span><div><h3>Scope</h3><p>Define intent, risk, affected files, and evidence gaps.</p><a href="docs/engineering/templates/scoping-packet-template.md">Open scoping packet</a></div></li>
<li><span class="workflow-step">2</span><div><h3>Implement</h3><p>Make the smallest correct change inside the approved boundary.</p><a href="PROMPTS/implementation-agent.md">Open implementation prompt</a></div></li>
<li><span class="workflow-step">3</span><div><h3>Review</h3><p>Reject scope drift, shallow tests, broken UI, or unsupported claims.</p><a href="PROMPTS/review-agent.md">Open review prompt</a></div></li>
<li><span class="workflow-step">4</span><div><h3>Specialist review</h3><p>Use accessibility, security, testing, documentation, or release gates when relevant.</p><a href="docs/template-library/CATALOGUE.md">Open specialist library</a></div></li>
<li><span class="workflow-step">5</span><div><h3>Verify</h3><p>Run exact commands and disclose skipped or unavailable checks.</p><a href="scripts/verify-release.sh">Open verification script</a></div></li>
<li><span class="workflow-step">6</span><div><h3>Claim only what is proven</h3><p>End with verified, partially verified, not verified, or blocked.</p><a href="docs/template-library/QUALITY-RUBRIC.md">Open rubric</a></div></li>
</ol>
</div>
</section>
<section class="section" id="proof" aria-labelledby="proof-title">
<div class="shell">
<div class="section-heading">
<p class="eyebrow">Proof rails</p>
<h2 id="proof-title">Verification is part of the product.</h2>
<p>The scripts check structure, linkage, claim discipline, examples, and the 100-asset library.</p>
</div>
<div class="evidence-grid">
<article class="evidence-card evidence-card-positive"><h3>Checked by scripts</h3><ul><li>Required prompt sections</li><li>Workflow artefact presence</li><li>Unsupported public claims</li><li>Template-library count and depth</li><li>Starter manifest generation</li></ul></article>
<article class="evidence-card evidence-card-caution"><h3>Not proven by this starter</h3><ul><li>Live application UI</li><li>Deployment behaviour</li><li>Authentication flows</li><li>Runtime accessibility behaviour</li><li>Security posture of a real app</li></ul></article>
</div>
</div>
</section>
<section class="section section-alt" id="examples" aria-labelledby="examples-title">
<div class="shell">
<div class="section-heading">
<p class="eyebrow">Examples</p>
<h2 id="examples-title">The library teaches rejection, not just generation.</h2>
</div>
<div class="example-grid">
<article class="example-card"><h3>Weak vs strong output</h3><p>See how fake completion and overclaiming get rejected.</p><a href="docs/template-library/EXAMPLES.md">Open examples</a></article>
<article class="example-card"><h3>Research basis</h3><p>Review the behavioural controls and standards behind the assets.</p><a href="docs/template-library/RESEARCH-BASIS.md">Open basis</a></article>
<article class="example-card"><h3>Codex guide</h3><p>Apply prompt + skill + contract bundles in Codex.</p><a href="docs/template-library/CODEX-USAGE-GUIDE.md">Open Codex guide</a></article>
<article class="example-card"><h3>Full catalogue</h3><p>Open all 100 assets grouped by type and category.</p><a href="docs/template-library/CATALOGUE.md">Open catalogue</a></article>
</div>
</div>
</section>
</main>
<footer class="site-footer">
<div class="shell footer-grid">
<div>
<p class="footer-title">Agent Workflow Blueprint</p>
<p>Public template hub for strict coding-agent workflows.</p>
<p class="footer-owner">By <a href="https://carlashub.com">Carla Goncalves</a></p>
</div>
<div>
<p class="footer-title">Primary entry points</p>
<ul class="footer-links">
<li><a href="README.md">README</a></li>
<li><a href="docs/template-library/START-HERE.md">Start here</a></li>
<li><a href="scripts/verify-release.sh">Release verification</a></li>
</ul>
</div>
</div>
</footer>
<script>
const grid = document.getElementById('asset-grid');
const statusEl = document.getElementById('asset-status');
const searchEl = document.getElementById('asset-search');
const filterButtons = Array.from(document.querySelectorAll('.filter-button'));
let assets = [];
let activeFilter = 'all';
function normalise(value) {
return String(value || '').toLowerCase();
}
function getCategoryLabel(category) {
return String(category || '').trim() || 'Uncategorised';
}
function getTypeLabel(type) {
const value = String(type || '').trim();
if (!value) return 'Unknown';
return value.charAt(0).toUpperCase() + value.slice(1);
}
function categoryHash(label) {
let hash = 0;
for (let index = 0; index < label.length; index += 1) {
hash = ((hash << 5) - hash) + label.charCodeAt(index);
hash |= 0;
}
return Math.abs(hash);
}
function categoryStyle(category) {
const label = getCategoryLabel(category);
const hue = categoryHash(label) % 360;
return `--category-bg:hsl(${hue} 80% 52% / 0.17);--category-border:hsl(${hue} 86% 66% / 0.62);--category-fg:hsl(${hue} 100% 83%);`;
}
function typeIcon(type) {
const iconMap = {
prompt: '●',
skill: '◆',
contract: '■',
};
return iconMap[String(type || '').toLowerCase()] || '•';
}
function render() {
const term = normalise(searchEl.value);
const filtered = assets.filter((asset) => {
const typeMatch = activeFilter === 'all' || asset.type === activeFilter;
const haystack = normalise([asset.title, asset.type, asset.category, asset.summary, asset.tags?.join(' ')].join(' '));
return typeMatch && haystack.includes(term);
});
statusEl.textContent = `${filtered.length} asset${filtered.length === 1 ? '' : 's'} shown`;
grid.innerHTML = filtered.map((asset) => `
<article class="asset-card" data-type="${asset.type}">
<div class="asset-card-head">
<span class="asset-type"><span class="asset-type-icon" aria-hidden="true">${typeIcon(asset.type)}</span>${getTypeLabel(asset.type)}</span>
<span class="asset-category" style="${categoryStyle(asset.category)}">${getCategoryLabel(asset.category)}</span>
</div>
<h3>${asset.title}</h3>
<p>${asset.summary}</p>
<div class="asset-actions">
<a href="${asset.path}">Open</a>
<a href="${asset.path}" download>Download</a>
<button type="button" data-copy-path="${asset.path}">Copy Markdown</button>
</div>
</article>
`).join('');
}
async function copyAsset(path, button) {
const original = button.textContent;
try {
const response = await fetch(path);
if (!response.ok) throw new Error('Unable to fetch asset');
const markdown = await response.text();
await navigator.clipboard.writeText(markdown);
button.textContent = 'Copied';
} catch (error) {
button.textContent = 'Copy failed';
} finally {
window.setTimeout(() => { button.textContent = original; }, 1600);
}
}
grid.addEventListener('click', (event) => {
const button = event.target.closest('button[data-copy-path]');
if (!button) return;
copyAsset(button.dataset.copyPath, button);
});
searchEl.addEventListener('input', render);
filterButtons.forEach((button) => {
button.addEventListener('click', () => {
filterButtons.forEach((item) => item.classList.remove('active'));
button.classList.add('active');
activeFilter = button.dataset.filter;
render();
});
});
fetch('docs/template-library/assets.json')
.then((response) => response.json())
.then((data) => {
assets = data;
render();
})
.catch(() => {
statusEl.textContent = 'Could not load the asset manifest. Open docs/template-library/CATALOGUE.md instead.';
});
</script>
</body>
</html>