镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

audit: typescript-best-practices should be triggers: [user] #19

Closed

Description

@caelaxie

port: skills/typescript-best-practices/SKILL.md L4

upstream: pstack/skills/typescript-best-practices/SKILL.md L4–5 at 88d4751 (pstack 0.15.29):

paths: ["/*.ts", "/*.tsx"]
disable-model-invocation: true

port:

triggers: [user, model]

why devin doesn't require it: Devin skill frontmatter has no paths key, so dropping that line is the harness edit. disable-model-invocation: true maps to triggers: [user], as every other port skill does (poteto-help, reflect, recall, automate-me, show-me-your-work, ...). [user, model] lets the model invoke a skill upstream forbade it to. It also contradicts the port's own docs/guide/05-build-and-clean.md L55: "It doesn't load on its own, so type /pstack:typescript-best-practices when a task touches .ts or .tsx files."

smallest fix: triggers: [user].

found by the whole-port audit against upstream 88d4751 (pstack 0.15.29). fix with Closes #19.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions