Skip to content

How do I specify the output path for OpenSpec artifacts? #654

@siyuanAUV

Description

@siyuanAUV

When I execute openspec init in the project root directory, the initial OpenSpec structure is generated, and subsequent artifacts are also generated in that path. However, if I want them to be generated in a path I specify, what configuration should I modify?such as:

my-project
├── .claude
└── openspec
    └── change/
    └── specs/
    └── config.yaml

What I hope:

my-project
├── .claude
└── docs/ai
    └── openspec
        └── change/
        └── specs/

My AI tool uses Claude Code. I tried modifying config.yaml, but it didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions