Skip to content

Add optimize extension to community catalog#2088

Open
sakitA wants to merge 1 commit intogithub:mainfrom
sakitA:add-optimize-extension
Open

Add optimize extension to community catalog#2088
sakitA wants to merge 1 commit intogithub:mainfrom
sakitA:add-optimize-extension

Conversation

@sakitA
Copy link
Copy Markdown

@sakitA sakitA commented Apr 4, 2026

Extension Submission

Extension Name: Optimize Extension
Extension ID: optimize
Version: 1.0.0
Author: sakitA
Repository: https://github.com/sakitA/spec-kit-optimize

Description

Audits and optimizes AI governance documents for context efficiency.
3 commands: constitution audit (6 categories), token usage tracking, session learning.

Real-World Results

Single /speckit.optimize.run invocation on a production project constitution:

  • 61% token reduction across governance files (~4,977 tokens saved per session)
  • 13 optimizations applied in one pass
  • Key savings: version history bloat removal, anti-pattern deduplication, code block compression to references, governance echo elimination (supplementary files 84-95% redundant with constitution)
  • Post-optimization governance budget: 2.3% of 200K context (0.5% of 1M) — well under 15% threshold

Checklist

  • Valid extension.yml manifest
  • README.md with installation and usage docs
  • LICENSE file included
  • GitHub release created (v1.0.0)
  • Extension tested on real project
  • All commands working
  • No security vulnerabilities
  • Added to extensions/catalog.community.json
  • Added to Community Extensions table in README.md

Testing

Tested on:

  • Windows 11 with spec-kit 0.4.3, Claude Code
  • Production Java project with mature constitution (6+ principles, multiple governance files)

Additional Notes

Suggest-only design — no modifications without explicit user consent. Every command produces a report first; nothing is changed until the user explicitly approves.

- Extension ID: optimize
- Version: 1.0.0
- Author: sakitA
- Description: Audits and optimizes AI governance for context efficiency
Copilot AI review requested due to automatic review settings April 4, 2026 05:31
@sakitA sakitA requested a review from mnriem as a code owner April 4, 2026 05:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds the new community “Optimize Extension” to the Spec Kit community extension surfaces so it can be discovered and installed via the community catalog.

Changes:

  • Added an optimize entry to extensions/catalog.community.json with metadata (version, URLs, tags, requirements).
  • Added the Optimize extension row to the Community Extensions table in README.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Adds Optimize to the Community Extensions table for visibility/discoverability.
extensions/catalog.community.json Registers the Optimize extension metadata in the community catalog for installation/search.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants