| name | dev-workflow |
|---|---|
| description | Use when setting up the repo, running tests or docs, choosing branches, or aligning with release and CI expectations for contentstack-ruby. |
- First-time setup or refreshing dependencies
- Running the test suite or generating YARD docs before a PR
- Choosing a base branch or understanding merge restrictions
- Bumping version or coordinating with gem release (see also
skills/framework/SKILL.md)
- Use Ruby ≥ 3.3; match
.ruby-versionwhen using rbenv/asdf/chruby. - From the repo root:
bundle install(respectsGemfile+contentstack.gemspec).
- Full test suite:
bundle exec rspec - One file:
bundle exec rspec spec/<name>_spec.rb - API docs:
bundle exec rake yard(task defined inrakefile.rb; options in.yardopts) - Build the gem locally:
gem build contentstack.gemspec
- Default integration branch is typically
development(confirm on GitHub).mastermerges are restricted:.github/workflows/check-branch.ymlblocks PRs intomasterunless the head branch isstaging—follow org process for promotion. - Keep PRs focused; mention breaking API or Ruby version requirement changes in the description.
- Run
bundle exec rspec; ensure new behavior has specs and existing stubs inspec/spec_helper.rbstay consistent with CDN host patterns you use.
AGENTS.md— stack summary and command tableskills/testing/SKILL.md— RSpec and fixturesskills/framework/SKILL.md— gemspec, Bundler, HTTP concerns- contentstack/contentstack-ruby