Skip to content

Commit 1a3d81d

Browse files
davila7claude
andcommitted
feat: add Vercel Speed Insights and update deployer agent
Add Speed Insights via CDN to docs/index.html for performance metrics. Update deployer agent to skip pre-verified steps when caller signals they were already completed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e04f2f2 commit 1a3d81d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.claude/agents/deployer.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,15 @@ Based on the user's request, determine what to deploy:
3333

3434
If ambiguous, deploy both.
3535

36+
## Skipping Pre-Verified Steps
37+
38+
When the caller's prompt states that certain checks were already completed (e.g., "API tests already passed", "git is clean and pushed", "catalog already regenerated"), **trust those assertions and skip the corresponding steps**. Mark skipped steps with `⏭️ Pre-verified` in your output instead of re-running them.
39+
40+
Steps 1-4 below are instant (~1s each) and always deployment-critical — always run them. Step 5 (API tests) takes longer and is the primary candidate for skipping when pre-verified.
41+
3642
## Pre-Deploy Checklist
3743

38-
Run ALL of these checks before deploying. If any critical check fails, STOP and report the issue.
44+
Run these checks before deploying. If any critical check fails, STOP and report the issue.
3945

4046
### 1. Verify Vercel authentication
4147

docs/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,5 +715,9 @@ <h4>
715715
<script src="js/generate-search-data.js"></script>
716716
<script src="js/search-functionality.js"></script>
717717
<script src="js/event-tracker.js"></script>
718+
<script type="module">
719+
import { injectSpeedInsights } from 'https://unpkg.com/@vercel/speed-insights@1/dist/index.js';
720+
injectSpeedInsights();
721+
</script>
718722
</body>
719723
</html>

0 commit comments

Comments
 (0)