asdf
Squash the current repository state back into one baseline commit while preserving the README reframing and repository contents. Constraint: User explicitly requested a single squashed commit with subject "asdf" Confidence: high Scope-risk: broad Reversibility: clean Directive: This commit intentionally rewrites published history; coordinate before future force-pushes Tested: git status clean; local history rewritten to one commit; force-pushed main to origin and instructkr Not-tested: Fresh clone verification after push
This commit is contained in:
commit
d2542c9a62
30
src/skills/bundled/verify.ts
Normal file
30
src/skills/bundled/verify.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
import { parseFrontmatter } from '../../utils/frontmatterParser.js'
|
||||
import { registerBundledSkill } from '../bundledSkills.js'
|
||||
import { SKILL_FILES, SKILL_MD } from './verifyContent.js'
|
||||
|
||||
const { frontmatter, content: SKILL_BODY } = parseFrontmatter(SKILL_MD)
|
||||
|
||||
const DESCRIPTION =
|
||||
typeof frontmatter.description === 'string'
|
||||
? frontmatter.description
|
||||
: 'Verify a code change does what it should by running the app.'
|
||||
|
||||
export function registerVerifySkill(): void {
|
||||
if (process.env.USER_TYPE !== 'ant') {
|
||||
return
|
||||
}
|
||||
|
||||
registerBundledSkill({
|
||||
name: 'verify',
|
||||
description: DESCRIPTION,
|
||||
userInvocable: true,
|
||||
files: SKILL_FILES,
|
||||
async getPromptForCommand(args) {
|
||||
const parts: string[] = [SKILL_BODY.trimStart()]
|
||||
if (args) {
|
||||
parts.push(`## User Request\n\n${args}`)
|
||||
}
|
||||
return [{ type: 'text', text: parts.join('\n\n') }]
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user