You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e183cb6
Browse filesBrowse the repository at this point in the historyBrowse files
`${base.goal}\nGuidelines:\n- Read the docs before writing code: ${base.docsUrl}\n- Use only the pinned packages; fit this project's framework and conventions, and change as little as possible.\n- Read POSTHOG_PROJECT_TOKEN from the environment only, and declare it with an empty value in the example env file.\nHow you do it is up to you; the step is done when its checks pass.`,
// Guidance the agent adapts to the project, not a script; the checks are
285
+
// what it must meet. No wording here may read as user work
286
+
// (`NEEDS_USER_PATTERNS` in sponsored-procedure-steps.ts).
242
287
constenvLine=envKeys.length
243
-
? `\nRead${envKeys.join(' and ')} from the environment only, and declare ${
288
+
? `- Read${envKeys.join(' and ')} from the environment only, and declare ${
244
289
envKeys.length===1 ? 'it' : 'each'
245
-
} with an empty value in the example env file.`
290
+
} with an empty value in the example env file.\n`
246
291
: ''
247
292
constintegrate: SponsoredSkillStep={
248
293
id: 'integrate',
249
294
kind: 'agent',
250
295
title: `Build the ${label} integration in this project`,
251
-
instructions: `${source.goal}\nRead the docs before writing code: ${source.docsUrl}\nUse only the pinned packages, fit the project's framework and style, and change as little as possible.${envLine}`,
296
+
instructions: `${source.goal}\nGuidelines:\n- Read the docs before writing code: ${source.docsUrl}\n- Use only the pinned packages; fit this project's framework and conventions, and change as little as possible.\n${envLine}How you do it is up to you; the step is done when its checks pass.`,
252
297
checks: [
298
+
...verifyChecks,
253
299
...packageChecks,
254
300
...envChecks,
255
301
{
@@ -344,7 +390,9 @@ export function buildLayer2Skill(
0 commit comments