Smcp feature generation

Is there any way to generate the smcp feature automatically without using lowercase names for the small caps?

If I use then both c2sc and smcp are generated. If I use then only c2sc is generated. Why?

How should the smcp code look like?

sub a by;

That doesn’t look right to me.

Yes, of course. Looks perfectly right to me.