@massa-ai/codex-plugin 1.26.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codex-plugin/plugin.json +1 -1
- package/agent-profiles/balanced/massa-ai-judge.toml +5 -8
- package/agent-profiles/balanced/massa-ai-meta-judge.toml +2 -5
- package/agent-profiles/balanced/massa-ai-navigator.toml +1 -1
- package/agent-profiles/cheap/massa-ai-judge.toml +5 -8
- package/agent-profiles/cheap/massa-ai-meta-judge.toml +2 -5
- package/agent-profiles/cheap/massa-ai-navigator.toml +1 -1
- package/agent-profiles/heavy/massa-ai-judge.toml +5 -8
- package/agent-profiles/heavy/massa-ai-meta-judge.toml +2 -5
- package/agent-profiles/heavy/massa-ai-navigator.toml +1 -1
- package/agent-profiles/home/massa-ai-judge.toml +5 -8
- package/agent-profiles/home/massa-ai-meta-judge.toml +2 -5
- package/agent-profiles/home/massa-ai-navigator.toml +1 -1
- package/agent-profiles/work/massa-ai-judge.toml +5 -8
- package/agent-profiles/work/massa-ai-meta-judge.toml +2 -5
- package/agent-profiles/work/massa-ai-navigator.toml +1 -1
- package/agents/massa-ai-judge.toml +5 -8
- package/agents/massa-ai-meta-judge.toml +2 -5
- package/agents/massa-ai-navigator.toml +1 -1
- package/install.sh +32 -0
- package/package.json +1 -1
- package/skills/agents/judge/SKILL.md +6 -9
- package/skills/agents/meta-judge/SKILL.md +3 -6
- package/skills/agents/navigator/SKILL.md +2 -2
- package/skills/massa-ai/SKILL.md +6 -17
- package/skills/massa-ai/references/adr-authoring.md +3 -3
- package/skills/massa-ai/references/agent-orchestration.md +18 -3
- package/skills/massa-ai/references/architecture-coupling-lens.md +1 -1
- package/skills/massa-ai/references/architecture-deepening-lens.md +1 -1
- package/skills/massa-ai/references/architecture-domain-lens.md +1 -1
- package/skills/massa-ai/references/architecture-lenses.md +1 -1
- package/skills/massa-ai/references/audit-report-io.md +32 -2
- package/skills/massa-ai/references/audit-scope.md +22 -1
- package/skills/massa-ai/references/code-annotation.md +5 -5
- package/skills/massa-ai/references/codebase-investigation.md +1 -1
- package/skills/massa-ai/references/coding-guidelines.md +67 -0
- package/skills/massa-ai/references/context-firewall.md +2 -1
- package/skills/massa-ai/references/conversation-feedback.md +1 -1
- package/skills/massa-ai/references/debug-diagnosis-loop.md +1 -1
- package/skills/massa-ai/references/decision-engine.md +1 -1
- package/skills/massa-ai/references/evidence-gate.md +1 -1
- package/skills/massa-ai/references/figma-pre-analysis.md +3 -3
- package/skills/massa-ai/references/furps/analyst-role.md +1 -1
- package/skills/massa-ai/references/furps/checklist.md +1 -1
- package/skills/massa-ai/references/furps/intake.md +1 -1
- package/skills/massa-ai/references/furps/report-contract.md +1 -1
- package/skills/massa-ai/references/graceful-degradation.md +22 -0
- package/skills/massa-ai/references/hook-enforcement.md +3 -3
- package/skills/massa-ai/references/implementation-delivery.md +4 -4
- package/skills/massa-ai/references/installation.md +1 -1
- package/skills/massa-ai/references/lessons.md +2 -2
- package/skills/massa-ai/references/maestro/artifacts-reports.md +1 -1
- package/skills/massa-ai/references/maestro/cli-device.md +1 -1
- package/skills/massa-ai/references/maestro/cloud.md +1 -1
- package/skills/massa-ai/references/maestro/config-env-output.md +1 -1
- package/skills/massa-ai/references/maestro/fact-ledger.md +1 -1
- package/skills/massa-ai/references/maestro/js-scripting.md +1 -1
- package/skills/massa-ai/references/maestro/mcp.md +1 -1
- package/skills/massa-ai/references/maestro/patterns.md +1 -1
- package/skills/massa-ai/references/maestro/selectors.md +1 -1
- package/skills/massa-ai/references/maestro/workspace-execution.md +1 -1
- package/skills/massa-ai/references/maestro/yaml-commands.md +1 -1
- package/skills/massa-ai/references/maestro.md +1 -1
- package/skills/massa-ai/references/mcp-tools.md +2 -2
- package/skills/massa-ai/references/memory-policy.md +2 -2
- package/skills/massa-ai/references/mobile-context.md +9 -5
- package/skills/massa-ai/references/mobile-diagnosis.md +2 -2
- package/skills/massa-ai/references/mobile-figma-matcher/android-compose.md +1 -1
- package/skills/massa-ai/references/mobile-figma-matcher/android-views.md +1 -1
- package/skills/massa-ai/references/mobile-figma-matcher/core.md +1 -1
- package/skills/massa-ai/references/mobile-figma-matcher/ios-swiftui.md +1 -1
- package/skills/massa-ai/references/mobile-figma-matcher/ios-uikit.md +1 -1
- package/skills/massa-ai/references/mobile-figma-matcher/kmp-compose-multiplatform.md +1 -1
- package/skills/massa-ai/references/mobile-figma-matcher/repository-detection.md +1 -1
- package/skills/massa-ai/references/naming-standards.md +1 -1
- package/skills/massa-ai/references/pr-task-fix.md +2 -2
- package/skills/massa-ai/references/project-context.md +2 -2
- package/skills/massa-ai/references/repo-rules-discovery.md +4 -4
- package/skills/massa-ai/references/rfc/discovery-and-sizing.md +1 -1
- package/skills/massa-ai/references/rfc/document-contract.md +1 -1
- package/skills/massa-ai/references/rfc/quality-and-lifecycle.md +1 -1
- package/skills/massa-ai/references/root-cause-scripts.md +2 -2
- package/skills/massa-ai/references/skill-architect/examples.md +256 -0
- package/skills/massa-ai/references/skill-architect/patterns.md +317 -0
- package/skills/massa-ai/references/skill-architect/quality-checklist.md +70 -0
- package/skills/massa-ai/references/sonarqube-mcp.md +73 -0
- package/skills/massa-ai/references/spec-driven/artifact-store.md +1 -1
- package/skills/massa-ai/references/spec-driven/brownfield-mapping.md +16 -0
- package/skills/massa-ai/references/spec-driven/code-analysis.md +1 -1
- package/skills/massa-ai/references/spec-driven/coding-principles.md +1 -1
- package/skills/massa-ai/references/spec-driven/context-limits.md +1 -1
- package/skills/massa-ai/references/spec-driven/design.md +22 -1
- package/skills/massa-ai/references/spec-driven/discuss.md +1 -1
- package/skills/massa-ai/references/spec-driven/execute.md +3 -1
- package/skills/massa-ai/references/spec-driven/memory.md +1 -1
- package/skills/massa-ai/references/spec-driven/specify.md +3 -3
- package/skills/massa-ai/references/spec-driven/sub-agents.md +1 -1
- package/skills/massa-ai/references/spec-driven/tasks.md +1 -1
- package/skills/massa-ai/references/spec-driven/validate.md +1 -1
- package/skills/massa-ai/references/subagent-design.md +4 -4
- package/skills/massa-ai/references/synapse-policy.md +1 -1
- package/skills/massa-ai/references/tdd/calibrated-examples.md +1 -1
- package/skills/massa-ai/references/tdd/discovery-and-sizing.md +1 -1
- package/skills/massa-ai/references/tdd/document-contract.md +1 -1
- package/skills/massa-ai/references/tdd/quality-and-lifecycle.md +1 -1
- package/skills/massa-ai/references/the-fool/cognitive-bias-inventory.md +1 -1
- package/skills/massa-ai/references/the-fool/dialectic-synthesis.md +1 -1
- package/skills/massa-ai/references/the-fool/evidence-audit.md +1 -1
- package/skills/massa-ai/references/the-fool/pre-mortem-analysis.md +1 -1
- package/skills/massa-ai/references/the-fool/red-team-adversarial.md +1 -1
- package/skills/massa-ai/references/the-fool/socratic-questioning.md +1 -1
- package/skills/massa-ai/references/ticket/atlassian-fix.md +1 -1
- package/skills/massa-ai/references/ticket/intake-and-sources.md +1 -1
- package/skills/massa-ai/references/ticket/templates-and-quality.md +1 -1
- package/skills/massa-ai/references/verification-ladder.md +1 -1
- package/skills/massa-ai/scripts/validate_audit_report.ts +382 -0
- package/skills/massa-ai/scripts/validate_design.ts +264 -0
- package/skills/massa-ai/scripts/validate_skill.ts +364 -0
- package/skills/massa-ai/workflows/adr.md +16 -8
- package/skills/massa-ai/workflows/architecture/architecture-audit.md +23 -40
- package/skills/massa-ai/workflows/architecture/architecture-fix.md +14 -6
- package/skills/massa-ai/workflows/bugs/bugs-audit.md +19 -35
- package/skills/massa-ai/workflows/bugs/bugs-fix.md +13 -5
- package/skills/massa-ai/workflows/code-quality/code-quality-audit.md +25 -41
- package/skills/massa-ai/workflows/code-quality/code-quality-fix.md +13 -5
- package/skills/massa-ai/workflows/commit.md +13 -5
- package/skills/massa-ai/workflows/debug.md +11 -3
- package/skills/massa-ai/workflows/design.md +15 -7
- package/skills/massa-ai/workflows/exploration.md +12 -4
- package/skills/massa-ai/workflows/feature.md +14 -13
- package/skills/massa-ai/workflows/general.md +13 -8
- package/skills/massa-ai/workflows/implementation/implementation-audit.md +15 -15
- package/skills/massa-ai/workflows/implementation/implementation-fix.md +13 -5
- package/skills/massa-ai/workflows/judge-with-debate.md +12 -4
- package/skills/massa-ai/workflows/long-session.md +10 -2
- package/skills/massa-ai/workflows/maestro/maestro-audit.md +11 -3
- package/skills/massa-ai/workflows/maestro/maestro-fix.md +12 -4
- package/skills/massa-ai/workflows/maestro/maestro.md +12 -4
- package/skills/massa-ai/workflows/mobile-figma/mobile-figma-audit.md +11 -3
- package/skills/massa-ai/workflows/mobile-figma/mobile-figma-fix.md +12 -4
- package/skills/massa-ai/workflows/onboarding.md +10 -2
- package/skills/massa-ai/workflows/refactor.md +12 -4
- package/skills/massa-ai/workflows/refinement/furps-refinement.md +12 -4
- package/skills/massa-ai/workflows/requirements/requirements-audit.md +19 -36
- package/skills/massa-ai/workflows/requirements/requirements-fix.md +13 -5
- package/skills/massa-ai/workflows/rfc.md +10 -2
- package/skills/massa-ai/workflows/security/security-audit.md +19 -35
- package/skills/massa-ai/workflows/security/security-fix.md +13 -5
- package/skills/massa-ai/workflows/skill-architect.md +393 -0
- package/skills/massa-ai/workflows/spec-driven.md +20 -23
- package/skills/massa-ai/workflows/tdd.md +10 -2
- package/skills/massa-ai/workflows/tests/tests-audit.md +19 -35
- package/skills/massa-ai/workflows/tests/tests-fix.md +13 -5
- package/skills/massa-ai/workflows/the-fool.md +11 -3
- package/skills/massa-ai/workflows/ticket.md +10 -2
- package/skills/massa-ai/workflows/to-prd.md +81 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Android Jetpack Compose Figma Contract
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load only for Target Surface Packet rows classified as Android Jetpack Compose.
|
|
4
4
|
|
|
5
5
|
- Resolve composables, modifiers, layout primitives, Material/theme tokens, typography, shapes, painters/assets, state holders, previews/providers, navigation entry, semantics, and test tags affecting the surface.
|
|
6
6
|
- Distinguish Android-only Compose from Compose Multiplatform using module and source-set evidence.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Android Views Figma Contract
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load only for Target Surface Packet rows classified as Android Views XML.
|
|
4
4
|
|
|
5
5
|
- Resolve `res/layout`, qualifiers, includes/merges, styles/themes, dimensions, colors/selectors, text appearances, drawables, fonts, strings, binding/adapters, and Material components affecting the surface.
|
|
6
6
|
- Follow aliases to final values. Record the symbolic resource chain and resolved value.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Mobile Figma Core
|
|
2
2
|
|
|
3
|
-
Use
|
|
3
|
+
Use after `repository-detection.md` identifies one or more target surfaces. Defines Figma evidence, requirements boundaries, asset handling, mapping and comparison semantics, runtime evidence, and parity-claim limits. Load only the platform references named by the Target Surface Packet.
|
|
4
4
|
|
|
5
5
|
## Boundaries
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# iOS SwiftUI Figma Contract
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load only for Target Surface Packet rows classified as iOS SwiftUI.
|
|
4
4
|
|
|
5
5
|
- Resolve `View` composition, modifiers, layout containers, environment values, state selection, navigation entry, styles, asset catalogs, symbols, fonts, previews, accessibility modifiers, and UIKit hosting/interoperability affecting the surface.
|
|
6
6
|
- Compare Figma coordinates with SwiftUI points, then account for display scale only for rendered-pixel evidence.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# iOS UIKit Figma Contract
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load only for Target Surface Packet rows classified as iOS UIKit.
|
|
4
4
|
|
|
5
5
|
- Resolve storyboards, XIBs, programmatic views, view controllers, reusable views/cells, Auto Layout constraints, appearance APIs, trait-dependent resources, asset catalogs, fonts, strings, and state configuration.
|
|
6
6
|
- Compare Figma coordinates with UIKit points, then account for device display scale only when validating rendered pixels.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# KMP Compose Multiplatform Figma Contract
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load only for shared Compose Multiplatform Target Surface Packet rows.
|
|
4
4
|
|
|
5
5
|
- Resolve common composables, shared state, theme/design tokens, Compose resources, adaptive layout, accessibility semantics, platform adapters, and `expect`/`actual` declarations affecting presentation.
|
|
6
6
|
- Keep business/domain behavior in established shared boundaries. Do not move platform-only UI behavior into common code merely to reduce duplication.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Mobile Figma Repository Detection
|
|
2
2
|
|
|
3
|
-
Use
|
|
3
|
+
Use before loading any stack-specific matcher reference. Classify the concrete target module and files, not the repository root or repository name.
|
|
4
4
|
|
|
5
5
|
Monorepositories may contain several valid mobile stacks; classify only modules connected to the requested target.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Naming Standards
|
|
2
2
|
|
|
3
|
-
Use
|
|
3
|
+
Use when a workflow writes code, drafts implementation contracts, audits code quality, or executes findings that introduce, rename, or preserve identifiers.
|
|
4
4
|
|
|
5
5
|
## Goal
|
|
6
6
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# PR Task Fix
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load from `workflows/feature.md` and `workflows/refactor.md` before non-trivial implementation or refactor execution that can be decomposed into reviewable task groups.
|
|
4
4
|
|
|
5
5
|
## ADR/TDD Input Gate
|
|
6
6
|
|
|
7
7
|
Before decomposition, inspect the first user prompt, current prompt context, explicitly attached or readable local files, and any already supplied Atlassian MCP source pointers.
|
|
8
8
|
|
|
9
|
-
If there is no ADR or TDD plain text, no attached/readable ADR or TDD file, and no already
|
|
9
|
+
If there is no ADR or TDD plain text, no attached/readable ADR or TDD file, and no already-supplied Atlassian ADR/TDD source, ask whether the user wants to provide an ADR or TDD through Atlassian MCP. Do not ask again once the user has already supplied, declined, or made Atlassian unavailable for this run.
|
|
10
10
|
|
|
11
11
|
Use ADR/TDD input as implementation context, not as permission to bypass the active workflow's scope, source verification, or verification recipe. If the ADR/TDD conflicts with current source or project instructions, surface the conflict and resolve it before implementation.
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Project Context Intake
|
|
2
2
|
|
|
3
|
-
Use
|
|
3
|
+
Use at the start of every workflow, before the first substantive
|
|
4
4
|
read, edit, plan, or answer. It defines the minimum project-context sweep that
|
|
5
5
|
makes agent behavior match this repository's actual conventions instead of
|
|
6
6
|
generic defaults.
|
|
@@ -41,7 +41,7 @@ When two sources conflict, the higher tier wins:
|
|
|
41
41
|
6. Current repository source code.
|
|
42
42
|
7. Recalled memory — context only, never canonical.
|
|
43
43
|
|
|
44
|
-
A conflict between a doc and current source is a finding
|
|
44
|
+
A conflict between a doc and current source is a finding — report it rather than
|
|
45
45
|
silently picking a side.
|
|
46
46
|
|
|
47
47
|
## Dedupe Guard
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Repo Rules Discovery
|
|
2
2
|
|
|
3
|
-
Use
|
|
4
|
-
mutation.
|
|
3
|
+
Use from `workflows/spec-driven.md` before the first repository
|
|
4
|
+
mutation. Defines how to discover, load, and enforce the target repository's
|
|
5
5
|
own AI-harness rules and implementation conventions, so spec-driven
|
|
6
6
|
implementation conforms to the repo it runs in rather than only to the
|
|
7
7
|
skill's defaults.
|
|
@@ -12,8 +12,8 @@ the target repo**: it loads what is present and never invents what is absent.
|
|
|
12
12
|
## Principle
|
|
13
13
|
|
|
14
14
|
A repository's rules live in its own harness files and conventions. spec-driven
|
|
15
|
-
must read them before implementing and enforce conformance
|
|
16
|
-
|
|
15
|
+
must read them before implementing and enforce conformance — a change that
|
|
16
|
+
follows the skill's defaults but violates the repo's module layout, test
|
|
17
17
|
placement, or lint rules is not deliverable. Silence here reads as "the repo
|
|
18
18
|
has no rules", which is almost never true — it means they were not looked up.
|
|
19
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RFC Discovery And Classification
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load before source investigation, RFC classification, impact selection, or clarification questions.
|
|
4
4
|
|
|
5
5
|
## Workflow Fit
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# RFC Document Contract
|
|
2
2
|
|
|
3
|
-
Load
|
|
3
|
+
Load when drafting or revising an RFC. Preserve the full decision structure while tailoring detail to the RFC type and impact.
|
|
4
4
|
|
|
5
5
|
## Section Contract
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Root-Cause Proof Scripts
|
|
2
2
|
|
|
3
|
-
Use
|
|
3
|
+
Use the moment an implementation or fix stops converging. It is a
|
|
4
4
|
circuit breaker, not a diagnosis method: it fires mid-implementation in any
|
|
5
5
|
workflow — `feature`, `debug`, `refactor`, `spec-driven`, any `*-fix` — including
|
|
6
6
|
the ones that never opened a reproduction loop.
|
|
@@ -11,7 +11,7 @@ This file is where any implementation *stops guessing*.
|
|
|
11
11
|
## Principle
|
|
12
12
|
|
|
13
13
|
An agent that has failed twice on the same symptom does not have a code-reading
|
|
14
|
-
problem
|
|
14
|
+
problem — it has a data problem. Reading the same source a third time produces a
|
|
15
15
|
third theory with the same evidence base as the first two. The only way out is
|
|
16
16
|
to make the program tell you what it is actually doing.
|
|
17
17
|
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# Description & Instruction Examples
|
|
2
|
+
|
|
3
|
+
Reference for writing effective skill descriptions and instructions.
|
|
4
|
+
Read this during the Architecture phase (for descriptions) and Craft phase
|
|
5
|
+
(for instructions).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Good Descriptions
|
|
10
|
+
|
|
11
|
+
Each example follows the pattern: [What] + [When/Triggers] + [Not-when].
|
|
12
|
+
|
|
13
|
+
### Document & Asset Creation
|
|
14
|
+
|
|
15
|
+
```yaml
|
|
16
|
+
description: Analyzes Figma design files and generates developer handoff documentation.
|
|
17
|
+
Use when user uploads .fig files, asks for "design specs", "component
|
|
18
|
+
documentation", or "design-to-code handoff". Do NOT use for general
|
|
19
|
+
design discussions or UI feedback.
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```yaml
|
|
23
|
+
description: Creates distinctive, production-grade frontend interfaces with high design
|
|
24
|
+
quality. Use this skill when the user asks to build web components, pages,
|
|
25
|
+
artifacts, posters, or applications (examples include websites, landing
|
|
26
|
+
pages, dashboards, React components, HTML/CSS layouts, or when
|
|
27
|
+
styling/beautifying any web UI). Generates creative, polished code and UI
|
|
28
|
+
design that avoids generic AI aesthetics.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Workflow Automation
|
|
32
|
+
|
|
33
|
+
```yaml
|
|
34
|
+
description: Manages Linear project workflows including sprint planning, task creation,
|
|
35
|
+
and status tracking. Use when user mentions "sprint", "Linear tasks",
|
|
36
|
+
"project planning", or asks to "create tickets". Do NOT use for general
|
|
37
|
+
project management advice without Linear context.
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```yaml
|
|
41
|
+
description: End-to-end customer onboarding workflow for PayFlow. Handles account
|
|
42
|
+
creation, payment setup, and subscription management. Use when user says
|
|
43
|
+
"onboard new customer", "set up subscription", or "create PayFlow account".
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### MCP Enhancement
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
description: Automatically analyzes and fixes detected bugs in GitHub Pull Requests
|
|
50
|
+
using Sentry's error monitoring data via their MCP server. Use when user
|
|
51
|
+
mentions "Sentry errors", "fix bugs from monitoring", "PR review with
|
|
52
|
+
error data", or asks to analyze production errors in code.
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Bad Descriptions (and Why)
|
|
58
|
+
|
|
59
|
+
```yaml
|
|
60
|
+
# ❌ Too vague — no trigger phrases, no specifics
|
|
61
|
+
description: Helps with projects.
|
|
62
|
+
# Why it fails: the agent can't determine WHEN to load this.
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
```yaml
|
|
66
|
+
# ❌ Missing triggers — describes capability but not activation
|
|
67
|
+
description: Creates sophisticated multi-page documentation systems.
|
|
68
|
+
# Why it fails: What would a user SAY to trigger this? "Create docs"?
|
|
69
|
+
# "Write documentation"? Include the actual phrases.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
```yaml
|
|
73
|
+
# ❌ Too technical, no user perspective
|
|
74
|
+
description: Implements the Project entity model with hierarchical relationships.
|
|
75
|
+
# Why it fails: Users don't think in entity models. They think in tasks.
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
```yaml
|
|
79
|
+
# ❌ Too broad — will overtrigger
|
|
80
|
+
description: Processes documents.
|
|
81
|
+
# Why it fails: Loads for ANY document task. Add file types and specifics.
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
```yaml
|
|
85
|
+
# ❌ Overlap without boundaries
|
|
86
|
+
description: Analyzes data and creates visualizations.
|
|
87
|
+
# Why it fails: Conflicts with built-in capabilities and other skills.
|
|
88
|
+
# Add specifics about WHAT data and WHAT kind of visualizations.
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Fixing Overtriggering with Negative Triggers
|
|
94
|
+
|
|
95
|
+
```yaml
|
|
96
|
+
# Before: triggers on all data tasks
|
|
97
|
+
description: Advanced data analysis for CSV files.
|
|
98
|
+
|
|
99
|
+
# After: scoped with negative triggers
|
|
100
|
+
description: Advanced data analysis for CSV files. Use for statistical modeling,
|
|
101
|
+
regression, clustering. Do NOT use for simple data exploration
|
|
102
|
+
(use data-viz skill instead) or for reading CSV files without analysis.
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Good Instructions
|
|
108
|
+
|
|
109
|
+
### Specific and Actionable
|
|
110
|
+
|
|
111
|
+
```markdown
|
|
112
|
+
# ✅ Good — tells the agent exactly what to do
|
|
113
|
+
|
|
114
|
+
Run `python scripts/[validate].py --input {filename}` to check data format.
|
|
115
|
+
If validation fails, common issues include:
|
|
116
|
+
|
|
117
|
+
- Missing required fields → add them to the CSV
|
|
118
|
+
- Invalid date formats → use YYYY-MM-DD
|
|
119
|
+
- Encoding errors → convert to UTF-8 first
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
```markdown
|
|
123
|
+
# ❌ Bad — vague and unactionable
|
|
124
|
+
|
|
125
|
+
Validate the data before proceeding.
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Error Handling
|
|
129
|
+
|
|
130
|
+
```markdown
|
|
131
|
+
# ✅ Good — specific error, cause, solution
|
|
132
|
+
|
|
133
|
+
## Common Issues
|
|
134
|
+
|
|
135
|
+
### MCP Connection Failed
|
|
136
|
+
|
|
137
|
+
If you see "Connection refused":
|
|
138
|
+
|
|
139
|
+
1. Verify MCP server is running: Check Settings > Extensions
|
|
140
|
+
2. Confirm API key is valid
|
|
141
|
+
3. Try reconnecting: Settings > Extensions > [Service] > Reconnect
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
```markdown
|
|
145
|
+
# ❌ Bad — no specifics
|
|
146
|
+
|
|
147
|
+
If something goes wrong, try again.
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Resource References
|
|
151
|
+
|
|
152
|
+
```markdown
|
|
153
|
+
# ✅ Good — says WHEN and WHY to read the file
|
|
154
|
+
|
|
155
|
+
Before writing queries, consult `references/[api-patterns].md` for:
|
|
156
|
+
|
|
157
|
+
- Rate limiting guidance (if making >10 calls)
|
|
158
|
+
- Pagination patterns (if results may exceed 100 items)
|
|
159
|
+
- Error codes and handling (if calls may fail)
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
```markdown
|
|
163
|
+
# ❌ Bad — no guidance on when to read
|
|
164
|
+
|
|
165
|
+
See references/ for more information.
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Critical Instructions
|
|
169
|
+
|
|
170
|
+
```markdown
|
|
171
|
+
# ✅ Good — prominent, specific, verifiable
|
|
172
|
+
|
|
173
|
+
CRITICAL: Before calling create_project, verify:
|
|
174
|
+
|
|
175
|
+
- Project name is non-empty
|
|
176
|
+
- At least one team member assigned
|
|
177
|
+
- Start date is not in the past
|
|
178
|
+
If any check fails, tell the user what's missing before proceeding.
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
```markdown
|
|
182
|
+
# ❌ Bad — buried, vague, not verifiable
|
|
183
|
+
|
|
184
|
+
Make sure to validate things properly.
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Examples in Skills
|
|
188
|
+
|
|
189
|
+
```markdown
|
|
190
|
+
# ✅ Good — realistic user input with concrete output
|
|
191
|
+
|
|
192
|
+
## Examples
|
|
193
|
+
|
|
194
|
+
### Example 1: New sprint setup
|
|
195
|
+
|
|
196
|
+
User says: "Help me plan the Q4 sprint for the mobile team"
|
|
197
|
+
Actions:
|
|
198
|
+
|
|
199
|
+
1. Fetch current backlog from Linear (MCP)
|
|
200
|
+
2. Check team capacity (3 engineers, 2-week sprint)
|
|
201
|
+
3. Prioritize by impact score
|
|
202
|
+
4. Create 12 tasks with estimates
|
|
203
|
+
Result: Sprint board populated with 12 prioritized tasks, each with
|
|
204
|
+
story points and assignees. Summary posted to #mobile-team Slack.
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
```markdown
|
|
208
|
+
# ❌ Bad — generic, no concrete details
|
|
209
|
+
|
|
210
|
+
### Example 1: Setup
|
|
211
|
+
|
|
212
|
+
User says: "Set up a project"
|
|
213
|
+
Result: Project gets created.
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## Anti-Patterns Checklist
|
|
219
|
+
|
|
220
|
+
Before finalizing any skill, verify NONE of these are present:
|
|
221
|
+
|
|
222
|
+
### Structural Anti-Patterns
|
|
223
|
+
|
|
224
|
+
- [ ] File named SKILL.MD, skill.md, or any variant (must be exactly SKILL.md)
|
|
225
|
+
- [ ] Folder has spaces or capitals (must be kebab-case)
|
|
226
|
+
- [ ] README.md exists inside the skill folder
|
|
227
|
+
- [ ] XML angle brackets (< >) in YAML frontmatter
|
|
228
|
+
- [ ] "claude" or "anthropic" in the skill name
|
|
229
|
+
- [ ] Missing --- delimiters around frontmatter
|
|
230
|
+
- [ ] SKILL.md exceeds 500 lines without progressive disclosure
|
|
231
|
+
|
|
232
|
+
### Description Anti-Patterns
|
|
233
|
+
|
|
234
|
+
- [ ] No trigger phrases included
|
|
235
|
+
- [ ] Too vague (could match anything)
|
|
236
|
+
- [ ] Too technical (user perspective missing)
|
|
237
|
+
- [ ] No negative triggers when overlap risk exists
|
|
238
|
+
- [ ] Exceeds 1024 characters
|
|
239
|
+
|
|
240
|
+
### Instruction Anti-Patterns
|
|
241
|
+
|
|
242
|
+
- [ ] Vague directions without specific actions
|
|
243
|
+
- [ ] Critical instructions buried in middle of document
|
|
244
|
+
- [ ] No examples of realistic usage
|
|
245
|
+
- [ ] No error handling guidance
|
|
246
|
+
- [ ] References to external files without load conditions
|
|
247
|
+
- [ ] Wall-of-text instructions without structure
|
|
248
|
+
- [ ] Assumes skill is the only one loaded
|
|
249
|
+
- [ ] Uses prose where a script would be deterministic
|
|
250
|
+
|
|
251
|
+
### Quality Anti-Patterns
|
|
252
|
+
|
|
253
|
+
- [ ] No validation step in workflow
|
|
254
|
+
- [ ] No stopping conditions for iterative processes
|
|
255
|
+
- [ ] Missing rollback/failure handling
|
|
256
|
+
- [ ] Over-reliance on "be careful" instead of specific checks
|