xiaohongshu
xiaohongshu
bdd-feature-generator
Creates BDD feature files for Golang Clean Architecture projects using Gherkin syntax. Use when users need to write .feature files for integration tests, create test scenarios for APIs, or generate Cucumber/Godog test specifications. Specifically for projects that follow Clean Architecture patter...
Full skill instructions
Generate .feature files for Golang Clean Architecture projects using established BDD patterns and existing step definitions.
/test/integration/features/Activate this skill when:
Ask the user for:
Check existing features in /test/integration/features/ for:
/test/integration/features/feature-name.featurecreate-user.feature)#language: en and #utf-8 headersSet up common test prerequisites:
Validation Scenarios (use Scenario Outline):
Success Scenarios:
Error Scenarios:
Then the status returned should be 400
And the response should contain the field "error.code" equal to "PREFIX-01400"
And the response should contain the field "error.description" equal to "Bad request"
And the response should contain the field "error.error_details.0.attribute" equal to "<attribute>"
And the response should contain the field "error.error_details.0.messages.0" equal to "<message>"
PREFIX-ERRNUM"not nil" - Assert non-null/non-empty"nil" - Assert null/emptynull - JSON null in examples"" - Empty string@all@success@error@contract_fields_validation@response_validation@database_validation@external_api@eventsFor complete step definitions, see: references/step-definitions.md
Key categories:
For detailed patterns, see: references/patterns-examples.md
Includes:
Use the template at: assets/feature-template.feature
Copy and customize for new features.
@all @create_entity
Feature: Create entity functionality
Background:
Given the tables are empty
And the header is empty
And the "API_KEY" env var is set to "test-key"
@create_entity @contract_fields_validation
Scenario Outline: Create entity failure - bad request
When I call "POST" "/v1/entities" with the following payload
"""
{
"name": <n>,
"type": <type>
}
"""
Then the status returned should be 400
And the response should contain the field "error.code" equal to "ENT-01400"
And the response should contain the field "error.error_details.0.attribute" equal to "<attribute>"
And the response should contain the field "error.error_details.0.messages.0" equal to "<message>"
Examples:
| name | type | attribute | message |
| "" | "valid" | name | REQUIRED_ATTRIBUTE_MISSING |
| null | "valid" | name | REQUIRED_ATTRIBUTE_MISSING |
| "valid" | "" | type | REQUIRED_ATTRIBUTE_MISSING |
@all @list_entities
Feature: List entities functionality
@list_entities @pagination
Scenario: List entities with pagination
Given the "entities" exists
"""
[
{"id": "1", "name": "Entity 1"},
{"id": "2", "name": "Entity 2"},
{"id": "3", "name": "Entity 3"}
]
"""
When I call "GET" "/v1/entities?page_size=2&page=1"
Then the status returned should be 200
And the response should contain the field "items" array length equal to 2
And the response should contain the field "pagination.total" equal to "3"
/test/integration/features/ for similar features firstxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience