specweave 0.1.9 ā 0.3.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/CLAUDE.md +600 -0
- package/README.md +245 -81
- package/bin/install-all.sh +1 -1
- package/bin/install-commands.sh +3 -3
- package/bin/specweave.js +39 -9
- package/dist/adapters/adapter-base.d.ts +1 -1
- package/dist/adapters/adapter-base.d.ts.map +1 -1
- package/dist/adapters/adapter-base.js +6 -41
- package/dist/adapters/adapter-base.js.map +1 -1
- package/dist/adapters/adapter-interface.js +1 -2
- package/dist/adapters/adapter-interface.js.map +1 -1
- package/dist/adapters/adapter-loader.d.ts +86 -0
- package/dist/adapters/adapter-loader.d.ts.map +1 -0
- package/dist/adapters/adapter-loader.js +216 -0
- package/dist/adapters/adapter-loader.js.map +1 -0
- package/dist/adapters/agents-md-generator.d.ts +48 -0
- package/dist/adapters/agents-md-generator.d.ts.map +1 -0
- package/dist/adapters/agents-md-generator.js +132 -0
- package/dist/adapters/agents-md-generator.js.map +1 -0
- package/dist/adapters/claude/adapter.d.ts +2 -2
- package/dist/adapters/claude/adapter.d.ts.map +1 -1
- package/dist/adapters/claude/adapter.js +5 -42
- package/dist/adapters/claude/adapter.js.map +1 -1
- package/dist/adapters/claude-md-generator.d.ts +78 -0
- package/dist/adapters/claude-md-generator.d.ts.map +1 -0
- package/dist/adapters/claude-md-generator.js +246 -0
- package/dist/adapters/claude-md-generator.js.map +1 -0
- package/dist/adapters/codex/adapter.d.ts +50 -0
- package/dist/adapters/codex/adapter.d.ts.map +1 -0
- package/dist/adapters/codex/adapter.js +316 -0
- package/dist/adapters/codex/adapter.js.map +1 -0
- package/dist/adapters/copilot/adapter.d.ts +10 -9
- package/dist/adapters/copilot/adapter.d.ts.map +1 -1
- package/dist/adapters/copilot/adapter.js +35 -100
- package/dist/adapters/copilot/adapter.js.map +1 -1
- package/dist/adapters/cursor/adapter.d.ts +8 -6
- package/dist/adapters/cursor/adapter.d.ts.map +1 -1
- package/dist/adapters/cursor/adapter.js +47 -130
- package/dist/adapters/cursor/adapter.js.map +1 -1
- package/dist/adapters/doc-generator.d.ts +69 -0
- package/dist/adapters/doc-generator.d.ts.map +1 -0
- package/dist/adapters/doc-generator.js +247 -0
- package/dist/adapters/doc-generator.js.map +1 -0
- package/dist/adapters/gemini/adapter.d.ts +50 -0
- package/dist/adapters/gemini/adapter.d.ts.map +1 -0
- package/dist/adapters/gemini/adapter.js +281 -0
- package/dist/adapters/gemini/adapter.js.map +1 -0
- package/dist/adapters/generic/adapter.d.ts +7 -4
- package/dist/adapters/generic/adapter.d.ts.map +1 -1
- package/dist/adapters/generic/adapter.js +60 -59
- package/dist/adapters/generic/adapter.js.map +1 -1
- package/dist/cli/commands/init.d.ts +3 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +272 -170
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/install.d.ts.map +1 -1
- package/dist/cli/commands/install.js +22 -58
- package/dist/cli/commands/install.js.map +1 -1
- package/dist/cli/commands/list.d.ts.map +1 -1
- package/dist/cli/commands/list.js +27 -64
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/core/credentials-manager.d.ts +90 -0
- package/dist/core/credentials-manager.d.ts.map +1 -0
- package/dist/core/credentials-manager.js +271 -0
- package/dist/core/credentials-manager.js.map +1 -0
- package/dist/core/project-structure-detector.d.ts +92 -0
- package/dist/core/project-structure-detector.d.ts.map +1 -0
- package/dist/core/project-structure-detector.js +289 -0
- package/dist/core/project-structure-detector.js.map +1 -0
- package/dist/core/rfc-generator-v2.d.ts +149 -0
- package/dist/core/rfc-generator-v2.d.ts.map +1 -0
- package/dist/core/rfc-generator-v2.js +399 -0
- package/dist/core/rfc-generator-v2.js.map +1 -0
- package/dist/core/rfc-generator.d.ts +147 -0
- package/dist/core/rfc-generator.d.ts.map +1 -0
- package/dist/core/rfc-generator.js +434 -0
- package/dist/core/rfc-generator.js.map +1 -0
- package/dist/integrations/ado/ado-client.d.ts +123 -0
- package/dist/integrations/ado/ado-client.d.ts.map +1 -0
- package/dist/integrations/ado/ado-client.js +398 -0
- package/dist/integrations/ado/ado-client.js.map +1 -0
- package/dist/integrations/jira/jira-client.d.ts +139 -0
- package/dist/integrations/jira/jira-client.d.ts.map +1 -0
- package/dist/integrations/jira/jira-client.js +386 -0
- package/dist/integrations/jira/jira-client.js.map +1 -0
- package/dist/integrations/jira/jira-incremental-mapper.d.ts +75 -0
- package/dist/integrations/jira/jira-incremental-mapper.d.ts.map +1 -0
- package/dist/integrations/jira/jira-incremental-mapper.js +474 -0
- package/dist/integrations/jira/jira-incremental-mapper.js.map +1 -0
- package/dist/integrations/jira/jira-mapper.d.ts +105 -0
- package/dist/integrations/jira/jira-mapper.d.ts.map +1 -0
- package/dist/integrations/jira/jira-mapper.js +494 -0
- package/dist/integrations/jira/jira-mapper.js.map +1 -0
- package/dist/testing/test-generator.d.ts +117 -0
- package/dist/testing/test-generator.d.ts.map +1 -0
- package/dist/testing/test-generator.js +370 -0
- package/dist/testing/test-generator.js.map +1 -0
- package/dist/utils/auto-install.d.ts +3 -0
- package/dist/utils/auto-install.d.ts.map +1 -1
- package/dist/utils/auto-install.js +16 -82
- package/dist/utils/auto-install.js.map +1 -1
- package/dist/utils/esm-helpers.d.ts +50 -0
- package/dist/utils/esm-helpers.d.ts.map +1 -0
- package/dist/utils/esm-helpers.js +57 -0
- package/dist/utils/esm-helpers.js.map +1 -0
- package/package.json +16 -7
- package/src/adapters/README.md +1 -2
- package/src/adapters/adapter-base.ts +6 -3
- package/src/adapters/adapter-loader.ts +261 -0
- package/src/adapters/agents-md-generator.ts +162 -0
- package/src/adapters/claude/README.md +6 -14
- package/src/adapters/claude/adapter.ts +4 -4
- package/src/adapters/claude-md-generator.ts +311 -0
- package/src/adapters/codex/README.md +105 -0
- package/src/adapters/codex/adapter.ts +333 -0
- package/src/adapters/copilot/adapter.ts +36 -65
- package/src/adapters/cursor/README.md +0 -2
- package/src/adapters/cursor/adapter.ts +46 -92
- package/src/adapters/doc-generator.ts +331 -0
- package/src/adapters/gemini/README.md +97 -0
- package/src/adapters/gemini/adapter.ts +298 -0
- package/src/adapters/generic/adapter.ts +61 -57
- package/src/adapters/registry.yaml +86 -25
- package/src/agents/devops/AGENT.md +16 -18
- package/src/agents/docs-writer/AGENT.md +2 -2
- package/src/agents/pm/AGENT.md +1 -50
- package/src/commands/README.md +134 -111
- package/src/commands/{build.md ā specweave.do.md} +141 -69
- package/src/commands/{done.md ā specweave.done.md} +3 -3
- package/src/commands/{inc.md ā specweave.inc.md} +4 -4
- package/src/commands/{increment.md ā specweave.increment.md} +143 -76
- package/src/commands/specweave.md +430 -0
- package/src/commands/specweave.next.md +495 -0
- package/src/commands/{progress.md ā specweave.progress.md} +12 -12
- package/src/commands/specweave.sync-docs.md +665 -0
- package/src/commands/specweave.sync-github.md +269 -0
- package/src/commands/specweave.sync-jira.md +197 -0
- package/src/commands/{validate.md ā specweave.validate.md} +4 -4
- package/src/hooks/README.md +19 -29
- package/src/hooks/post-task-completion.sh +25 -30
- package/src/skills/ado-sync/README.md +1 -36
- package/src/skills/bmad-method-expert/SKILL.md +1 -3
- package/src/skills/brownfield-analyzer/SKILL.md +429 -23
- package/src/skills/brownfield-onboarder/SKILL.md +221 -8
- package/src/skills/context-loader/SKILL.md +239 -617
- package/src/skills/context-optimizer/SKILL.md +0 -30
- package/src/skills/github-sync/SKILL.md +1 -19
- package/src/skills/increment-planner/SKILL.md +64 -18
- package/src/skills/increment-quality-judge/SKILL.md +1 -36
- package/src/skills/jira-sync/README.md +1 -38
- package/src/skills/role-orchestrator/README.md +1 -22
- package/src/skills/role-orchestrator/SKILL.md +1 -59
- package/src/skills/skill-router/SKILL.md +0 -18
- package/src/skills/spec-kit-expert/SKILL.md +1 -3
- package/src/skills/specweave-detector/SKILL.md +225 -275
- package/src/skills/task-builder/README.md +1 -7
- package/src/templates/AGENTS.md.template +334 -0
- package/src/templates/CLAUDE.md.template +131 -298
- package/src/templates/README.md.template +115 -23
- package/src/templates/environments/minimal/README.md +0 -1
- package/INSTALL.md +0 -848
- package/SPECWEAVE.md +0 -743
- package/src/adapters/copilot/.github/copilot/instructions.md +0 -376
- package/src/adapters/cursor/.cursorrules +0 -325
- package/src/adapters/generic/SPECWEAVE-MANUAL.md +0 -676
- package/src/commands/create-project.md +0 -528
- package/src/commands/generate-docs.md +0 -623
- package/src/commands/review-docs.md +0 -331
- package/src/commands/sync-github.md +0 -115
- package/src/skills/ado-sync/test-cases/test-1.yaml +0 -9
- package/src/skills/ado-sync/test-cases/test-2.yaml +0 -8
- package/src/skills/ado-sync/test-cases/test-3.yaml +0 -9
- package/src/skills/bmad-method-expert/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/bmad-method-expert/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/bmad-method-expert/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/brownfield-analyzer/test-cases/test-1-basic-analysis.yaml +0 -48
- package/src/skills/brownfield-analyzer/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/brownfield-analyzer/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/brownfield-onboarder/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/brownfield-onboarder/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/brownfield-onboarder/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/calendar-system/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/calendar-system/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/calendar-system/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/context-loader/test-cases/test-1-basic-loading.yaml +0 -39
- package/src/skills/context-loader/test-cases/test-2-token-budget-exceeded.yaml +0 -44
- package/src/skills/context-loader/test-cases/test-3-section-anchors.yaml +0 -45
- package/src/skills/context-optimizer/test-cases/test-1-bug-fix-narrow.yaml +0 -97
- package/src/skills/context-optimizer/test-cases/test-2-feature-focused.yaml +0 -109
- package/src/skills/context-optimizer/test-cases/test-3-architecture-broad.yaml +0 -98
- package/src/skills/cost-optimizer/test-cases/test-1-basic-comparison.yaml +0 -75
- package/src/skills/cost-optimizer/test-cases/test-2-budget-constraint.yaml +0 -52
- package/src/skills/cost-optimizer/test-cases/test-3-scale-requirement.yaml +0 -63
- package/src/skills/cost-optimizer/test-results/README.md +0 -46
- package/src/skills/design-system-architect/test-cases/test-1-token-structure.yaml +0 -23
- package/src/skills/design-system-architect/test-cases/test-2-component-hierarchy.yaml +0 -24
- package/src/skills/design-system-architect/test-cases/test-3-accessibility-checklist.yaml +0 -23
- package/src/skills/diagrams-architect/test-cases/test-1-c4-context.yaml +0 -13
- package/src/skills/diagrams-architect/test-cases/test-2-sequence-diagram.yaml +0 -13
- package/src/skills/diagrams-architect/test-cases/test-3-er-diagram.yaml +0 -13
- package/src/skills/diagrams-generator/test-cases/test-1.yaml +0 -9
- package/src/skills/diagrams-generator/test-cases/test-2.yaml +0 -9
- package/src/skills/diagrams-generator/test-cases/test-3.yaml +0 -8
- package/src/skills/docs-updater/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/docs-updater/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/docs-updater/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/dotnet-backend/test-cases/test-1-rest-api.yaml +0 -14
- package/src/skills/dotnet-backend/test-cases/test-2-authentication.yaml +0 -13
- package/src/skills/dotnet-backend/test-cases/test-3-minimal-api.yaml +0 -13
- package/src/skills/e2e-playwright/test-cases/TC-001-basic-navigation.yaml +0 -54
- package/src/skills/e2e-playwright/test-cases/TC-002-form-interaction.yaml +0 -64
- package/src/skills/e2e-playwright/test-cases/TC-003-specweave-integration.yaml +0 -74
- package/src/skills/e2e-playwright/test-cases/TC-004-accessibility-check.yaml +0 -98
- package/src/skills/figma-designer/test-cases/test-1-design-system.yaml +0 -13
- package/src/skills/figma-designer/test-cases/test-2-component-library.yaml +0 -13
- package/src/skills/figma-designer/test-cases/test-3-responsive-layout.yaml +0 -13
- package/src/skills/figma-implementer/test-cases/test-1-design-to-react.yaml +0 -13
- package/src/skills/figma-implementer/test-cases/test-2-storybook.yaml +0 -13
- package/src/skills/figma-implementer/test-cases/test-3-design-tokens.yaml +0 -13
- package/src/skills/figma-mcp-connector/test-cases/test-1-read-file-desktop.yaml +0 -22
- package/src/skills/figma-mcp-connector/test-cases/test-2-read-file-framelink.yaml +0 -21
- package/src/skills/figma-mcp-connector/test-cases/test-3-error-handling.yaml +0 -18
- package/src/skills/figma-to-code/test-cases/test-1-token-generation.yaml +0 -29
- package/src/skills/figma-to-code/test-cases/test-2-component-generation.yaml +0 -27
- package/src/skills/figma-to-code/test-cases/test-3-typescript-generation.yaml +0 -28
- package/src/skills/frontend/test-cases/test-1-react-component.yaml +0 -13
- package/src/skills/frontend/test-cases/test-2-form-validation.yaml +0 -13
- package/src/skills/frontend/test-cases/test-3-state-management.yaml +0 -13
- package/src/skills/github-sync/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/github-sync/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/github-sync/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/hetzner-provisioner/test-cases/test-1-basic-provision.yaml +0 -71
- package/src/skills/hetzner-provisioner/test-cases/test-2-postgres-provision.yaml +0 -85
- package/src/skills/hetzner-provisioner/test-cases/test-3-ssl-config.yaml +0 -126
- package/src/skills/hetzner-provisioner/test-results/README.md +0 -259
- package/src/skills/increment-planner/test-cases/test-1-basic-feature.yaml +0 -27
- package/src/skills/increment-planner/test-cases/test-2-complex-feature.yaml +0 -30
- package/src/skills/increment-planner/test-cases/test-3-auto-numbering.yaml +0 -24
- package/src/skills/increment-quality-judge/test-cases/test-1-good-spec.yaml +0 -95
- package/src/skills/increment-quality-judge/test-cases/test-2-poor-spec.yaml +0 -108
- package/src/skills/increment-quality-judge/test-cases/test-3-export-suggestions.yaml +0 -87
- package/src/skills/jira-sync/test-cases/test-1.yaml +0 -9
- package/src/skills/jira-sync/test-cases/test-2.yaml +0 -9
- package/src/skills/jira-sync/test-cases/test-3.yaml +0 -10
- package/src/skills/nextjs/test-cases/test-1-app-router.yaml +0 -13
- package/src/skills/nextjs/test-cases/test-2-server-actions.yaml +0 -13
- package/src/skills/nextjs/test-cases/test-3-api-routes.yaml +0 -13
- package/src/skills/nodejs-backend/test-cases/test-1-express-api.yaml +0 -13
- package/src/skills/nodejs-backend/test-cases/test-2-prisma-orm.yaml +0 -13
- package/src/skills/nodejs-backend/test-cases/test-3-authentication.yaml +0 -13
- package/src/skills/notification-system/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/notification-system/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/notification-system/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/python-backend/test-cases/test-1-fastapi-crud.yaml +0 -13
- package/src/skills/python-backend/test-cases/test-2-sqlalchemy.yaml +0 -13
- package/src/skills/python-backend/test-cases/test-3-authentication.yaml +0 -13
- package/src/skills/role-orchestrator/test-cases/test-1-simple-product.yaml +0 -98
- package/src/skills/role-orchestrator/test-cases/test-2-quality-gate-failure.yaml +0 -73
- package/src/skills/role-orchestrator/test-cases/test-3-security-workflow.yaml +0 -121
- package/src/skills/role-orchestrator/test-cases/test-4-parallel-execution.yaml +0 -145
- package/src/skills/role-orchestrator/test-cases/test-5-feedback-loops.yaml +0 -149
- package/src/skills/skill-creator/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/skill-creator/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/skill-creator/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/skill-router/test-cases/test-1-basic-routing.yaml +0 -33
- package/src/skills/skill-router/test-cases/test-2-ambiguous-request.yaml +0 -42
- package/src/skills/skill-router/test-cases/test-3-nested-orchestration.yaml +0 -50
- package/src/skills/spec-driven-brainstorming/test-cases/TC-001-simple-idea-to-design.yaml +0 -148
- package/src/skills/spec-driven-brainstorming/test-cases/TC-002-complex-ultrathink-design.yaml +0 -190
- package/src/skills/spec-driven-brainstorming/test-cases/TC-003-unclear-requirements-socratic.yaml +0 -233
- package/src/skills/spec-driven-debugging/test-cases/TC-001-simple-auth-bug.yaml +0 -212
- package/src/skills/spec-driven-debugging/test-cases/TC-002-race-condition-ultrathink.yaml +0 -461
- package/src/skills/spec-driven-debugging/test-cases/TC-003-brownfield-missing-spec.yaml +0 -366
- package/src/skills/spec-kit-expert/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/spec-kit-expert/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/spec-kit-expert/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/specweave-ado-mapper/test-cases/test-1-export-to-ado.yaml +0 -13
- package/src/skills/specweave-ado-mapper/test-cases/test-2-import-from-ado.yaml +0 -13
- package/src/skills/specweave-ado-mapper/test-cases/test-3-bidirectional-sync.yaml +0 -13
- package/src/skills/specweave-detector/test-cases/test-1-basic-detection.yaml +0 -37
- package/src/skills/specweave-detector/test-cases/test-2-missing-config.yaml +0 -37
- package/src/skills/specweave-detector/test-cases/test-3-non-specweave-project.yaml +0 -34
- package/src/skills/specweave-jira-mapper/test-cases/test-1-export-to-jira.yaml +0 -13
- package/src/skills/specweave-jira-mapper/test-cases/test-2-import-from-jira.yaml +0 -13
- package/src/skills/specweave-jira-mapper/test-cases/test-3-sync-status.yaml +0 -13
- package/src/skills/stripe-integrator/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/stripe-integrator/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/stripe-integrator/test-cases/test-3-placeholder.yaml +0 -12
- package/src/skills/task-builder/test-cases/test-1-placeholder.yaml +0 -12
- package/src/skills/task-builder/test-cases/test-2-placeholder.yaml +0 -12
- package/src/skills/task-builder/test-cases/test-3-placeholder.yaml +0 -12
- package/src/templates/config.yaml +0 -351
- /package/src/commands/{list-increments.md ā specweave.list-increments.md} +0 -0
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Codex Adapter (OpenAI)
|
|
3
|
+
*
|
|
4
|
+
* Semi-automation adapter for OpenAI Codex (ChatGPT Code Interpreter/Codex CLI).
|
|
5
|
+
* Uses universal AGENTS.md file for instructions.
|
|
6
|
+
*
|
|
7
|
+
* Codex features:
|
|
8
|
+
* - Works in CLI, IDE, web, GitHub, iOS app
|
|
9
|
+
* - GPT-5-Codex optimized for engineering tasks
|
|
10
|
+
* - File read/write operations
|
|
11
|
+
* - Test execution and validation
|
|
12
|
+
* - Task-based isolated environments
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import * as path from 'path';
|
|
16
|
+
import fs from 'fs-extra';
|
|
17
|
+
import { AdapterBase } from '../adapter-base.js';
|
|
18
|
+
import { AdapterOptions, AdapterFile } from '../adapter-interface.js';
|
|
19
|
+
import { AgentsMdGenerator } from '../agents-md-generator.js';
|
|
20
|
+
import { getDirname } from '../../utils/esm-helpers.js';
|
|
21
|
+
|
|
22
|
+
const __dirname = getDirname(import.meta.url);
|
|
23
|
+
|
|
24
|
+
export class CodexAdapter extends AdapterBase {
|
|
25
|
+
name = 'codex';
|
|
26
|
+
description = 'OpenAI Codex adapter - Semi-automation with AGENTS.md and task-based execution';
|
|
27
|
+
automationLevel = 'semi' as const;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Detect if Codex is available
|
|
31
|
+
*
|
|
32
|
+
* Checks for:
|
|
33
|
+
* - codex command in PATH (Codex CLI)
|
|
34
|
+
* - .codex/ directory exists
|
|
35
|
+
* - AGENTS.md file exists (previously configured)
|
|
36
|
+
*/
|
|
37
|
+
async detect(): Promise<boolean> {
|
|
38
|
+
const hasCodexCLI = await this.commandExists('codex');
|
|
39
|
+
const hasCodexDir = await this.fileExists('.codex');
|
|
40
|
+
const hasAgentsMd = await this.fileExists('AGENTS.md');
|
|
41
|
+
|
|
42
|
+
return hasCodexCLI || hasCodexDir || hasAgentsMd;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Get files to install for Codex adapter
|
|
47
|
+
*/
|
|
48
|
+
getFiles(): AdapterFile[] {
|
|
49
|
+
return [
|
|
50
|
+
{
|
|
51
|
+
sourcePath: 'AGENTS.md',
|
|
52
|
+
targetPath: 'AGENTS.md',
|
|
53
|
+
description: 'Universal SpecWeave instructions (works with all AI tools)'
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
sourcePath: 'README.md',
|
|
57
|
+
targetPath: '.codex/README.md',
|
|
58
|
+
description: 'Codex adapter documentation'
|
|
59
|
+
}
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Install Codex adapter
|
|
65
|
+
*/
|
|
66
|
+
async install(options: AdapterOptions): Promise<void> {
|
|
67
|
+
console.log('\nš¦ Installing OpenAI Codex Adapter (Semi-Automation)\n');
|
|
68
|
+
|
|
69
|
+
// Ensure .codex directory exists
|
|
70
|
+
const codexDir = path.join(options.projectPath, '.codex');
|
|
71
|
+
await fs.ensureDir(codexDir);
|
|
72
|
+
|
|
73
|
+
// Generate AGENTS.md
|
|
74
|
+
const agentsMdPath = path.join(options.projectPath, 'AGENTS.md');
|
|
75
|
+
await this.generateAgentsMd(agentsMdPath, options);
|
|
76
|
+
|
|
77
|
+
// Copy README
|
|
78
|
+
const readmePath = path.join(__dirname, 'README.md');
|
|
79
|
+
if (await fs.pathExists(readmePath)) {
|
|
80
|
+
await fs.copy(readmePath, path.join(codexDir, 'README.md'));
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
console.log('\n⨠Codex adapter installed!');
|
|
84
|
+
console.log('\nš Files created:');
|
|
85
|
+
console.log(' - AGENTS.md (universal instructions)');
|
|
86
|
+
console.log(' - .codex/README.md (adapter documentation)');
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Generate AGENTS.md file
|
|
91
|
+
*/
|
|
92
|
+
private async generateAgentsMd(targetPath: string, options: AdapterOptions): Promise<void> {
|
|
93
|
+
const generator = new AgentsMdGenerator(
|
|
94
|
+
path.join(__dirname, '../../skills'),
|
|
95
|
+
path.join(__dirname, '../../agents'),
|
|
96
|
+
path.join(__dirname, '../../commands')
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
const content = await generator.generate({
|
|
100
|
+
projectName: options.projectName,
|
|
101
|
+
projectPath: options.projectPath
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
await fs.writeFile(targetPath, content);
|
|
105
|
+
console.log(' ā
AGENTS.md - Universal SpecWeave instructions');
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Post-installation instructions
|
|
110
|
+
*/
|
|
111
|
+
async postInstall(options: AdapterOptions): Promise<void> {
|
|
112
|
+
console.log(this.getInstructions());
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Get usage instructions for Codex adapter
|
|
117
|
+
*/
|
|
118
|
+
getInstructions(): string {
|
|
119
|
+
return `
|
|
120
|
+
================================================================
|
|
121
|
+
OpenAI Codex Adapter - Semi-Automation
|
|
122
|
+
================================================================
|
|
123
|
+
|
|
124
|
+
Your project is now configured for OpenAI Codex with SEMI-automation!
|
|
125
|
+
|
|
126
|
+
WHAT THIS PROVIDES:
|
|
127
|
+
|
|
128
|
+
- AGENTS.md (Universal Instructions)
|
|
129
|
+
- Works with Codex CLI, ChatGPT web, and IDEs
|
|
130
|
+
- Auto-generated from actual skills/agents
|
|
131
|
+
- SpecWeave structure and workflows
|
|
132
|
+
- GPT-5-Codex optimized guidance
|
|
133
|
+
|
|
134
|
+
- Task-Based Execution
|
|
135
|
+
- Isolated environments per task
|
|
136
|
+
- File read/write operations
|
|
137
|
+
- Test execution and validation
|
|
138
|
+
|
|
139
|
+
QUICK START:
|
|
140
|
+
|
|
141
|
+
**Option 1: Codex CLI** (Fastest)
|
|
142
|
+
|
|
143
|
+
1. Install Codex CLI:
|
|
144
|
+
|
|
145
|
+
# Included with ChatGPT Plus, Pro, Business, Enterprise
|
|
146
|
+
npm install -g openai-codex-cli
|
|
147
|
+
|
|
148
|
+
2. Create your first feature:
|
|
149
|
+
|
|
150
|
+
codex "Read AGENTS.md and create increment for user authentication"
|
|
151
|
+
|
|
152
|
+
Codex will:
|
|
153
|
+
- Read AGENTS.md for SpecWeave context
|
|
154
|
+
- Adopt PM role: Create spec.md (WHAT/WHY)
|
|
155
|
+
- Adopt Architect role: Create plan.md (HOW)
|
|
156
|
+
- Create tasks.md
|
|
157
|
+
- Execute in isolated environment
|
|
158
|
+
|
|
159
|
+
**Option 2: ChatGPT Web** (Most Accessible)
|
|
160
|
+
|
|
161
|
+
1. Open ChatGPT (Plus/Pro/Business/Enterprise)
|
|
162
|
+
|
|
163
|
+
2. Upload AGENTS.md file
|
|
164
|
+
|
|
165
|
+
3. Say:
|
|
166
|
+
"I'm using SpecWeave framework. Create increment for user authentication."
|
|
167
|
+
|
|
168
|
+
4. Copy generated content to files:
|
|
169
|
+
- spec.md
|
|
170
|
+
- plan.md
|
|
171
|
+
- tasks.md
|
|
172
|
+
|
|
173
|
+
**Option 3: IDE Integration** (If available in your IDE)
|
|
174
|
+
|
|
175
|
+
Use Codex integration in your IDE (VS Code, JetBrains, etc.)
|
|
176
|
+
Reference AGENTS.md for SpecWeave structure.
|
|
177
|
+
|
|
178
|
+
HOW TO USE:
|
|
179
|
+
|
|
180
|
+
**With Codex CLI**:
|
|
181
|
+
\`\`\`bash
|
|
182
|
+
# Explicit reference (recommended):
|
|
183
|
+
codex "Read AGENTS.md and [your request]"
|
|
184
|
+
|
|
185
|
+
# Natural language:
|
|
186
|
+
codex "Create a new feature following SpecWeave structure"
|
|
187
|
+
|
|
188
|
+
# With context:
|
|
189
|
+
codex "Following the PM role in AGENTS.md, create requirements for payments"
|
|
190
|
+
\`\`\`
|
|
191
|
+
|
|
192
|
+
**With ChatGPT Web**:
|
|
193
|
+
1. Upload AGENTS.md at start of conversation
|
|
194
|
+
2. Reference it: "Following AGENTS.md, create increment for..."
|
|
195
|
+
3. Download or copy-paste generated files
|
|
196
|
+
|
|
197
|
+
CONTEXT LOADING (70%+ Token Savings):
|
|
198
|
+
|
|
199
|
+
CRITICAL: Tell Codex to read context-manifest.yaml first!
|
|
200
|
+
|
|
201
|
+
\`\`\`bash
|
|
202
|
+
# CLI:
|
|
203
|
+
codex "Read context-manifest.yaml from increment 0001, load only those files, then implement task T001"
|
|
204
|
+
|
|
205
|
+
# Web:
|
|
206
|
+
# 1. Upload context-manifest.yaml
|
|
207
|
+
# 2. Upload only files listed in manifest
|
|
208
|
+
# 3. Request task implementation
|
|
209
|
+
\`\`\`
|
|
210
|
+
|
|
211
|
+
FEATURES:
|
|
212
|
+
|
|
213
|
+
ā
GPT-5-Codex Model
|
|
214
|
+
- Optimized for engineering tasks
|
|
215
|
+
- Trained on complex, real-world projects
|
|
216
|
+
- Code generation, debugging, refactoring
|
|
217
|
+
|
|
218
|
+
ā
Task-Based Execution
|
|
219
|
+
- Each task in isolated environment
|
|
220
|
+
- Real-time progress monitoring
|
|
221
|
+
- Verifiable evidence (citations, logs)
|
|
222
|
+
|
|
223
|
+
ā
File Operations
|
|
224
|
+
- Read and edit files
|
|
225
|
+
- Run commands (tests, linters, type checkers)
|
|
226
|
+
- Create new files and directories
|
|
227
|
+
|
|
228
|
+
ā
Multiple Access Points
|
|
229
|
+
- CLI (fastest)
|
|
230
|
+
- Web (most accessible)
|
|
231
|
+
- IDE (most integrated)
|
|
232
|
+
- GitHub (for PRs)
|
|
233
|
+
- iOS app (mobile)
|
|
234
|
+
|
|
235
|
+
ā
Test Execution
|
|
236
|
+
- Run test harnesses
|
|
237
|
+
- Validate implementations
|
|
238
|
+
- Ensure quality
|
|
239
|
+
|
|
240
|
+
EXAMPLE WORKFLOWS:
|
|
241
|
+
|
|
242
|
+
1. **Create Feature (CLI)**:
|
|
243
|
+
\`\`\`bash
|
|
244
|
+
codex "Read AGENTS.md. Create increment 0002 for payment processing with Stripe. Follow SpecWeave structure."
|
|
245
|
+
\`\`\`
|
|
246
|
+
|
|
247
|
+
2. **Create Feature (Web)**:
|
|
248
|
+
- Upload AGENTS.md
|
|
249
|
+
- Say: "Create increment for payment processing"
|
|
250
|
+
- Download generated files
|
|
251
|
+
|
|
252
|
+
3. **Implement Task**:
|
|
253
|
+
\`\`\`bash
|
|
254
|
+
codex "Read increment 0002, implement task T001 (Setup Stripe SDK)"
|
|
255
|
+
\`\`\`
|
|
256
|
+
|
|
257
|
+
4. **Fix Bug**:
|
|
258
|
+
\`\`\`bash
|
|
259
|
+
codex "Read AGENTS.md and increment 0001. Fix authentication bug. Run tests."
|
|
260
|
+
\`\`\`
|
|
261
|
+
|
|
262
|
+
5. **Code Review**:
|
|
263
|
+
\`\`\`bash
|
|
264
|
+
codex "Adopt Tech Lead role from AGENTS.md. Review src/auth/ code."
|
|
265
|
+
\`\`\`
|
|
266
|
+
|
|
267
|
+
TIPS & TRICKS:
|
|
268
|
+
|
|
269
|
+
1. **Always Reference AGENTS.md**
|
|
270
|
+
- CLI: Explicit in command
|
|
271
|
+
- Web: Upload at conversation start
|
|
272
|
+
|
|
273
|
+
2. **Use Task-Based Approach**
|
|
274
|
+
- Break work into tasks (T001, T002, etc.)
|
|
275
|
+
- Each task runs in isolated environment
|
|
276
|
+
- Easier to track and validate
|
|
277
|
+
|
|
278
|
+
3. **Monitor Progress**
|
|
279
|
+
- CLI shows real-time progress (1-30 minutes per task)
|
|
280
|
+
- Web shows thinking process
|
|
281
|
+
- Review citations and logs
|
|
282
|
+
|
|
283
|
+
4. **Leverage Multiple Access Points**
|
|
284
|
+
- CLI for speed
|
|
285
|
+
- Web for accessibility
|
|
286
|
+
- IDE for integration
|
|
287
|
+
|
|
288
|
+
5. **Validate with Tests**
|
|
289
|
+
- Codex can run tests automatically
|
|
290
|
+
- Verify implementations work
|
|
291
|
+
|
|
292
|
+
COMPARISON:
|
|
293
|
+
|
|
294
|
+
| Feature | Claude Code | Codex |
|
|
295
|
+
|---------|-------------|-------|
|
|
296
|
+
| **Automation** | Full | Semi |
|
|
297
|
+
| **Skills** | Native | Via AGENTS.md |
|
|
298
|
+
| **Agents** | Native | Via AGENTS.md |
|
|
299
|
+
| **Access** | CLI only | CLI + Web + IDE + GitHub + iOS |
|
|
300
|
+
| **Model** | Sonnet 4.5 | GPT-5-Codex |
|
|
301
|
+
| **Task Isolation** | No | Yes (isolated environments) |
|
|
302
|
+
|
|
303
|
+
LIMITATIONS:
|
|
304
|
+
|
|
305
|
+
- No native skills/agents (manual role adoption via AGENTS.md)
|
|
306
|
+
- No hooks (can't auto-update docs on events)
|
|
307
|
+
- Tasks run 1-30 minutes (not instant)
|
|
308
|
+
- Requires ChatGPT Plus/Pro/Business/Enterprise
|
|
309
|
+
|
|
310
|
+
But very powerful with GPT-5-Codex and multiple access points!
|
|
311
|
+
|
|
312
|
+
PLANS & PRICING:
|
|
313
|
+
|
|
314
|
+
- **ChatGPT Plus**: $20/month (includes Codex CLI + Web)
|
|
315
|
+
- **ChatGPT Pro**: $200/month (unlimited, faster)
|
|
316
|
+
- **Business/Enterprise**: Custom pricing
|
|
317
|
+
|
|
318
|
+
Free trial may be available - check OpenAI website.
|
|
319
|
+
|
|
320
|
+
DOCUMENTATION:
|
|
321
|
+
|
|
322
|
+
- AGENTS.md: Universal SpecWeave instructions (READ THIS!)
|
|
323
|
+
- SPECWEAVE.md: Complete framework documentation
|
|
324
|
+
- .codex/README.md: Codex adapter guide
|
|
325
|
+
- https://openai.com/codex/
|
|
326
|
+
|
|
327
|
+
You're ready to build with SpecWeave on OpenAI Codex!
|
|
328
|
+
|
|
329
|
+
Pro tip: Use CLI for speed, Web for accessibility, and always
|
|
330
|
+
reference AGENTS.md for SpecWeave structure!
|
|
331
|
+
`;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
@@ -2,73 +2,52 @@
|
|
|
2
2
|
* GitHub Copilot Adapter
|
|
3
3
|
*
|
|
4
4
|
* Basic automation adapter for GitHub Copilot.
|
|
5
|
-
*
|
|
5
|
+
* Copilot automatically reads AGENTS.md (universal standard) for context and suggestions.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* this adapter focuses on clear, structured guidance that Copilot can use
|
|
9
|
-
* to provide better code suggestions and completions.
|
|
7
|
+
* This adapter requires no additional files - Copilot reads AGENTS.md automatically.
|
|
10
8
|
*/
|
|
11
9
|
|
|
12
10
|
import * as path from 'path';
|
|
13
|
-
import
|
|
14
|
-
import { AdapterBase } from '../adapter-base';
|
|
15
|
-
import { AdapterOptions, AdapterFile } from '../adapter-interface';
|
|
11
|
+
import fs from 'fs-extra';
|
|
12
|
+
import { AdapterBase } from '../adapter-base.js';
|
|
13
|
+
import { AdapterOptions, AdapterFile } from '../adapter-interface.js';
|
|
16
14
|
|
|
17
15
|
export class CopilotAdapter extends AdapterBase {
|
|
18
16
|
name = 'copilot';
|
|
19
|
-
description = 'GitHub Copilot adapter - Basic automation with
|
|
17
|
+
description = 'GitHub Copilot adapter - Basic automation with AGENTS.md';
|
|
20
18
|
automationLevel = 'basic' as const;
|
|
21
19
|
|
|
22
20
|
/**
|
|
23
21
|
* Detect if GitHub Copilot is available
|
|
24
22
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
23
|
+
* Note: Detection is best-effort since Copilot might be installed
|
|
24
|
+
* but we can't detect it reliably. This adapter is safe to use
|
|
25
|
+
* as a fallback since Copilot reads AGENTS.md (universal standard).
|
|
28
26
|
*/
|
|
29
27
|
async detect(): Promise<boolean> {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
// Check for VS Code Copilot extension (best effort)
|
|
34
|
-
// This is approximate - Copilot might be installed but we can't detect reliably
|
|
35
|
-
return hasInstructions || hasGitHubDir;
|
|
28
|
+
// Always return false to make this a manual selection
|
|
29
|
+
// Users can explicitly choose Copilot adapter if they want
|
|
30
|
+
return false;
|
|
36
31
|
}
|
|
37
32
|
|
|
38
33
|
/**
|
|
39
34
|
* Get files to install for Copilot adapter
|
|
35
|
+
*
|
|
36
|
+
* Note: Copilot automatically reads AGENTS.md (universal standard).
|
|
37
|
+
* No additional files needed.
|
|
40
38
|
*/
|
|
41
39
|
getFiles(): AdapterFile[] {
|
|
42
|
-
return [
|
|
43
|
-
{
|
|
44
|
-
sourcePath: '.github/copilot/instructions.md',
|
|
45
|
-
targetPath: '.github/copilot/instructions.md',
|
|
46
|
-
description: 'GitHub Copilot workspace instructions'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
sourcePath: 'README.md',
|
|
50
|
-
targetPath: '.github/copilot/README.md',
|
|
51
|
-
description: 'Copilot adapter documentation'
|
|
52
|
-
}
|
|
53
|
-
];
|
|
40
|
+
return [];
|
|
54
41
|
}
|
|
55
42
|
|
|
56
43
|
/**
|
|
57
44
|
* Install Copilot adapter
|
|
58
45
|
*/
|
|
59
46
|
async install(options: AdapterOptions): Promise<void> {
|
|
60
|
-
console.log('\nš¦
|
|
61
|
-
|
|
62
|
-
// Ensure .github/copilot directory exists
|
|
63
|
-
const copilotDir = path.join(options.projectPath, '.github', 'copilot');
|
|
64
|
-
await fs.ensureDir(copilotDir);
|
|
65
|
-
|
|
66
|
-
// Copy files
|
|
67
|
-
await super.install(options);
|
|
47
|
+
console.log('\nš¦ Configuring GitHub Copilot (Basic Automation)\n');
|
|
68
48
|
|
|
69
|
-
|
|
70
|
-
console.log('
|
|
71
|
-
console.log(' - .github/copilot/instructions.md (workspace guidance)');
|
|
49
|
+
// No files to install - Copilot reads AGENTS.md automatically
|
|
50
|
+
console.log('ā
Copilot will automatically read AGENTS.md');
|
|
72
51
|
}
|
|
73
52
|
|
|
74
53
|
/**
|
|
@@ -91,14 +70,14 @@ Your project is now configured for GitHub Copilot!
|
|
|
91
70
|
|
|
92
71
|
WHAT THIS PROVIDES:
|
|
93
72
|
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
73
|
+
- AGENTS.md (Universal Standard)
|
|
74
|
+
- Copilot automatically reads this file
|
|
75
|
+
- Contains all workflow instructions
|
|
76
|
+
- Project structure and templates
|
|
77
|
+
- Following agents.md standard (https://agents.md/)
|
|
99
78
|
|
|
100
79
|
- Better Code Suggestions
|
|
101
|
-
- Copilot reads
|
|
80
|
+
- Copilot reads AGENTS.md for context
|
|
102
81
|
- Suggests code following SpecWeave patterns
|
|
103
82
|
- Understands project structure
|
|
104
83
|
|
|
@@ -108,26 +87,22 @@ Claude Code (Full Automation):
|
|
|
108
87
|
- Native skills (auto-activate)
|
|
109
88
|
- Native agents (separate context windows)
|
|
110
89
|
- Native hooks (auto-update docs)
|
|
111
|
-
- Slash commands
|
|
90
|
+
- Slash commands (/inc, /do, /done)
|
|
112
91
|
|
|
113
92
|
Cursor (Semi-Automation):
|
|
114
|
-
-
|
|
115
|
-
- Simulated agents (manual roles)
|
|
93
|
+
- Reads AGENTS.md for workflow
|
|
116
94
|
- @ context shortcuts
|
|
95
|
+
- Composer multi-file editing
|
|
117
96
|
|
|
118
97
|
Copilot (Basic Automation - This Adapter):
|
|
119
|
-
-
|
|
98
|
+
- Reads AGENTS.md automatically
|
|
120
99
|
- Better code suggestions
|
|
121
100
|
- No skills, agents, hooks, or commands
|
|
122
101
|
- Manual workflow with AI assistance
|
|
123
102
|
|
|
124
|
-
HOW
|
|
103
|
+
HOW COPILOT USES AGENTS.MD:
|
|
125
104
|
|
|
126
|
-
GitHub Copilot
|
|
127
|
-
workflows. But it DOES read workspace instructions to provide
|
|
128
|
-
better code suggestions.
|
|
129
|
-
|
|
130
|
-
We provide clear instructions that teach Copilot about:
|
|
105
|
+
GitHub Copilot automatically reads AGENTS.md to understand:
|
|
131
106
|
- SpecWeave structure (.specweave/ folders)
|
|
132
107
|
- File naming conventions (spec.md, plan.md, tasks.md)
|
|
133
108
|
- Context manifests (what files to reference)
|
|
@@ -137,12 +112,11 @@ Result: Copilot suggests code that fits SpecWeave patterns!
|
|
|
137
112
|
|
|
138
113
|
HOW TO USE SPECWEAVE WITH COPILOT:
|
|
139
114
|
|
|
140
|
-
1. Copilot reads
|
|
115
|
+
1. Copilot reads AGENTS.md automatically
|
|
141
116
|
- No action needed - just open project in VS Code
|
|
142
117
|
- Copilot will suggest code following SpecWeave patterns
|
|
143
118
|
|
|
144
119
|
2. Create increments manually:
|
|
145
|
-
|
|
146
120
|
mkdir -p .specweave/increments/0001-user-auth
|
|
147
121
|
|
|
148
122
|
3. Reference context manifests:
|
|
@@ -157,20 +131,19 @@ HOW TO USE SPECWEAVE WITH COPILOT:
|
|
|
157
131
|
|
|
158
132
|
5. Use Copilot inline suggestions:
|
|
159
133
|
Start typing in spec.md ā Copilot suggests content
|
|
160
|
-
Following SpecWeave patterns from
|
|
134
|
+
Following SpecWeave patterns from AGENTS.md
|
|
161
135
|
|
|
162
136
|
WORKFLOW EXAMPLE:
|
|
163
137
|
|
|
164
138
|
Creating a Feature:
|
|
165
139
|
|
|
166
140
|
1. Create increment folder:
|
|
167
|
-
|
|
168
141
|
mkdir -p .specweave/increments/0002-payments
|
|
169
142
|
cd .specweave/increments/0002-payments
|
|
170
143
|
|
|
171
144
|
2. Create spec.md:
|
|
172
145
|
- Open file, start typing frontmatter
|
|
173
|
-
- Copilot suggests SpecWeave structure
|
|
146
|
+
- Copilot suggests SpecWeave structure (from AGENTS.md)
|
|
174
147
|
- Fill in user stories, acceptance criteria
|
|
175
148
|
|
|
176
149
|
3. Create plan.md:
|
|
@@ -191,14 +164,12 @@ LIMITATIONS (vs Claude Code & Cursor):
|
|
|
191
164
|
- Completely manual workflow
|
|
192
165
|
|
|
193
166
|
But Copilot still provides helpful suggestions!
|
|
194
|
-
- Understands SpecWeave structure from
|
|
167
|
+
- Understands SpecWeave structure from AGENTS.md
|
|
195
168
|
- Suggests code following project patterns
|
|
196
169
|
|
|
197
170
|
DOCUMENTATION:
|
|
198
171
|
|
|
199
|
-
-
|
|
200
|
-
- .github/copilot/instructions.md: Workspace instructions
|
|
201
|
-
- .github/copilot/README.md: Copilot adapter guide
|
|
172
|
+
- AGENTS.md: Universal workflow instructions (Copilot reads this!)
|
|
202
173
|
- .specweave/docs/: Project documentation
|
|
203
174
|
|
|
204
175
|
You're ready to build with SpecWeave on GitHub Copilot!
|
|
@@ -21,7 +21,6 @@ A skill is a specialized capability that activates automatically when relevant.
|
|
|
21
21
|
|
|
22
22
|
## increment-planner Skill
|
|
23
23
|
When user says "create increment":
|
|
24
|
-
1. Read .specweave/config.yaml
|
|
25
24
|
2. Auto-increment number
|
|
26
25
|
3. Create spec.md (act as PM role)
|
|
27
26
|
4. Create plan.md (act as Architect role)
|
|
@@ -126,7 +125,6 @@ npx specweave init my-project --adapter cursor
|
|
|
126
125
|
**User**: "Create increment for user authentication"
|
|
127
126
|
|
|
128
127
|
**Cursor** (following .cursorrules):
|
|
129
|
-
1. ā
Read .specweave/config.yaml
|
|
130
128
|
2. ā
Find next increment number (0003)
|
|
131
129
|
3. ā
Create folder: `.specweave/increments/0003-user-authentication/`
|
|
132
130
|
4. ā
Act as PM: Create spec.md (WHAT/WHY, user stories, acceptance criteria)
|