tessl install tessl-labs/quickstart-express-api-standards@1.0.5Quickstart example: Express.js API coding standards (rules)
Express.js API coding standards for the Tessl quickstart guide.
⚠️ Quickstart Example Only
This tile is a demonstration example for the Quick Start: Skills, Docs, and Rules guide. It is not intended for production use.
For production, create your own tile with your team's specific standards. See Creating tiles for guidance.
This tile provides coding standards (rules) for building Express.js REST APIs. When installed, these standards are automatically applied to every interaction with your coding agent.
Type: Rules
Name: tessl-labs/quickstart-express-api-standards
Version: 1.0.0
Located in rules/standards.md, this tile enforces:
Error Handling
Validation
Response Format
success boolean fieldSecurity
tessl install tessl-labs/quickstart-express-api-standardstessl install file:./tiles/tessl-demo/quickstart-express-api-standardsRules are eager push - they're always loaded and applied automatically:
.tessl/RULES.mdAfter installing this tile, your agent will automatically:
// Generate error handling following the standards
app.post('/api/posts', async (req, res) => {
try {
// Your logic here
res.status(201).json({
success: true,
data: post
});
} catch (error) {
res.status(500).json({
success: false,
error: 'Failed to create post',
code: 'POST_CREATE_FAILED'
});
}
});This tile is referenced in: