A Skilled Worker visa limits the work a sponsored individual can do. Under the Immigration Rules, "work is permitted only in the job the applicant is being sponsored for", with some exceptions.
What they can do
Work in the job you sponsor them for.
Supplementary employment, as long as they keep working in their sponsored job. See Can a sponsored individual have a second job? (supplementary employment).
Voluntary work.
Hold shares in a company as a passive investment.
What they cannot do
They cannot work for their own business, for example by running it day to day or being paid as a director, unless that work counts as supplementary employment. Being named as a director is not prohibited in itself, but any work they do in that role is still limited by their visa.
Work for their own business counts towards the 20 hours a week allowed for supplementary employment. That includes business admin such as preparing invoices. GOV.UK explains this on its page about taking additional work on a Skilled Worker visa.
If a sponsored individual has set up or joined a company, ask them what their role involves and get advice before they do any work for it.
Dependants are different
A dependant partner can work for any employer and can be self-employed.
Government guidance: Immigration Rules Appendix Skilled Worker
