Skip to content
This repository was archived by the owner on Aug 24, 2026. It is now read-only.

AI: Add an Openspec harness for managing updating documentation - #6206

Closed
dfinityianblenke wants to merge 3 commits into
masterfrom
ai
Closed

AI: Add an Openspec harness for managing updating documentation#6206
dfinityianblenke wants to merge 3 commits into
masterfrom
ai

Conversation

@dfinityianblenke

@dfinityianblenke dfinityianblenke commented Mar 4, 2026

Copy link
Copy Markdown

Summary

Add OpenSpec spec-driven development harness to the ICP Developer Portal repository. This provides AI coding assistants (Claude, Gemini, OpenCode) with structured specifications and commands for managing documentation changes through a formal proposal-review-implement workflow.

What's included

  • OpenSpec config and specifications: openspec/config.yaml plus 8 domain specs backfilled from the existing codebase covering infrastructure, navigation, documentation structure, UI components, search, blog, deployment, and contribution guidelines
  • AI agent commands and skills: Slash commands (/opsx new, /opsx apply, /opsx archive, etc.) and skill definitions for Claude Code (.claude/), Gemini (.gemini/), and OpenCode (.opencode/)

Why

The portal repo is large and complex. OpenSpec gives AI assistants structured context about the codebase's architecture, conventions, and requirements so they can propose and implement documentation changes more reliably — with formal proposals, validation, and traceability rather than ad-hoc edits.

Notes

  • No runtime code or documentation content is changed
  • All additions are in dotfiles (.claude/, .gemini/, .opencode/) and the openspec/ directory
  • The specs were backfilled from existing sources: style-guide.md, README.md, CODEOWNERS, sidebars.js, docusaurus.config.js, etc.

Outcomes

The following PRs were authored using this branch:

dfinityianblenke and others added 3 commits March 4, 2026 13:29
Populate openspec/config.yaml with project context (tech stack, conventions,
artifact rules) and create 7 domain-specific specs covering infrastructure,
navigation, documentation structure, UI components, search, blog, and deployment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…NERS

Consolidates PR checklist, document tags/SEO requirements, style guide rules,
terminology conventions, code snippet formatting, submodule workflow, and
CODEOWNERS team assignments into a single OpenSpec specification.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dfinityianblenke
dfinityianblenke requested a review from a team as a code owner March 4, 2026 18:53
@dfinityianblenke dfinityianblenke changed the title Ai: Add an Openspec harness for managing updating documentation AI: Add an Openspec harness for managing updating documentation Mar 4, 2026
Comment thread openspec/specs/blog.md
@@ -0,0 +1,55 @@
# Blog Specification

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is out of date as of yesterday

@raymondk

raymondk commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

@dfinityianblenke since we're repeating this for essentially every agent doesn't it make sense to put all of then in one directory and then symlink it instead?

@marc0olo

Copy link
Copy Markdown
Member

This repository has been replaced by dfinity/developer-docs, live at docs.internetcomputer.org, and is being archived, so no further merges will happen here. Closing this PR — if the change is still relevant, please open an equivalent PR against dfinity/developer-docs. Thanks for the contribution.

@marc0olo marc0olo closed this Aug 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants