docs: add Block Kit type instructions for slack-api-model - #1623
Merged
Conversation
Extract Block Kit-specific agent instructions from root AGENTS.md into a dedicated slack-api-model/AGENTS.md with detailed steps for adding new layout blocks, elements, and composition objects.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1623 +/- ##
============================================
+ Coverage 73.32% 73.37% +0.04%
- Complexity 4520 4523 +3
============================================
Files 478 478
Lines 14300 14300
Branches 1490 1490
============================================
+ Hits 10486 10492 +6
+ Misses 2923 2918 -5
+ Partials 891 890 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
3 tasks
WilliamBergamin
approved these changes
Jul 28, 2026
WilliamBergamin
left a comment
Contributor
There was a problem hiding this comment.
LGTM not blocking comments 🚀
|
|
||
| File: `slack-api-model-kotlin-extension/src/main/kotlin/com/slack/api/model/kotlin_extension/block/{Name}BlockBuilder.kt` | ||
|
|
||
| ```kotlin |
| ├── event/ # Slack event type definitions | ||
| ├── view/ # Modal and Home tab view types | ||
| └── ... # Other model types (File, Message, User, etc.) | ||
| ``` |
Contributor
There was a problem hiding this comment.
I'm not a biggest fan of these ASCII trees, I find they duplicate what the project structure already states 🤔
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add detailed agent instructions for adding new Block Kit types (layout blocks, elements, composition objects) to the
slack-api-modelmodule. Moves Block Kit guidance out of rootAGENTS.mdinto a dedicatedslack-api-model/AGENTS.md.