
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checksโbuilt on trusted open source tools, ready to run out of the box.
@sprucelabs/spruce-skill
Advanced tools
The base template that drives your Sprucebot Skill! โ๏ธ๐ฒ๐ค
Describe the experience you wish to create from the perspective of the
guest
, owner
, or teammate
...
Describe how your skill works for anyone who may need to come in and maintain or add to it. Example; Hooks into did-enter
and sends a message
to a teammate
.
vip
- Tells us who to send to.rewards
- Does something else.Allow your skill to an external sql database.
DB_ENABLED=true
DB_MIGRATIONS=true
to enable automatically running migrationsserver/models/Example.js
from .example
server/migrations/*_example.js#up()
from .example
All of your models are available via koa ctx.db.models.Example.*
and ctx.db.sequelize.*
We also ship with four "Core" models
ctx.db.models.User
ctx.db.models.Location
ctx.db.models.UserLocation
ctx.db.models.Organization
Describe any custom events your skill emits. Make sure you include whether or not it honors preventDefault
and include the payload
's schema.
vip-alerts:will-send
Just before a vip alert is triggered when a guest
or teammate
arrives. Honors preventDefault
. Mutate messages
to your heart's content. Whatever messages
you return will be what is sent.
Payload
;[
{
teammateId: UUID4, // teammate receiving the alert
body: String // the message
},
{
teammateId: UUID4, // teammate receiving the alert
body: String // the message
}
]
will-send-training
This event can be configured to remind teammates to do something, or if none of the settings are set yet, remind the owner to either finish their settings or turn off the skill.
Payload
{
teammate: ctx.event, // teammate receiving the alert
body: String // the message
}
my-slug:custom-event
This is just a placeholder for now, put in yours! Honors preventDefault
.
Payload
{
hello: 'world'
}
FAQs
The base template that drives your Sprucebot Skill! โ๏ธ๐ฒ๐ค
We found that @sprucelabs/spruce-skill demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.ย It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checksโbuilt on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.