feat: add neutral team directives scaffold command#104
Conversation
Assisted-by: OpenCode (model: gpt-5.6-sol, autonomous)
|
@or-yam isn't it better to add it to the team-ai-directive extension as a command named init? What are the benefits in the CLI from your side ? |
I think initializing a team-ai-directives repository should be separate from the extension. Extension commands are agent-executed prompts and are only available after initializing a Spec Kit project and installing the extension. This command may need to bootstrap the team-ai-directives repository before either exists. Keeping the filesystem operation in the CLI also makes it deterministic and repeatable. The clean split, in my opinion:
|
|
How would you solve it when we will decople the team-ai-directives from the
cli?
…On Mon, Jul 20, 2026 at 10:29 AM Oryam Nehoray ***@***.***> wrote:
*or-yam* left a comment (tikalk/agentic-sdlc-spec-kit#104)
<#104 (comment)>
@or-yam <https://github.com/or-yam> isn't it better to add it to the
team-ai-directive extension as a command named init? What are the benefits
in the CLI from your side ?
I think initializing a team-ai-directives repository should be separate
from the extension.
Extension commands are agent-executed prompts and are only available after
initializing a Spec Kit project and installing the extension. This command
may need to bootstrap the team-ai-directives repository before either
exists.
Keeping the filesystem operation in the CLI also makes it deterministic
and repeatable.
The clean split, in my opinion:
- Extension for AI-assisted flows
- CLI for deterministic scaffolding and setup
—
Reply to this email directly, view it on GitHub
<#104?email_source=notifications&email_token=AABJVVERXMNXYEK6RJ5CSWT5FXC6HA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBRHE3TSNJYGI32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5019795827>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABJVVCW24IR7JWG5NRPPM35FXC6HAVCNFSNUABGKJSXA33TNF2G64TZHMYTANRQHEYTMMJUGI5US43TOVSTWNBZGIZTEOBSGUYDTILWAI>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AABJVVAQU6PZDZXLVNXSAYL5FXC6HA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBRHE3TSNJYGI32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJKTGN5XXIZLSL5UW64Y>
and Android
<https://github.com/notifications/mobile/android/AABJVVAM4SH3QEDNFZLYQCT5FXC6HA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBRHE3TSNJYGI32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
Download it today!
You are receiving this because you commented.Message ID:
***@***.***>
|
|
I think I get it now. So, the extension will own the repo initialization as well. Or, we could extend the |
manifest.yml was orphaned metadata from an abandoned draft PR (tikalk/agentic-sdlc-spec-kit#104) — never consumed by any agent or script. Removing it simplifies the scaffold from 11 to 10 files. Mode 3 default path changed from ./.adlc/team-ai-directives to current directory so users scaffold in-place by default.
Description
Spec Kit can consume a team-ai-directives knowledge base, but it provides no neutral way to create one. New teams must either invent the repository contract themselves or clone Tikal's populated directives and delete organization-specific content.
This PR adds
specify team-directives init [PATH] [--name NAME], a standalone command that creates a structurally valid but policy-empty knowledge base. The default destination is./team-ai-directives; the command derives the manifest name from the directory unless--nameis provided.The generated scaffold includes:
manifest.ymlwith schema, repository version, owner, compatibility, and creation metadataREADME.mdandAGENTS.mdguidanceThe filesystem service accepts absent or existing empty destinations, rejects files, symlinks, and non-empty directories, and removes files and directories created by an interrupted or failed scaffold operation. It deliberately does not initialize Git, define team policy, or attach the knowledge base to a Spec Kit project.
The CLI advertises the new capability through
specify version --features, and the fork version is bumped to0.12.15+adlc10. README, quickstart, command reference, changelog, and fork history document the creation and consumption workflow.Why this shape
Creation and project consumption remain separate operations:
team-directives initowns only the knowledge-base files, whilespecify init --team-ai-directivescontinues to own project integration. This keeps project initialization small and preserves the existing opt-in Git behavior.The empty
.skills.jsoncontainsdefault,skills, andexternalkeys because current consumers read different portions of the registry. It does not attempt to resolve the broader pre-existing schema inconsistency between skill browsing and repair commands.Testing
uv run specify --helpuv sync && uv run pytestValidation performed:
git diff --checkpass.specify init --team-ai-directivesproject initialization.git initcreatesmaster; it fails when the environment defaults tomainand passes wheninit.defaultBranch=masteris supplied.workflows/speckitforce-include; wheel-only packaging succeeds.AI Disclosure
Implemented, tested, reviewed, and documented with OpenCode using
openai/gpt-5.6-sol, operating autonomously under human direction.